Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

MCU/MPU for Image sensor MIPI-CS2 Interface

$
0
0

Hello!

I am currently working on a project where an Image sensor is a requirement. Currently I am looking at OmniVision image sensors. All the image sensors offered by OmniVision offer a MIPI interface. I have explored the TI website for an MCU/MPU that can provide a MIPI interface and in fact TI has a lot of options. I am not looking to do any image processing on the processor but rather on a high end remote system. 

What I am looking for is an MCU/MPU that can provide the minimal functionality with the required drivers to receive the image from the OmniVision sensor in a form that can be transmitted to the remote device for processing. Can I please get some help on this. 

Best Regards,

Mehul


WEBENCH® Tools: RF_RangeEstimator

$
0
0

Tool/software: WEBENCH® Design Tools

Dear Support Team,

I am facing a few problems with the excel RF_Range_Estimator tool. Following Problems I would appreciate you would help me with:

- Plot Step: Is there any reason why it´s changing each time I choose No or with Antenna Diversity? What Connection does it have with the rest of the calculations in the calc Sheet?

- Direct Wave & Reflected Wave: In the PDF Document swra479a on the page 21, there are all Formulas, or let me say almost all, where you choose an "unknown" distance for me... Could u please explain that?

- Total Energy Friis: What difference does this value have in comparison with the Vertical/Horizontal? In my calculations, the last both mentioned will vary if the polarization is horizontal or vertical. Friis Formula is basically the same, because it considers the Reflected Energy depending on the polarization. My question is: what is the difference?

Thank You in Advance,

Wishing you a nice weekend

Elena 

DS280DF810: Profile for SigCon software

$
0
0

Part Number: DS280DF810

Hi TI Team:

I use TI DS280DF810ABVT. Can you provide the profile file corresponding to SigCon software for this chip?

A file template like the one shown below:

BR

Rain

CC1260: is a DC path to Vdd required on Tx output pins ?

$
0
0

Part Number: CC1260

Hello,

most TI Sub-1GHz transceivers require a DC path to Vdd on Tx output to power the PA.

I am currently working with a CC1260 that features a differential Tx output. On this particular transceiver, there is no mention whatsoever about a required DC path to Vdd on Tx output pins and there is no indication about how the Tx output is powered.

Could someone confirm that the CC1260 does NOT require a DC path to Vdd on Tx output pins ? For my understanting, is the Tx output powered through the AVDD_RF2 pin (I cannot find any other TI Sub-1GHz transceiver featuring this additional VDD_RF pin) ?

Thanks

Arnaud

general doubt

$
0
0

Why we are always consider noise voltage at non-inverting Terminal of opamp,What about  inverting Terminal?????.

CC1101: Preamble vs. Wireless MBus EN13757

$
0
0

Part Number: CC1101

Team, 

It looks like the preamble of CC1101 isn't conform with the EN13757 standard. On CC1101 you can only use 0xAA as preamble. This would mean 0xAAAAAAAA543D  has to be used. But the standard requires 0x55555555543D.

What should be used to workaround this issue?

Thanks,
  Robert

LMG1210: Minimum output frequency : can we have a dc outpout level ( duty cycle 100%)

$
0
0

Part Number: LMG1210

We want used this part with  a push-pull feet stage  to do a digital output from 5 to 30 volts,


So the input PWM will be  from DC to 50Mhz.

In other word can we have a duty cycle output from 0% to 100% high or low

the charge pump is able to provide a constant VGS voltage to kept the high side feet ON for ever..

Marc

MSP432P401R: Connecting to Jlink fails with ***** Error: InitTarget(): PCode returned . Is the JTAG locked?

$
0
0

Part Number: MSP432P401R

My Jlink connection was working no problem before

I deleted flash memory from CCS, and now, my Jlink is returning this error

By reading around, I found out that this error is returned when device is blocked, and it can be irrecoverable

Did I accidentally block the JTAG when deleting the flash memory? What actions can I take now to troubleshoot this?

Thank you


LM341: Datasheet details

$
0
0

Part Number: LM341

Hello team,

one of my customers just noticed an issue with the Datasheet of the LM341. Namely the datasheet of LM341/LM78M05-XX describes 3 terminal device with two different/contrary configuration.

Below is the image from the datasheet: “SNVS090F –MAY 2004–REVISED DECEMBER 2016”

Please revise the datasheet as necessary or write me the difference in their packaging.

Thanks in advance.

Best regards,

Adrian

UCC28063A: UCC28063A question about interleaving operation,master and slave were not 180 ° shifted waveforms.

$
0
0

Part Number: UCC28063A

Dear support member,

My customer created board using UCC28063A.

When we confirmed the interleaving operation,Master and slave were not 180 ° shifted waveforms.

The waveform was out of the interleave operation as shown below.

(Question)

Q1.What can be considered?

Q2.What is the cause?


Best regard.
Bob Lee.

Compiler/IWR1642BOOST: Where can I start learning to code MSS and DSS files of the project for IWR1642BOOST?

$
0
0

Part Number: IWR1642BOOST

Tool/software: TI C/C++ Compiler

Hi guys,

I am starting to build a project with IWR1642BOOST so I want to understand the codes for MSS and DSS completely. I wonder if you guys have any reference websites or such that explain clearly what each function does and how the structure of the code should be, how the files interact with each other as well.

Thank you for your help!

CCS/TMS320C6746: TMS320C6746

$
0
0

Part Number: TMS320C6746

Tool/software: Code Composer Studio

Hi,

Can we store far global and statics variables in SDRAM.

SN74HC245: Back Powering Input

$
0
0

Part Number: SN74HC245

Customer has SN74HC245 with an input being driven when the board is unpowered.

Just wanted to confirm my recommendations to the customer and get your inputs:

Basically your back powering the board via the input.  That’s a common issue.
https://e2e.ti.com/blogs_/b/analogwire/archive/2014/01/17/back-powering-why-are-the-lights-on-when-the-power-is-off

The SN74HC245 absolute maximum input clamp current is 20 mA, that’s what I’d be concerned with.  TI offers logic devices with Ioff protection such as SN74LVC245A for this type of application.  Otherwise you could insert a current limiting resistor between the devices.

Let me know if you concur.

Regards,
Mark

 

CC1352R: What are the valid ApiMac status inside a pollCnfCb?

$
0
0

Part Number: CC1352R

Hi. I'm using a CC1352 with SDK version 3.10.01.11 and running a modified version of the sensor example project with a coprocessor. My setup uses a non beacon mode network and the sensor sends polling requests with a time interval of 1000 ms to the coprocessor. Inside the function pollCnfCb, the example code checks for the status ApiMac_status_noDataApiMac_status_success and ApiMac_status_noAck. During some tests, I could verify the following:

  • If the coprocessor has data to send to the sensor, the status in pollCnfCb is ApiMac_status_success. That's ok.
  • If the coprocessor does not have data to send to the sensor, the status in pollCnfCb is ApiMac_status_noData, which is also ok.
  • If the coprocessor is turned off, the status in pollCnfCb is ApiMac_status_noData. That's a problem.

I believe the status of a polling request sent to a coprocessor when the coprocessor is turned off should be a ApiMac_status_noAck. If it is not, how can a sensor perceives that it has disconnected from its coordinator? The same status is being reported for two unrelated situations: when the coprocessor doesn't have any data to send to the sensor and also when there isn't any coprocessor running. Also, what is the situation in which the status inside a pollCnfCb would be ApiMac_status_noAck? It seems now that the polling requests are not being acknowledged for some reason.


TMS570LS3137-EP: Detailed documentation for Processor Modes / Operating Modes

$
0
0

Part Number: TMS570LS3137-EP

Hi there,

This is a traceability request relating to a TMS570LS3137-EP with ARM R4F core.

Having failed to find references myself (I've searched many documents for hours now), can anybody please help source two pieces of information from a relevant (TMS/R4F) & official documentation source (TI or ARM)?

  1. the processor / operating mode following reset - from a HALCoGen project there's a code comment "after reset the CPU is in Supervisor mode".
  2. the "CPS" instruction and values - from unofficial documentation and HALCoGen 16=User, 17=FIQ, 18=IRQ, 19=Supervisor, 23=Abort, 27=Undefined, 31=System.

Thank you very much!


BQ25883: /BQ25882 How to read ADC values

$
0
0

Part Number: BQ25883

Hi,

I'm using the bq2588x linux driver, but I'm havin difficulties understanding the ADC voltage and current readings coming out of the bq2588x_update_status function. If I understand correctly, these functions should report in mV and mA quantities, but I'm getting values in the KV and KA range that do not match at all with the testing conditions. I have already spotted a programming mistake where all values coming out of the chip are multiplied by 256 because the LSB multiplication factor should be 1, not 256 as defined in the header. LSB of the low byte of an ADc register is always is 1mV or 1mA, not 256mV/mA as defined in datasheet. But then still I'm getting values I cannot match with what I'm seeing on the bench. The datasheet mentions I can set the precision of the ADC between 12 and 15 bits. Does that mean the mV/mA of the LSB changes accordingly? i.e with 15 bits precision LSB is 1/8mV while with 12 bits precision LSB is 1mV? This is not mentioned in the ADC register descriptions.

Datasheet does also mention that ADC values are in signed 2-s complement words, while the driver all converts them to u16. Could that also be causing wrong readings?

 

CCS/LAUNCHXL2-570LC43: 296-42582-ND

$
0
0

Part Number: LAUNCHXL2-570LC43

Tool/software: Code Composer Studio

Hello Everyone,

I have purchased Hercules TM570LC4357 LaunchPad board to explore and learn FOC control of motor.

working on LAUNCHXL2-570LC43 only without driver board for motor(DRV8301).  The TI provided FOC Example of RM48 series changed to TMS570 Series.

able to load code to Launchpad and debug. Now want to try GUI composer and injecting (or) check the data.

The GUI composer example DRV8301_RM48_FOC_SMO_wEncoder is imported to project but it is not connecting to board.

Steps did to open GUI composer:

1. View Gui Composer -> Import project

2. provided the path of c:\ti\guicomposer\webapps\DRV8301_RM48_FOC_SMO_wEncoder.zip

3. Load the code using CCS(flashed the code)

4. open GUI composer view and Click on preview provided in GUI composer

5. then no response from GUI, where as code is running properly on target board

sure CCS and Launchpad are connected and working fine, if i want to provide inputs from GUI composer, how can i do that?

I would like to use this tool for debugging my project. 

Tool set information:

CCS Version :6.2.0,

GUI Composer: v2 engine,standalone CCS.

Controller: TMS570LC4357

Debugger: XDS110 USB Debug

Could you please guide me, how can i use this tool to connect to launchpad hardware?

do I need to update javascript file connection service?

"var session = debugServer.openSession("*", "*" /* TODO: */);"

thanks you very much in advance.

Regards,

Rajesh.

AM5708: PRU1-UART0 Firmware

$
0
0

Part Number: AM5708

Hi,

We have AM5708 custom board and  need to use  PRU1 - UART0  for debugging and we ported the  firmware with reference to the project pru-software-support-package/examples/PRU_Hardware_UART/,

and we are receiving junk in teraterm 

we are trying to send following line via Tx  "PrintMessageOut("Hello you are in the PRU UART demo test please enter 5 characters\r\n"); "  and received the Junk and Rx also getting Junk . can you Confirm the below DLL config is correct for AM5708 

CT_UART.DLL = 104;
CT_UART.DLH = 0;
CT_UART.MDR_bit.OSM_SEL = 0x0;

Attached our source file also ,

(Please visit the site to view this file)

Don't know what went wrong.

What should I do now? 

MSP432P401R: eeprom issue while reading data

$
0
0

Part Number: MSP432P401R

Hi,

This is my first project on MSP432 . I have eeprom(24AA128) and temperature sensor connected to master MSP432 via I2C. I could write data to eeprom at any locations but I am facing data repetition while reading from the same location. Please see the read and write portion of the code below.

void eeprom_write() {
/* Select Port 1 for I2C - Set Pin 6, 7 to input Primary Module Function
*/

char eeprom_data[10] = "ABCD_EFGH";
MAP_GPIO_setAsPeripheralModuleFunctionInputPin(
GPIO_PORT_P1,
GPIO_PIN6 + GPIO_PIN7,
GPIO_PRIMARY_MODULE_FUNCTION);
/* Initializing I2C Master to SMCLK at 100khz with no autostop */
MAP_I2C_initMaster(EUSCI_B0, &i2cConfig);
/* Specify slave address */
MAP_I2C_setSlaveAddress(EUSCI_B0, 0x51);
/* Enable I2C Module to start operations */
MAP_I2C_enableModule(EUSCI_B0);
/* Making sure the last transaction has been completely sent out */
while (MAP_I2C_masterIsStopSent(EUSCI_B0));
MAP_I2C_masterSendMultiByteStart(EUSCI_B0, 0x00); // Start + 1Byte Reg Address High

MAP_I2C_masterSendMultiByteNext(EUSCI_B0, 0x00); // Start + 1Byte Reg Address Low
for (j = 0; j <= 32; j++)
{
sprintf(str, "0x%02x",eeprom_data[j] );
data = (int) strtol(str, NULL, 0);
if (j == 32)
MAP_I2C_masterSendMultiByteFinish(EUSCI_B0, data);
else
MAP_I2C_masterSendMultiByteNext(EUSCI_B0, data);
}
}

void eeprom_read()  {
/* Select Port 1 for I2C - Set Pin 6, 7 to input Primary Module
* Function,(UCB0SIMO/UCB0SDA, UCB0SOMI/UCB0SCL).
*/
MAP_GPIO_setAsPeripheralModuleFunctionInputPin(
GPIO_PORT_P1,
GPIO_PIN6 + GPIO_PIN7,
GPIO_PRIMARY_MODULE_FUNCTION);
/* Initializing I2C Master to SMCLK at 100khz with no autostop*/
MAP_I2C_initMaster(EUSCI_B0, &i2cConfig);
/* Specify EEPROM address */
MAP_I2C_setSlaveAddress(EUSCI_B0, 0x51);
/* Enable I2C Module to start operations */
MAP_I2C_enableModule(EUSCI_B0);
rx_data = 0;
for(j = 0; j < length; j++) {
/* Making sure the last transaction has been completely sent out */
while (MAP_I2C_masterIsStopSent(EUSCI_B0));
/* Send out EEPROM word address (2 databytes) */
MAP_I2C_masterSendMultiByteStart(EUSCI_B0, 0x00);
MAP_I2C_masterSendMultiByteNext(EUSCI_B0, tx_data[j]);
/*---------------------------------------------*/
/* Now we need to initiate the read*/
/* Wait until Byte has been output to shift register*/
while (!(EUSCI_B0->IFG & EUSCI_B_IFG_TXIFG0));
/*Send the restart condition,read one byte,send the stop condition right away*/
EUSCI_B0->CTLW0 &= ~(EUSCI_B_CTLW0_TR);
EUSCI_B0->CTLW0 |= EUSCI_B_CTLW0_TXSTT;
while (MAP_I2C_masterIsStartSent(EUSCI_B0));
EUSCI_B0->CTLW0 |= EUSCI_B_CTLW0_TXSTP;
while (!(EUSCI_B0->IFG & EUSCI_B_IFG_RXIFG0));
rx_data = EUSCI_B0->RXBUF;
while (!(UCA0IFG & UCTXIFG));
UCA0TXBUF = rx_data;
}
}

Please find the Output that I got on my UART terminal with register on first and its data on second,

0x00 A 0x01 B 0x02 B 0x03 C 0x04 D 0x05 _ 0x06 E 0x07 F 0x08

0x00, 0x01... are the registers I used to write the data. You could see a repetition of the actual data on register 0x01 and 0x02. 

when I provided with, eeprom_data1[] = "ABCD_EFGH" and eeprom_data2[] = "IJKL_MNOP", I could find the same repetition of data in registers 2 and 3.

 

MSP432E401Y: JSON parsing issue in corner case.

$
0
0

Part Number: MSP432E401Y

Hello,

We are using the JSON lib included in the SDK and we see a property parsing issue.

It was possible to reproduce it on the EVM board reworking the example included in the MSP432E401Y SDK as well.

Basically, we have: 

1- a template

2- a working piece of JSON that is parsed correctly by the library

3- a non working piece of the JSON with the same semantics, but with a property just moved 2 lines down at the same tree level.

When we use 3 instead of 2 the same property reads as random value rather than the expected one.

The other values seem to read as expected instead.

Here below the template, the working JSON, the same non working JSON, and the output on the UART.

--> the property that holds the random value in 3  but not in 2 is "\"wifi\".\"WiFiOn\"".

We can provide the full .c rewoked example if needed.

Any suggestion? Could this be a corner case bug in the library?

Thanks,

Giuseppe

------------------------------------------------------------------------------------------------------------------------

#define EXAMPLE_TEMPLATE                                          \
"{                                                          "\
"   \"ethIPv4Conf\": {                                      "\
"                       \"ipv4Addr\"        : string,       "\
"                       \"ipv4Netmask\"         : string,   "\
"                       \"ipv4Gateway\"     : string,       "\
"                       \"ipv4socketTimeout\"   : uint32,    "\
"                       \"DHCPenable\"      : boolean      "\
"                   },                                      "\
"                                                            "\
"  \"wifi\" : {                                              "\
"       \"SSID\" : string,                                  "\
"       \"passwd\" : string,                                "\
"       \"WiFiOn\" : boolean                               "\
"   }                                                      "\
"}"

---------------------------------------------------------------------

#define EXAMPLE_JSONBUF_WORKING                                                 \
"{                                                                              "\
"   \"ethIPv4Conf\": {                                                          "\
"                       \"ipv4Addr\"        : \"192.168.1.100\",                "\
"                       \"ipv4Netmask\"         : \"255.255.255.0\",            "\
"                       \"ipv4Gateway\"     : \"192.168.1.1\",                  "\
"                       \"ipv4socketTimeout\"   : 10,                           "\
"                       \"DHCPenable\"      : false                             "\
"                   },                                                          "\
"                                                                               "\
"   \"wifi\" : {                                                                "\
"                       \"WiFiOn\" : false,                                     "\
"                       \"SSID\" : \"mynetwork\",                               "\
"                       \"passwd\" : \"abcdefghil\"                             "\
"                   }                                                           "\
"}"

-------------------------------------------------------------------------------------------------

#define EXAMPLE_JSONBUF_NON_WORKING                                                 \
"{                                                                              "\
"   \"ethIPv4Conf\": {                                                          "\
"                       \"ipv4Addr\"        : \"192.168.1.100\",                "\
"                       \"ipv4Netmask\"         : \"255.255.255.0\",            "\
"                       \"ipv4Gateway\"     : \"192.168.1.1\",                  "\
"                       \"ipv4socketTimeout\"   : 10,                           "\
"                       \"DHCPenable\"      : false                             "\
"                   },                                                          "\
"                                                                               "\
"   \"wifi\" : {                                                                "\
"                       \"SSID\" : \"mynetwork\",                               "\
"                       \"passwd\" : \"abcdefghil\",                            "\
"                       \"WiFiOn\" : false                                     "\
"                   }                                                           "\
"}"

********************* OUTPUT ********************************

USING(2)


JSON object created from template
JSON buffer parsed
DHCPenable  value: 0
SSID  value: mynetwork
passwd  value: abcdefghil
WiFiOn  value: 0
Finished JSON example

****************************************************************

USING   (3)

JSON object created from template
JSON buffer parsed
DHCPenable  value: 0
SSID  value: mynetwork
passwd  value: abcdefghil
WiFiOn  value: 768
Finished JSON example

Viewing all 262198 articles
Browse latest View live
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>