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

RTOS/LAUNCHXL-CC1310: Guidance on design of OTA update system for Sub-Ghz radio

$
0
0

Part Number:LAUNCHXL-CC1310

Tool/software:TI-RTOS

I am embarking on writing an OTA update mechanism for Sub-Ghz Proprietary radio.  My solution feels like it's getting out of hand so I wanted to see if I was complicating it or if there is a way around some of the limitations I've faced.

What I have is the flash is divided into four sections of flash:

Wireless, AppEntry, App and Upper.  Upper contains the entry point from the bootloader and ccfg.  Wireless contains the wireless flashing mechanism.  AppEntry contains a single function which calls whatever function within the App the programmer deems the entry point for that App.  This in my mind increases the stability of the interface between flashes.  The location of AppEntry is less likely to move around and since I can't reflash Upper I need the same entry point for all apps.  Does any of this make sense?  Am I over-complicating it?

My issue is I'm not 100% how to make absolutely sure "App" is completely independent of all the other flash sections.  I need to make sure not a single symbol gets stuck in Upper, Upper needs to be as small as possible and I can't fully update an App if symbols exist in Upper.  I've turned off all optimization (ie, -mf) but I'm not sure how to completely isolate the app from the rest of the project.  I've noticed that even though I've sectioned the wireless function to it's own section of flash and as a ramfunc it still seems to depend on Upper to function. Depending on TI-RTOS/XDC/BIOS in upper would probably be fine, we will freeze a stable revision for dependencies based on major hardware revisions but how do I make sure the rest gets put in the same place?

TIA


cc2541: How to OTA without using notifications?

$
0
0

Part Number:cc2541

I am updating the cc2541 using an Android phone. There are a lot of instances where we cannot be notified if the device we connected to is notifying, therefore, we need to change all the messages going to notify to be instead accessible through reading. The following is what I did, please tell me if I am doing anything incorrectly!

1. I have added variables to oadReadAttrCB to put memcpy(pValue, pAttr->pValue, 20)

2. I have initialized a global variable so the functions oadImgIdentfiyWrite and oadImgBlockWrite writes to change the global variable rather than do the notify stuff. So I am putting this value also inside the memcpy(pValue, reply_msg, 20)

However, when I read I just receive blanks.

What I think: In SimpleGATTprofile.c there is an if statement in function SimpleGATTprofile.c that checks if((notifyApp != 0xFF)...) that seems to notify the device when the read statement is generated, should I implement the same thing in my OadWriteAttrCB(...)? if so how do I do this because there is no variable called profileChange in oad_target.h and I cannot find out where it is being used.

TMS320F28027F: Acceptable amount of noise in current measurements?

$
0
0

Part Number:TMS320F28027F

Hello -

I'm trying to diagnose my problem with the motor spinning after setting IqRef_A to 0, and I probed the current waveforms at the MCU ADC pins and see that there is significant noise in the measurement:

Can you provide a reference waveform for comparison?

Best,

-asifjahmed

TPS65986: Reprogram Flash with I2C

$
0
0

Part Number:TPS65986

Can the information in the flash chip be reprogrammed via the I2C interface?

CCS/AM3359: CCS 7.2, howto config J-Link IP address?

$
0
0

Part Number:AM3359

Tool/software: Code Composer Studio

Hello,

I'm using CCS 7.2.0 on Ubuntu 16.04.  I'd like to debug my app, connect to my board with a Segger J-Link Pro JTAG probe.  How/where in CCS do I configure the IP address of my J-Link?

Regards,

-david

LM5069: Gate Voltage when OFF

$
0
0

Part Number:LM5069

Good day,

I'm planning on using the LM5069 to protect a circuit from Over voltage, reverse voltage and over-current situations.  Seems simple enough to use.

The typical input voltage will be 32V, but it could be as high as 40V.

Am I reading the datasheet correctly that when the part turns OFF the mosfet(s) for whatever reason, it pulls the GATE pin to "Ground"?  That could potentially pull the gate to -40V (vGS) during the turn-off while there is still voltage on the output.  Correct?

Most high-voltage high-current fets only support +/-20V vGS, so this concerns me.

Could someone from TI chime in on this?  It looks like a good way to slowly kill a MOSFET, and I'm wondering if there is any strategy that TI could suggest to mitigate it.

Ben

FDC2212: FDC2212 SD pin for I2C logic

$
0
0

Part Number:FDC2212

Hi support team,

The datasheet of FDC2212 show that SD pin reset register value to default.

Can SD pin reset I2C interface logic, also?

Regards, Hirotaka Inoue

AM5728: Sitara comparison with other TI processors

$
0
0

Part Number:AM5728

Hello, does anyone know if there is an article or documentation that compares the Sitara processors with other TI processors such as the higher end DSP+ARMS?

Thanks,

Joe


Linux/AM4378: boot from for AM4378x, no signal from CLK and Data pin after boot.

$
0
0

Part Number:AM4378

Tool/software: Linux

Hi, 

 We are working on EMMC(MMC1) boot on a custom board and could not make it. We used uniflash to flash the image to EMMC(MMC1) successfully. But after reboot, I tested EMMC clk/cmd pin by scope. There is no output at all.  

 1.  For EMMC, does the GPMC_WP0 pin is required to set to low.  Does the  ROM(PBL) will check this Pin (Used as SD/MMC card insert detection).  

 2. We are aware of the pin for EMMC(MMC1) for boot is special according to Tables 5-32 or 5-33 in the TRM.  Does TI have any reference design? 

 3. We did not connect the data pin correctly, I am looking for a work around for this. Does AM4378 has any interface and internal flash,  I could use to flash MLO to boot from. 

Thanks

Wayne

BQ76PL455A-Q1: How to perform open wire test

$
0
0

Part Number:BQ76PL455A-Q1

Hi,

I wanted to get some clarity on how to perform open wire test on the bq76PL455A-Q1 device. 

From the datasheet i gather that we have to set EQ_SQUEEZE_EN = 1. This would enable the squeeze registers when setting the corrosponding CBENBL register to test a channel. Datasheet mentions something on the lines of

"This bit is used to control the internal resistors connected across the VSENSE inputs, and changes the behavior of the CBENBL register. In the event of a broken wire, applying the resistor should cause anystored charge on the VSENSEn capacitor to bleed off. This bit is normally used for system testing purposes. When using this feature," 

What after that?

 

LM5041: Is it possible case to damage LM5041 if VREF is short to GND in operation?

$
0
0

Part Number:LM5041

Hi Team,

Is it possible case to damage LM5041 if VREF is short to GND in operation?
I believe it doesn't damage LM5041 because VREF has current limit feature as the following.
Is my understanding correct?



Best Regards,
Yaita / Japan disty

RTOS/AFE4404SW-LINUX: Question about AFE 4404 in one LED mode.

$
0
0

Part Number:AFE4404SW-LINUX

Tool/software:TI-RTOS

Hello E2E experts,

I'm using AFE4404 to read the heartrate at wrist. I'm trying to set it on one LED only. I'm trying the code on this post to init the afe4404 setting,

 

        reg_write(9, 0);
        reg_write(1, 80);
        reg_write(10, 399);
        reg_write(2, 399);
        reg_write(21, 400);
        reg_write(22, 406);
        reg_write(13, 407);
        reg_write(14, 866);
        reg_write(54, 1);
        reg_write(55, 0);
        reg_write(5, 1);
        reg_write(6, 0);
        reg_write(23, 867);
        reg_write(24, 873);
        reg_write(15, 874);
        reg_write(16, 874);
        reg_write(3, 1);
        reg_write(4, 0);
        reg_write(7, 1);
        reg_write(8, 0);
        reg_write(25, 875);
        reg_write(26, 881);
        reg_write(17, 882);
        reg_write(18, 882);
        reg_write(11, 1);
        reg_write(12, 0);
        reg_write(27, 883);
        reg_write(28, 889);
        reg_write(19, 890);
        reg_write(20, 890);

        reg_write(29, 39999);
        reg_write(30, 0x000103);
        reg_write(32, 0x008003);
        reg_write(33, 0x000003);
        reg_write(58, 0x000000);
        reg_write(34, 0x000F00);      //only LED 2 is on (green)
        reg_write(35, 0x124218);
        reg_write(41, 0x2);
        reg_write(49, 0x000020);
        reg_write(57, 0);
        reg_write(50, 5475);
        reg_write(51, 39199);

and I got the following result,

The data is valid when zoomed in (I can see the heart pulses). The dropping values happen when I change the sensor location (from my finger tip to front writst to back wrist). Does it look normal? Why are the y-axis changing from ~140,000 to ~20,000 when the sensor location is changed from finger tip to wrist?

Another side question, is the maximum current I can set for a LED is 5 mA? Is there any way I can increase the current over 5mA?

Best,

Henry

TAS5760M: PurePath Console Motherboard + TAS5760xxEVM board

$
0
0

Part Number:TAS5760M

MY customer is trying to hook up a PurePath Console Motherboard (AIP006G) + TAS5760xxEVM board to their 1.8V host and provide the EVM with external I2S signals. However from the user guide online it looks like the I2S signals are 3.3V signals, is this correct? Also, the board they have in hand is different than the one pictured on the web:

http://www.ti.com/tool/PUREPATH-CMBEVM#0

Do you have the user guide and schematics for this particular version, and do you know if this version has any level translators to be able to interface with a 1.8V host?

UCD3138HSFBEVM-029: UCD3138 unable to enter the Single Frame state and stay in the IDLE state

$
0
0

Part Number:UCD3138HSFBEVM-029

Hello.
I have recently debuging your UCD3138 full bridge hard switch circuit development board.
I have encountered a question .
The development board has a secondary short circuit during circuit debuging. Resulting in the primary MOS tube and secondary synchronous rectifier and the primary MOS transistor driver UCD27211 burned out.I replaced the MOS tubes and drive UCD27211, auxiliary power can work properly. But UCD3138 stay in the IDLE state, did not enter the Single Frame state, the system can not start, UCD3138 did not issue PWM, power input current is only 19mA.

I guess should be my hardware part of the problem, leading to UCD3138 stay in IDLE state. But I checked the auxiliary current, the driver, the isolator, the MOS tube, the input voltage sampling circuit, these are all good. I am now very puzzled.
Excuse me, can i get the inspiration from the program? Can be seen from the program may be what causes UCD3138 unable to enter the Single Frame state, and stay in the IDLE state?
Thank you!

UCD3138: UCD3138 unable to enter the Single Frame state, and stay in the IDLE state

$
0
0

Part Number:UCD3138

Hello.
I have recently debuging your UCD3138 full bridge hard switch circuit development board.
I have encountered a question .
The development board has a secondary short circuit during circuit debuging. Resulting in the primary MOS tube and secondary synchronous rectifier and the primary MOS transistor driver UCD27211 burned out.I replaced the MOS tubes and drive UCD27211, auxiliary power can work properly. But UCD3138stay in the IDLE state, did not enter the Single Frame state, the system can not start, UCD3138 did not issue PWM, power input current is only 19mA.

I guess should be my hardware part of the problem, leading to UCD3138 stay in IDLE state. But I checked the auxiliary current, the driver, the isolator, the MOS tube, the input voltage sampling circuit, these are all good. I am now very puzzled.
Excuse me, can i get the inspiration from the program? Can be seen from the program may be what causes UCD3138 unable to enter the Single Frame state, and stay in the IDLE state?
Thank you!


CCS/am3359: CCS 7.2 on Linux: New Project bug

$
0
0

Part Number:am3359

Tool/software: Code Composer Studio

Hello,

I'm using CCS 7.2 on Ubuntu 16.04.  I created a new CCS project, chose GCC 6.4...  The project created with an invalid path name:


Invalid project path: Include path not found (/home/david79/workspace_v7/tst/Debug/home/david79/ti/bios_6_51_00_15/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano). 

Obviously, two include paths mistakenly became concatenated.  How do we fix this?

Regards,

-david

RTOS/CC3200: CC3200 AWS SDK v1.1.1

$
0
0

Part Number:CC3200

Tool/software:TI-RTOS

Hi all,

I am trying to use cc3200 AWS SDK v1.1.1 (git.ti.com/.../aws-iot-device-sdk-embedded-c) , to connect to AWS.

However, there are some incompatible problems. I have installed all the software you mentioned in ReadmeCC3200 file, however, these versions are not compatible with each other. When I try to type in gmake command, there are multiple errors.

The software I installed are:

Code Composer Studio v6.1.2;

TI-RTOS for CC32xx 2.16.00.08;

C:/ti/xdctools_3_32_00_06_core;

C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5;

CC3200SDK_1.3.0.

I am not sure whether these versions are compatible with each other. So I would like to check whether these versions are correct, and whether there are more software(not listed in ReadmeCC3200) I should install.

Thanks a lot,

Younan

 

CC3120MOD: Confirm the way to get the ping delay

$
0
0

Part Number:CC3120MOD

Hi TIExperts

Please let me confirm the following question.

Q. Do we have anyway to get the Daley time of ping??

Best regards.

KaKa

TAS5508: the PVDD of TAS5508

$
0
0

Part Number:TAS5508

Hi,

when i use ST DAP + ST516B, My PVDD is 51V,

but when i replacement ST DAP to TAS5508, my PVDD should be 53V to make same power output Watt,

Do you have any suggest? thanks!

CC3120MOD: Sample program for RTC

$
0
0

Part Number:CC3120MOD

Hi TI Experts

I am looking for the RTC sample program.

Do you have that code?

Best regards.

Kaka

Viewing all 262198 articles
Browse latest View live


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