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

TPS659039-Q1: TPS659039-Q1 Application Problem

$
0
0

Part Number:TPS659039-Q1

Hi team,

Customer is using TPS659039-Q1 to powering TDA2SG, with OTP version of 0X87, and they got below problem, please help on it.

1. the power on and power off sequence/requirement of RPWRON/ PWRON/ PWRDOWN/ RESETIN/ RESET_OUT signal? And do we have materials to introduce these signal?

2. Is LONG_PRESS_KEY.LPK_TIME bits setting by below LONG_PRESS_KEY bit? 

Thanks.


BQ34Z100-G1: bqTester source code

Compiler/TMS320F28069: C++ 11 support

$
0
0

Part Number:TMS320F28069

Tool/software: TI C/C++ Compiler

Is there any update on c2000 c++11 support?

CC2541: UART Hardware Flow Control High for 1-3µs every time HalUARTPoll() is called

$
0
0

Part Number:CC2541

Hello to everyone,

while developing with the CC2541 I stumbled across a weird behaviour I couldn't explain and therefore couldn't prevent. It feels like I'm missing something here:
Setup:

The CC2541 is connected to a Host via UART with activated HW flow control. BLE is running all the time and advertises, connects, etc.

The connected Host has an UART RX Buffer size of one byte. So after every transmitted byte by the CC2541 the host pulls its flow control line high, gets the byte out of the RX buffer, echos the byte to the CC2541 and clears the flow control line and is ready to receive another byte. As long as the Host pulls it flow control line high, the CC2541 waits before sending the next byte This works fine as expected. You see it in the attached logic analyzer screenshots.

The weird behaviour happens on the Flow Control Line controlled by the CC2541: This line gets repeatedly pulled high for a few µs. I found out, that this happens all the time when the function HalUARTPoll() is called. By including a hard coded delay in the UART Callback function which is called by the poll function (normally used to press the different HAL UART events) I see that the duration of the high state in the flow control is respectively longer. 

You can see screenshot of this behaviour. On a larger time scale one can see that every 30ms the polling is stopped due to a connected BLE state with a connection interval of 30ms (during BLE events the UART poll is not Calle by the OSAL).

The behaviour does not disturb the operation of the system as the peaks on the flow control are too short to cause problems. Nevertheless this behaviour looks messy to me and I doesn't look to me as intended. 

My Question: How can I prevent that the HW Flow Control line is pulled high during HalUARTPoll()

Thank you all for your help! :-)


Appendix:
Firmware based on simpleBLEPeripheral
Relevant Firmware Code:

Defined Preprocessor symbols:

INT_HEAP_LEN=3072
HALNODEBUG
OSAL_CBTIMER_NUM_TASKS=1
xPOWER_SAVING
HAL_AES_DMA=TRUE
HAL_DMA=TRUE
xPLUS_BROADCASTER
HAL_LCD=FALSE
HAL_LED=FALSE
HAL_KEY=FALSE
HAL_UART=TRUE
HAL_UART_DMA=2
HAL_UART_ISR=0
HAL_UART_DMA_IDLE=5
HAL_UART_DMA_HIGH=48
HAL_UART_DMA_TX_MAX=128
HAL_UART_DMA_RX_MAX=128

UART Init routine:

serialInterface_uartConfig.configured = TRUE;
serialInterface_uartConfig.baudRate = HAL_UART_BR_115200;
serialInterface_uartConfig.flowControl = TRUE;
serialInterface_uartConfig.flowControlThreshold = 48;
serialInterface_uartConfig.rx.maxBufSize = 128;
serialInterface_uartConfig.tx.maxBufSize = 128;
serialInterface_uartConfig.idleTimeout = 5;
serialInterface_uartConfig.intEnable = FALSE;
serialInterface_uartConfig.callBackFunc = (halUARTCBack_t)serialInterface_uartCallback;
(void)HalUARTOpen(HAL_UART_PORT_1, &serialInterface_uartConfig);



UART Callback Routine

void serialInterface_uartCallback( uint8 port, uint8 events )
{
//unused input parameters, function does nothing at the moment
(void)port;
(void) events;

return;
}


UART Write (in Main Task, called periodically, every 1000ms):

HalUARTWrite(HAL_UART_PORT_1, "Test", 4);

UART Read (in Main Task, called periodically (every 500ms)):

len = Hal_UART_RxBufLen(HAL_UART_PORT_1);
HalUARTRead(HAL_UART_PORT_1, &buf, len);

BQ25713: deglitch time question

$
0
0

Part Number:BQ25713

Hello

          REG0x32[2] is set ACOC value that is 1.33 or 2 times to ILIM2. For BQ25713 datasheet, Deglitch time to trigger is 250ms. But on description is 100uS as below. BQ25700 is 250us. Which deglitch time to trigger ACOC is correct?  

       Another question, while set REG0x01[2]=1. what is efficiency?

BR

Patrick

CC3100: Hanging after Init

$
0
0

Part Number:CC3100

Hello,

i ported the Library to a STM32F4 with free RTOS. Everything is doing fine, going through the init like in:

http://processors.wiki.ti.com/index.php/CC3100_SPI_Host_Interface

 at sl_DevGet the commands get sent, but later at

  RetVal = _SlDrvMsgReadCmdCtx(pCmdCtrl->Opcode); /* will free global lock */

it waits for a message, but doesnt call  my "SPI_read" so it returns a -100 after it is timed out.

Here a picture of my scope:

with

d0 dout

d1 din

d2 clk

d3 cs

d4 irq

Bitrate is about 150 khz

until that point everything is good. Anyone got a solution to this?

TPS543B20: adjust output voltage with current DAC injects on FB pin(RSP pin)

$
0
0

Part Number:TPS543B20

Hello expert,

Customer wants to use TPS543B20 to achieve adjustable Vout application. They want to know if they can use current DAC to inject current on FB pin and they want to confirm if this way is workable. And also they would like to know how to adjust voltage from 0.6V to over 1.1V since voltage over 1.1V need to use resistor and under 1.1V need to use VSEL. Thanks a lot!

Best regards,

Ann Lien

NiMh charger

$
0
0

I would like to know which are the ICs from the family BQ24 that I can use to charge a 2-cell NiMh Battery from 5V USB Bus.

All the BQ24 chargers are for Li-Ion or LiPo Batteries, can I use them also for NiMh / NiCd batteries?


BQ25890: Recommendations for Converting from USB 2.0 to USB-C

$
0
0

Part Number:BQ25890

Our existing solution for charging a device via USB 2.0 is a combination of the following:

  • BQ25890 and
  • TS3USB221 for switching the data to the Micro-controller for communication.

(This setup is as described in the BQ25890 EVM schematics)

However we would like to change the port to USB-C, for reversibility and to take advantage of higher current allowed on this port.

What is the easiest way to convert this design to USB-C?

Is it simply a matter of replacing the TS3USB221?

Best regards, R

CCS/AM5728: Gel file for DDR3 configuration

$
0
0

Part Number:AM5728

Tool/software: Code Composer Studio

Hello,

I completed the EMIF tools spreedsheet with data corresponding to my custom board and it generate a gel function after saving the user config.

it notify that we can copy paste the text into the Gel source file. I'm not really sure the gel file it ask for. The only gel lfile that make sense to modify is "AM572x_ddr_config.gel"

I added the function and I modify the location where the original function was called in order to call the new function instead.

When I launch the script "AM572x_DDR3_532MHz_Config" I don't see any change.. (normal is just registers update) but at the and of the script, the printf write (2GB total)"

Actually, my board has a total of 4GBytes DDR3 (2x 512Mx16 on EMIF1 and 2x 512Mx16 on EMIF2).

I dont know how/where to specify this change into the gel file (I guess that it's not just a printf to modify :) )

Any help would be great.

Regard,

Sylvain.

TDC7200: INTB signal doesn't go down

$
0
0

Part Number:TDC7200

Dear TI Experts

 I am using  TDC1000 connected to the TDC7200, and it works well.

About TDC7200, Their is normal stop signal but sometimes the INTB signal doesn't go down

Can you give me any suggestions about it??Thank you~

CCS/LAUNCHXL-F280049C: Why do F280049C examples use the F280049M targetConfig

$
0
0

Part Number:LAUNCHXL-F280049C

Tool/software: Code Composer Studio

Path to F28004C examples:

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

Remaining path to targetConfig:

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

This is an example for the F280049C so why does it contain a targetConfig for the F280049M and will the example work with the F280049C?

Thanks

Steve

Linux/LAUNCHXL-CC26X2R1: Zigbee 3 0 Linux Gateway 1 0 1 - prebuild source ZLSZNP_arm issue on RPI3B+ with stretch OS - is possible to hve a rebuild release for newer libprotobuf-c version 1 instead 0?

$
0
0

Part Number:LAUNCHXL-CC26X2R1

Tool/software: Linux

Dear all,

I'm experiencing an issue, I think, with this prebuilded arm file because it try to load the libprotobuf-c.so.0 library, but actually seems that the only available installation for stretch obtain instead the libprotobuf-c.so.1 version that seems not be compatible (also searching for the 0.x.x package inside the repo give me no results).

The full installation process is reported in a my previous post:

e2e.ti.com/.../3024643

The error when I try to start the server by means of sudo ./start_local.sh is this one:


./ZLSZNP_arm: error while loading shared libraries: libprotobuf-c.so.0: cannot open shared object file: No such file or directory
Startup phase 2 failed

because effectively there is the lib file inside the /usr/lib folder but with a newer release that seems incompatible, I've also did a try to put a simlik to the new library but this give me an error on arm compatibility, following the release convention 1.0.0 should be a major release that is incompatible with the old ones 0.x.x, so if this is correct how is possible to solve and get all properly running?

Someone have a solution for this?

Thank for your time!

Best regards.

Audio amplifier with Line out usign DAC + D Class amp

$
0
0

Part Number:PCM5121, TPA3138D2

Dear team,

I am working on the design that should include an audio interface with the following requirements:

  • It should receive digital audio data from the MCU
  • It should have Line out
  • It should be able to drive four 1W/8Ohms speakers (every two speakers are connected in parallel per amplifier channel)

I have designed the schematic diagram using mentioned ICs from TI and will appreciate if you can review the connection between PCM5121 and TPA3138D2 as well as the Lineout circuit. The power amplifier will be powered with the fixed 5V, so at the 4Ohms load (two 8Ohms speakers connected in parallel), there shouldn't be more than ~2.5W which is suitable for the used speakers. I will limit volume in order to limit the output power in the firmware.

Please find attached schematic.

Thanks in advance.

AFE0064: What is the input voltage of AFE0064DF_SM?

$
0
0

Part Number:AFE0064

Dear Ti,

     1:What is the input voltage of AFE0064DF_SM?

     2:ENTRI (foot 92) ready to hang?

     3:P-ref (50 feet) is connected to the negative electrode of detecting crystal. Do they need to add resistance between them?What should the resistance be?Thank you very much!          


CC2640R2F-Q1: CC2640R2FTWRGZRQ1

$
0
0

Part Number:CC2640R2F-Q1

Hi,

What is the maximum junction temperature do you specified ? Thank you

CC2652R: What is the maximum quanty of endpoints connected directly to the coordinator

$
0
0

Part Number:CC2652R

Hi, I have an application that requires 100 endpoints (battery feeded) connected directly to the coordinator (star configuration).  The coordinator can support such quantity of endpoints?  Is it necessary to change any parameter in order to support it?

Thanks

Linux: Error installing TINspireCXTeacherSoftware-4.5.0.1180.exe

$
0
0

Tool/software: Linux

Installing TINspireCXTeacherSoftware-4.5.0.1180.exe I get the following error:

0048:err:mscoree:LoadLibraryShim error reading registry key for installroot

I use lxde on lubuntu and install using wine.

Does the "MAC" Version work?

By the way: Why are there two versions (why this effort to programm two versions), when it is possible to develop only once (eg. java)?

φ

DRV201: Need help in finding appropriate voice coil actuator driver

$
0
0

Part Number:DRV201

Hello all,

Please forgive me if I asked a similar question. I have searched up to my maximum patience but could not find out the appropriate driver for my voice coil actuator (linear actuator having a stroke length of 10mm).

I am having a voice coil actuator having an impedance of 8 ohms and need a driver which should have a maximum current capacity of 2A and current should be controlled by one of the methods, either PWM or SPI/I2C. I am able to find some of the drivers on TI website but their current capacity is either limited to 100mA or those are for voice coil inside the camera. 

Please help me as it's been around a month working on the same problem of controlling the position with the help of voice coil actuator.

TINA/Spice/TVS3301: PSPICE model not encrypted for TVS3301

$
0
0

Part Number:TVS3301

Tool/software:TINA-TI or Spice Models

Hi all, the .lib file is encrypted. I want to use it with Pspice. How to decrypt or get an not encrypted version ?

Thanks in advance

Gerd

Viewing all 262198 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>