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

TL499A: Need to transform 3.7 V to 20V and data sheet is either not helpful or too complicated.

$
0
0

Part Number:TL499A

So I have the TL 499A and I want to take a samsung limo battery, then use it to create 20V. I tried to follow the guide lines in the data sheet but it basically just says, "connect the circuit shown in figure one, unless specified in the tables shown, and choose a value for Re1. I don't know what I'm doing wrong but I do know what I'm doing so I'm going to list that. 

1) Connected a LiPo battery with a 3.8V rating and 4V measured to the Series 2 input of the TL499A dip. 

2) Connect the exact same circuit as shown in the diagram, except re1 was a 22k resistor, not a potentiometer. 

3) try a bacagillion different combinations to see if I got different results... I didn't really. 

Any help would be appreciated. I didn't see an equaition for Vout using the step up configuration so if you have one that would be wonderful as well. 


CC1201: Chip lock up eWoR/Transmit

$
0
0

Part Number:CC1201

Hello, 

I am facing a chip lockup scenario when transmitting with Wake on Receive on CC1201.

The test scenario is this - 

Radio is in WoR receive mode, a fixed length packet is transmitted every 1 second, after transmit chip is strobed back to WoR using SWOR. 

At some random time, the controller receives no interrupt (IOCFG = 0x06, triggered on falling edge) - MARC State is in transmit and status is TX finished successfully. All subsequent transmits fail. Only to exit this is to reset the chip. The same test works fine i.e no lockup if i place the chip in RX (strobe SRX) rather than WoR. 

Would appreciate any pointers - 

Thanks

Linux/TUSB3410: Compilation error in Linux burning tool

$
0
0

Part Number:TUSB3410

Tool/software: Linux

I'm having an error compiling "libhid" library.  

Well actually it is a warning but all warnings are treated as errors.  Any advise?

 

I am on Ubuntu 14.04 kernel 4.4.0-92-generic.

 

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

make
make  all-recursive
make[1]: Entering directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16'
Making all in hidparser
make[2]: Entering directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/hidparser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/hidparser'
Making all in src
make[2]: Entering directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/src'
make[2]: Leaving directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/src'
Making all in test
make[2]: Entering directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/test'
make[3]: Entering directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/src'
make[3]: Leaving directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include -I../hidparser -O0 -g -Wall -W -Werror -MT lshid.o -MD -MP -MF ".deps/lshid.Tpo" -c -o lshid.o lshid.c; \
    then mv -f ".deps/lshid.Tpo" ".deps/lshid.Po"; else rm -f ".deps/lshid.Tpo"; exit 1; fi
lshid.c: In function ‘device_iterator’:
lshid.c:32:87: error: parameter ‘len’ set but not used [-Werror=unused-but-set-parameter]
 bool device_iterator (struct usb_dev_handle const* usbdev, void* custom, unsigned int len)
                                                                                       ^
cc1: all warnings being treated as errors
make[2]: *** [lshid.o] Error 1
make[2]: Leaving directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/janetestabridis/TIUSB9261/tusb926x-flashburner-0.1.12.1386/libhid-0.2.16'
make: *** [all] Error 2
***********************************

Also I the manual Section 4  Installing the TUSB926x Linux EEPROM Burner - but I don't see that  .rpm in the .zip file you sent.  We'd like to try that out too.

 

Thanks,

CC2540DK: Read Function doesn't allow for Indication

$
0
0

Part Number:CC2540DK

I am developing a new system with a BTLE module that Automatically responds after writting a command to it. I am attempting to get the CC2540 to automatically retrieve the data but BTool (Bluetooth Low Energy PC Application V1.40.15) is not allowing me to set up a Indication retrieval mode. I just need set up sequence to get the Device to automatically dump the data set by the device into a text file. I am using Labview to develope this test.

AWR1642: question about image creator

$
0
0

Part Number:AWR1642

hi

i had debugged my program in ccs , and every function running in normal.after that i creator the image file to download into the board, but 

the program cannot running.and the jtag cannot connected the borad after i download the iamge?

whether or not had some error when i create my image file. the auto create image .bat file as below:

please help me check why it not wrok ? or some others problem?

@echo off
REM -----------------------------------------------

del J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\*.*


xcopy J:\77G\CodeHead\mss_test\Debug\mss_test.out J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile

xcopy J:\77G\CodeHead\dss_mmv\Debug\dss_mmv.out J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile

pause

REM -----------------------------------------------
@echo off
:: generateBin.bat <*.out> <*.bin> <Offset> 

set MMWAVE_SDK_DEVICE=xwr16xx
set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_sdk_01_01_00_02/packages

REM ================================================
REM tools required
SET OUT2RPRC_EXE=%MMWAVE_SDK_INSTALL_PATH%\scripts\ImageCreator\%MMWAVE_SDK_DEVICE%\out2rprc\out2rprc.exe
SET CRC_PERL=%MMWAVE_SDK_INSTALL_PATH%\scripts\ImageCreator\%MMWAVE_SDK_DEVICE%\append_bin_crc\gen_bincrc32.pl
REM ================================================

set out_dss=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\dss_mmv.out
set bin_dss=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\dss_mmv.bin
set out_mss=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\mss_test.out
set bin_mss=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\mss_test.bin


if "%MMWAVE_SDK_DEVICE%" == "ar14xx" (
    :: To convert .out to .bin file
    call %OUT2RPRC_EXE% %1 %2 %3
    :: To append CRC of image in the same bin output file
    perl %CRC_PERL% %2
) else (
    :: To convert .out to .bin file (without offset)
    call %OUT2RPRC_EXE% %out_dss% %bin_dss%
    call %OUT2RPRC_EXE% %out_mss% %bin_mss%
)




REM --------------------------------------------------
REM tools required
set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_sdk_01_01_00_02/packages
set MMWAVE_SDK_DEVICE=xwr16xx
SET MULTCOREGEN=%MMWAVE_SDK_INSTALL_PATH%\scripts\ImageCreator\%MMWAVE_SDK_DEVICE%\multicore_image_generator\MulticoreImageGen.exe
SET CRC_MULTI=%MMWAVE_SDK_INSTALL_PATH%\scripts\ImageCreator\%MMWAVE_SDK_DEVICE%\crc_multicore_image\crc_multicore_image.exe
SET CRC_PERL=%MMWAVE_SDK_INSTALL_PATH%\scripts\ImageCreator\%MMWAVE_SDK_DEVICE%\append_bin_crc\gen_bincrc32.pl
REM ================================================

REM REM Calculate the number of arguments
REM SET /A ARGS_COUNT=0
REM FOR %%A in (%*) DO SET /A ARGS_COUNT+=1
REM pause
REM if %ARGS_COUNT% lss 3 (
REM 	echo Error: Invalid Usage
REM 	echo        generateMetaImage.bat FLASHIMAGE SHMEM_ALLOC MSS_IMAGE_BIN BSS_IMAGE_BIN DSS_IMAGE_BIN
REM 	goto end
REM )

SET FLASHIMAGE=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\xwr16xx.bin
SET SHMEM_ALLOC=0x01010002
SET MSS_IMAGE_BIN=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\mss_test.bin
SET BSS_IMAGE_BIN=C:\ti\mmwave_sdk_01_01_00_02\firmware\radarss\xwr16xx_radarss_rprc.bin
SET DSS_IMAGE_BIN=J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\dss_mmv.bin

SET TEMP_FILE=%FLASHIMAGE%.tmp

IF EXIST %MSS_IMAGE_BIN% (SET "MSS_CORE=0x35510000 %MSS_IMAGE_BIN%") ELSE SET "MSS_CORE="
IF EXIST %BSS_IMAGE_BIN% (SET "BSS_CORE=0xb5510000 %BSS_IMAGE_BIN%") ELSE SET "BSS_CORE="
IF EXIST %DSS_IMAGE_BIN% (SET "DSS_CORE=0xd5510000 %DSS_IMAGE_BIN%") ELSE SET "DSS_CORE="

REM generate the multicore image
REM format:  MulticoreImageGen.exe <LE/BE> <DEV_ID> <SHMEM_ALLOC> <OUTPUT FILE> <COREID> <IMAGE1> <COREID> <IMAGE2> ..
echo %MULTCOREGEN% LE 37 %SHMEM_ALLOC% %FLASHIMAGE% %MSS_CORE% %BSS_CORE% %DSS_CORE%
call %MULTCOREGEN% LE 37 %SHMEM_ALLOC% %FLASHIMAGE% %MSS_CORE% %BSS_CORE% %DSS_CORE%

REM generate and fill in the CRC for the multicore images
echo call %CRC_MULTI% %FLASHIMAGE% %TEMP_FILE%
call %CRC_MULTI% %FLASHIMAGE% %TEMP_FILE%
call %CRC_MULTI% %FLASHIMAGE% 0

REM append crc to the flash image
echo perl %CRC_PERL% %FLASHIMAGE%
perl %CRC_PERL% %FLASHIMAGE%

:end


xcopy J:\77G\CodeHead\BinFilesdk_01_01_00_02\tempfile\xwr16xx.bin J:\77G\CodeHead\BinFilesdk_01_01_00_02


(Please visit the site to view this file)

ADS1262EVM-PDK: An error occured after connected to EVM

$
0
0

Part Number:ADS1262EVM-PDK

I have successfully installed ADCpro and USB driver as well.

But after that, an error occured as the pic shows, so I need your help!

AM3359: UART rx DMA level

$
0
0

Part Number:AM3359

I am using the DMA controller to transfer data from the UART rx buffer to RAM.  I have run into an issues with the rx threshold (or trigger level).  To be specific it does not seem to trigger a DMA request for the set level, even though the FIFO level has reached it. For instance, I know I will receive 18 bytes over the UART so I set the trigger level to 18 and I never get an event request. But if I reduce the threshold down to 15 then the request is raised. The issue come in that if I service the request after only 15 bytes are received I miss the last three bytes since the processor reads the data out faster then it is being sent of the UART channel.   

Any help regarding this issue would be greatly appreciated. Thank you

DS90UB925Q-Q1: Can DS90UB925Q match DS90UR906 ?

$
0
0

Part Number:DS90UB925Q-Q1

Dears

      There is a question about DS90UB925. The input signal is RGB888, Can I use UB925 to match the UR906 in the screen ?  if can, is there some special note ?

   BTW, if the Des UB948 is in the screen , can I use the UB925Q to match it ?  pls help to confirm ?


PROCESSOR-SDK-AMIC110: Bootable image

CCS/CCSTUDIO-C2000: Portable project: Linking main / auxiliary projects

$
0
0

Part Number:CCSTUDIO-C2000

Tool/software: Code Composer Studio

Hi All,

Using CCS 7.2:

I have a large build composed of a main project (producing an .out file) and multiple auxiliary projects (producing library files).  
The auxiliary projects are all dependencies of the main project.  
Each project (main and/or auxiliary) has several configurations (typically more than two, not limited to the usual Debug / Release scheme).  
What I am trying to achieve is to define in the main project some kind of variable (say DEP_LIB_PATH) that would contain something like:  
${PROJECT_ROOT)/libs/${ProjName}/${ConfigName}  
DEP_LIB_PATH would then be used in the auxiliary projects to figure out where to put the output of the archiver: The archiver output would be defined with something like  
${DEP_LIB_PATH}/${ProjName}.lib  
(note that the latter ${ProjName} is the library ProjName, not the main project ProjName, since it is used in the auxiliary project).  

I'm trying here to avoid hardcoding different DEP_LIB_PATH all over the place for each possible main project configuration, or even worse, for each main / auxiliary project configuration combination.

Now my problems are:  

  1. I have not been able so far to figure out the right combination of configuration gadgets (linked resource, path variable, build variable) to achieve this result.  
  2. It seems that nither ${ProjName} nor ${ConfigName} are not eligible to define a path variable in the Linked Resources of the main project.
  3. I'm not even sure how to define a variable *in the main project* that would be visible from the auxiliary (dependancy) projects anyway.  And a workspace definition does not cut here here.  



Bottom line is, I'm very confused.  :)  
Is what I'm trying to do possible at all?  
Could anyone of you All shed some light?  


Thanks in advance!    /Ph.

P.S.: 
I have read (not necessarily properly understood! :-) ) the following TI references:

Portable Projects:  
processors.wiki.ti.com/.../Portable_Projects

Project Macros:  
processors.wiki.ti.com/.../Project_Macros

Using CCS variables in source code:  
processors.wiki.ti.com/.../Using_CCS_Variables_in_source_code

Linking files (workspace vs project path variables)  
processors.wiki.ti.com/.../Portable_Projects

CC1310: CC1310 what happens MODULES_UNLOCKED this interrupt

$
0
0

Part Number:CC1310

Dear TI Engineers:

I found in debugging CC1310 wireless MODULES_UNLOCKED interrupt flag set, may I ask what situation this flag will be set?

Looking forward to your reply!

CC3220S-LAUNCHXL: RF layout

$
0
0

Part Number:CC3220S-LAUNCHXL

Hi,

It seems like the RF portion in the "Hardware Design Files" (http://www.ti.com/lit/zip/SPRCAG0) is laid out differently than on the Launchpad. 

Launchpad:

Gerbers from design files:

Could you explain why there is a mismatch and which style is better?

Thanks,

David

AWR1642BOOST: mmwave Demo Visualizer: CPU load

$
0
0

Part Number:AWR1642BOOST

HI,

In the mmwave demo visualizer, there is a plot for CPU load. I have two questions regarding it.

1. What is the CPU load on R4?? Will it be in similar terms? This is required for me, as we are planning to include other stages of the algorithm after the usual FFT processing.

2. I can see that only 20% of the CPU load is being used during interframe. I assume that I have the remaining bandwidth for me to use and I suppose I can fill up till 80%say. Is there any problem with my assumption??

Thanks in advance,

Santhana Raj

TUSB1211: PSW control

$
0
0

Part Number:TUSB1211

Hello

On the datasheet I couldn't find details on how to control the PSW terminal. Can you please explain?

Thanks

BQ24392: CHG_DET output is high even if DPDM are open and vbus is >3.5V

$
0
0

Part Number:BQ24392

Hello,

I am using BQ24392RSER for the charger detection application. This IC is working fine except for following scenario,

VBUS is 5V,

DP and DM (pin #7 and 8) are open.

Pin 2 and 3 are connected with the MCU DP and DM.

I have used boost circuit which is generating 5V output and connected with VBUS of this IC. Now problem is that, when Boost circuit is ON, then this IC is giving indication of charger insertion. Hover there is nothing at input, i.e at pin #7 and #8.

So I am not getting condition where VBUS>3.5V, DP-DM are Open and CHG_DET output = low as mentioned in detection table-1.

Can anyone please help me on this. Please find attached image for circuit and table.


TUSB1211: Register Map

$
0
0

Part Number:TUSB1211

Hello,

Can you please provide a register map of the device?

I am specifically looking for PSW_OSOD, which seems to be specific to this device, however there are no details on the datasheet.

Thank you.

AM3358: Boot from MMC0

$
0
0

Part Number:AM3358

On BeagleBone Black, is MMC0_CD (pad C15) required for MMC0 boot?  If not, can MMC0_CD be moved to any available GPIO, or does it have to be A13 or M17 (p. 69 on SPRS717J)?

CC1310: cc1310 how to wake up wireless

$
0
0

Part Number:CC1310

Dear TI Engineers:

I am in accordance with the technical documents(swra486.pdf),so that CC1310 into standby, I would like to wake up once every 20 seconds through the RTC, but did not succeed in waking up。
1、control CC1310 enter standby:

void Power_Standby_Mode(void)
{   
    SysCtrl_DCDC_VoltageConditionalControl();
    /* 1. Freeze the IOs on the boundary between MCU and AON */
    AONIOCFreezeEnable();
   
    OSCInterfaceEnable();
    /* 1. Switch HF, MF, and LF clocks to source from RCOSC_HF */
    if (OSCClockSourceGet(OSC_SRC_CLK_HF) != OSC_RCOSC_HF){
        /* 1.1. Source HF and MF from RCOSC_HF */
        OSCClockSourceSet(OSC_SRC_CLK_HF | OSC_SRC_CLK_MF, OSC_RCOSC_HF);
        while (!OSCHfSourceReady());
        OSCHfSourceSwitch();
    }
    /* 1.2. Source LF from RCOSC_LF */
    OSCClockSourceSet(OSC_SRC_CLK_LF, OSC_RCOSC_LF);
    while (OSCClockSourceGet(OSC_SRC_CLK_LF) != OSC_RCOSC_LF);
   
    /* 3. Allow AUX to power down */
    AONWUCAuxWakeupEvent(AONWUC_AUX_ALLOW_SLEEP);
   
    /* 4. Make sure writes take effect */
    SysCtrlAonSync();

    /* now proceed to transition to Power_STANDBY ... */
   
    /* 5. Query and save domain states before powering them off */
    if(PRCMPowerDomainStatus(PRCM_DOMAIN_RFCORE) == PRCM_DOMAIN_POWER_ON){
        poweredDomains |= PRCM_DOMAIN_RFCORE;
    }
    if(PRCMPowerDomainStatus(PRCM_DOMAIN_SERIAL) == PRCM_DOMAIN_POWER_ON){
        poweredDomains |= PRCM_DOMAIN_SERIAL;
    }
    if(PRCMPowerDomainStatus(PRCM_DOMAIN_PERIPH) == PRCM_DOMAIN_POWER_ON){
        poweredDomains |= PRCM_DOMAIN_PERIPH;
    }
   
    /* 6. Gate running deep sleep clocks for Crypto and DMA */   
    PRCMPeripheralDeepSleepDisable(PRCM_PERIPH_CRYPTO);
    PRCMPeripheralDeepSleepDisable(PRCM_PERIPH_UDMA);

    /* 7. Make sure clock settings take effect */
    PRCMLoadSet();
   
    /* 8. Request power off of domains in the MCU voltage domain */
    PRCMPowerDomainOff(poweredDomains | PRCM_DOMAIN_CPU);

    /* 9. Request uLDO during standby */
    PRCMMcuUldoConfigure(true);
   
    /* 10. If don't want VIMS retention in standby, disable it now... */
    if (retainCache == false){
       
        /* 10.1 Get the current VIMS mode */
        do{
            modeVIMS = VIMSModeGet(VIMS_BASE);
        }while (modeVIMS == VIMS_MODE_CHANGING);
       
        /* 10.2 If in a cache mode, turn VIMS off */
        if (modeVIMS == VIMS_MODE_ENABLED){
           
            /* 10.3 Now turn off the VIMS */
            VIMSModeSet(VIMS_BASE, VIMS_MODE_OFF);
        }
       
        /* 10.4 Now disable retention */
        PRCMCacheRetentionDisable();
    }
   
    /* 11. Setup recharge parameters */
    SysCtrlSetRechargeBeforePowerDown(XOSC_IN_HIGH_POWER_MODE);   
   
    /* 12. Make sure all writes have taken effect */
    SysCtrlAonSync();
   
    /* 13. Invoke deep sleep to go to STANDBY */
    PRCMDeepSleep();
}

2、control CC1310 exit standby:

void Exit_Power_Standby(void)
{
    if (retainCache == false) {
        if (modeVIMS == VIMS_MODE_ENABLED){
            VIMSModeSet(VIMS_BASE, modeVIMS);
        }
        PRCMCacheRetentionEnable();
    }
    AONWUCAuxWakeupEvent(AONWUC_AUX_WAKEUP);  
    PRCMPowerDomainOn(poweredDomains);  
   PRCMPeripheralDeepSleepEnable(PRCM_PERIPH_CRYPTO);
    PRCMPeripheralDeepSleepEnable(PRCM_PERIPH_UDMA);
    PRCMLoadSet();
    PRCMMcuUldoConfigure(false);
    while (PRCMPowerDomainStatus(poweredDomains) != PRCM_DOMAIN_POWER_ON);
    SysCtrlAonSync();
    AONIOCFreezeDisable();
    SysCtrlAonSync();

    while(!(AONWUCPowerStatusGet() & AONWUC_AUX_POWER_ON)) {};
    OSCHF_TurnOnXosc();
    OSCClockSourceSet(OSC_SRC_CLK_LF, OSC_XOSC_LF);

}

Now wake up can light an LED, but wireless can not work.I have tried to switch wireless power and clock without going into standby mode, and wireless is working.

Can you give me some help? What should i do?

ADS131A04: Frame fault after enabling ADCs, DRDY not going low

$
0
0

Part Number:ADS131A04

Hi All,

I have already taken a look at this post. The issue I've been dealing with relates to after all registers have been configured (which occurs with no issue), the ADCs are woken up, and the device is locked.

Upon attempting to get converted data, The device only yields 0x222000 000000 000000 000000.

I am using asynchronous slave mode with an internal reference and the charge pump enabled. I expect the DRDY pin to go low periodically if I am querying it with NULL commands (even if data is being lost)--I am also implementing edge detection for DRDY but have not been able to get anything. Here is the output from my logic analyzer (I only have a 4 channel but assume that DRDY is constant throughout this image, as I have also tried to check for it).

Here is my schematic. The oscillator is running at 16.384MHz, and I currently have SCLK at 4MHz.

Do you think I might have damaged the IC in some way? F_FRAME (0x2501 IIRC) is only activated once the ADCs have turned on.

Thanks,

Henry

Drive strength at reset pin in TPS3808G18DBVR

$
0
0

Hi,

We are using  TPS3808G18DBVR IC for reset signal generation.

Our application is to connect the reset out signal from this device to 10# other input devices.

We have calculated total input capacitor at the input of the 10# devices is more than 100pF. 

From TPS3808G18DBVR datasheet CL RESET =50pF.

Whether  it is possible to drive the 10# devices by using TPS3808G18DBVR device ? then what is the tpd at RESET pin ?

Thanks & regards,

Divya

Viewing all 262198 articles
Browse latest View live


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