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

CCS/MSP430FR5972: Mysterious HW Breakpoint

$
0
0

Part Number:MSP430FR5972

Tool/software: Code Composer Studio

I am seeing a HW breakpoint occur that I did not set. I originally identified the problem as related to the stack. I increased the stack size in project properties -> Linker to 640 bytes, but I then started seeing the breakpoint occur when the stack was filled to 400 bytes, and with one build, when it was only 28 bytes deep. When I doubled the stack size to 1280, the breakpoints are not occurring (at least for the moment). 

Q1) If a stack overflow occurs, how is this displayed in CCS?

Q2) What other HW breakpoints can occur that are not set by the user?

Thanks,


Switch

$
0
0

hi TI,

I have a battery charger BQ24450 for 12V 7 Ah battery, i want a switch between battery & my charger which should turn on only once proper polarity battery connect else it should be turn off always. if i remove that battery at once it should turn off.

Do you have that kind off switch or any suggestion ?

Thanks,

Dinesh

DRV8432: Snubber locations

$
0
0

Part Number:DRV8432

Hello,

We're using two DRV8432 motor drivers to drive two bi-directional motors in full-bridge mode and also to drive four uni-directional solenoids in half-bridge mode.  However, we see some ringing (approximately 4V peak to peak voltage on a 24V power rail) at the outputs of the drivers.  We are assuming that this was caused by back-EMF from the motors and decided to use RC snubbers.  My question is to find out the location of the snubber.  Can you please tell me where we need to add the snubber for the bi-directional motors and for the uni-directional solenoids?  

I would appreciate it if you could respond to my question promptly.

Thanks,

PCA9306: Connected VREF2 to +3.3V instead of to pin 8

$
0
0

Part Number:PCA9306

I messed up and instead of connecting VREF2 to pin 8 of the chip (the Enable pin, which then connects to +3.3V through a 200k Ohm resistor), I connected it directly to +3.3V.

VREF1 is +1.8V and I'm seeing it's Voltage fluctuate at a very low frequency between about +2.2V and +1.8V.

Could this be caused by my screw-up?

best choice for charger in combination with bq34110 in backup system rarely discharged

$
0
0

I've asked this question in the gauge forum and was advised to post it over here in the charger forum:

Are there anywhere documents or reference designs for combinations of charger ICs with gauge ICs from TI? I haven't found yet. I'm looking for an optimum solution together with bq34110 gauge in a battery backup solution (UPS) with very rare discharge but defined and guaranteed amount of charge in case of a power fault.

The bq34110 does already contain all the controll algorithms for optimum charge controll and the application notes prefer an "intelligent charger" to be combined with it. What TI charger IC would be the best choice for a single cell and up to 24 V input system?

CC2564: Porting CC2564 Stack from STM32 to AM3352

$
0
0

Part Number:CC2564

Hi,

Last year, you all helped us get a BT stack on the STM32 running RTXC OS. We are now looking at moving the BT stack over to the AM3352 but see you only support Linux at this time. Can you support us in this transition or point us to some material to help us get started?

Thanks! 

TIDA-00120: Charge 12V battery pack with 12V and 48V panel

$
0
0

Part Number:TIDA-00120

Dear Experts,

I would like to use the TIDA-00120 reference design to charge a 12V battery pack using solar panels. We have several panels that range from 12V to 48V. Can the design be modified to charge the battery pack with a 12V and 48V panel? If so, will that require us to modify the board layout as well as the software?

Any advice would be greatly appreciated!

Jeffrey Love

TRF7970A: High Speed, low latency packet rates for sensor interface

$
0
0

Part Number:TRF7970A

I am researching using NFC for a non-contact sensor communication link.  In this case, power is not necessarily being supplied through NFC (our current design uses a low frequency inductive power scheme which we may keep).

The requirements for this sensor are pretty extreme. 5000 Hz measurement rate with a 0.2 mS latency.  I have looked at the TRF7970A which comes closest to meeting this (best case would be using 424Kpbs in a passive (peer to peer mode).  in this mode I can only get the 5000 Hz measurement rate by packing 10 measurements per packet which results in a 0.4 mS latency (this with a payload of 4 bytes per measurement).

Questions:

  1. Is peer to peer the best way to do this?  Tag emulation can support 848 Kbps, but I am having a hard time getting my head around how this works with a fast packet rate. The eval system I use seems to take a very long time to read a tag.
  2. Is it possible to run the Peer to Peer mode at 848 Kbps? I realize this is not supported in the P2P standard, but this is not a general purpose P2P system. It is for a captive non-contact sensor that is only used with our equipment.
  3. Our sensor must operate with large pieces of metal in close proximity. I plan on using ferrite shielding, but is the passive mode more effected by this than active?  From my limited understanding, it feels like active mode should be able to operate better in the presence of interfering metal, but I confess to limited understanding (this is my first NFC project).
  4. The TRF7970A documentation claims that a 1 mS delay must be inserted between collision detection and sending a packet in active mode. Is this a recommendation or is it built into the hardware?  If I am doing one way traffic (transmit only) can I bypass the 1 mS delay?

Any suggestions or help would be very appreciated


MSP430F5528: EZ Fet Lite throwing a Exit: 44 Could not set device Vcc error

$
0
0

Part Number:MSP430F5528

We have implemented an EZFet Lite design and are running MSP Flasher v1.3.14 from Linux.  We are programming a G2553

When running the following command:

./MSP430Flasher -n MSP430G2553 -r [output.txt,MAIN]

We get the following output:

* -----/|-------------------------------------------------------------------- *-r

*     / |__                                                                   *

*    /_   /   MSP Flasher v1.3.14                                             *

*      | /                                                                    *

* -----|/-------------------------------------------------------------------- *

*

* Evaluating triggers...done

* Checking for available FET debuggers:

* Found USB FET @ ttyACM1 <- Selected

* Initializing interface @ ttyACM1...done

* Checking firmware compatibility:

* FET firmware is up to date.

* Reading FW version...done

* Setting VCC to 3000 mV...

# Exit: 44

# ERROR: Could not set device Vcc

* Powering down...done

* Disconnecting from device...

* ----------------------------------------------------------------------------

* ERROR on close: Could not set device Vcc

* ----------------------------------------------------------------------------

*/

Our board is at 3.3v rather than 3.0v.  We did find a note in the user guide saying the EZFet only supports 3.0v, but we are not sure of the ramifications or if we can spoof the software...

Is our problem hardware or the command string we are sending.  Ideas?

TRF7970A: Hooray! NFC P2P Demo running on EK-TM4C129EXL

$
0
0

Part Number:TRF7970A

Very exciting! But now, next step: 

Is there a setting/mode to allow this code to simply read a Mifare Classic Card? 

We're certainly interested in its higher-level capabilities, but; Baby Steps first.

AWR1642: eFuse information

$
0
0

Part Number:AWR1642

Hello,

I wasn't able to find any information about the efuse in the datasheet. Could you provide more information or point me towards the correct document related to this subject?

Thanks,

Faiz

Need single lithium cell charger recommendation

$
0
0

Support Path: /Product/Help with Device Selection/Power my design/

I'm currently using a low cast BQ24040 to charge a 250 mAh cell.

However Software wants the ability to read battery Voltage. 

Can someone recommend a low cost option? I've used BQ25896 in a 

different design but it's too expensive for this one.

CC2650STK: Cannot connect CC2650 SensorTags datas to IBM quickstart dashboard

$
0
0

Part Number:CC2650STK

Hi, I am currently using Beaglebone black (as an edge router) and CC2650STK sensorTags (flashed with cc26xx-web-demo.bin). I am trying to connect multiple sensorTags and send a data to IBM quickstart. 

However, when I go to the IBM Quickstart from the 6lbr page, it displays that the device I am using is valid, but it is waiting for the device to send data. 

my /etc/6lbr/6lbr.conf looks like below:

I also setup wrapsix/NAT64 and I am able to connect to [bbbb::100]. Probably a problem with MQTT messaging?.. I am new to this and I cannot figure out how to solve this. 

Please help me or suggest some options!

Thank you

Compiler/CC3220: [Cloud OTA Example] "cannot find ota.a"

$
0
0

Part Number:CC3220

Tool/software: TI C/C++ Compiler

Hi Friends,

I'm attempting to build the cloud ota.a app and keep running into a roadblock where the functions of the form "OTA_xxx" are all coming up unresolved and the linker is throwing an error saying that the library "ota.a" cannot be found. I checked the file search path and it's pointing to a non-existing library in ti/net/ota/ccs/Release/ota.a. What steps should I take next to resolving this error?

Thanks

RTOS/TIDM-TM4C129XWIFI: switching between CC3100 and Wired Ethernet

$
0
0

Part Number:TIDM-TM4C129XWIFI

Tool/software:TI-RTOS

I am aware that the TM4C TI-RTOS NDK HTTP interface is designed to be compiled for either wired or wireless (simplelink CC3100) interfaces. It wont support both simultaneously.

In our product we wont be running wired and wireless together, but would like to switch between them on demand, without reloading full applications.

We have developed separate firmware builds for each. Each works fine in isolation. The issue is in combining them. 

Before I reinvent the wheel, I want to check if this has been done before, and or take recommendations on how best to proceed.

Thanks

For reference we are using the TM4C129XNCZAD, CC3100, CCSv7, TI-RTOS 2_16_1_14, arm compiler 5_2_9, wolf SSL commercial 3_8_0_1


Linux/WL1831MOD: Bluetooth PAN function auto-pairing

$
0
0

Part Number:WL1831MOD

Tool/software: Linux

My customer is using the Bluetopia stack 

One question about WL18xx bluetooth PAN function. (processors.wiki.ti.com/.../WL18xx_TI_Bluetooth_Stack_PANM_Demo_App)
I am using LinuxPANM of AM335xBluetopiaLinuxProduction-4.2.1.0.1.0/BluetopiaPM/sample to test bluetooth PAN function. Everything works fine.

During bluetooth pairing, I must set command "UserConfirmationResponse 1" of LinuxPANM to confirm that the pass codes match.
Do you know how to auto pairing without "UserConfirmationResponse 1"?


Is auto-pairing possible in this profile implementation? If so, how could that be accomplishded?

Thanks,

Prasanna.

CCS/CC1200: Sniff mode example software in CCS

$
0
0

Part Number:CC1200

Tool/software: Code Composer Studio

Sirs:

     I'm using the IAR example software for the CC1200 rx Sniff mode.  Now need to convert it to CCS.  Was wondering if anyone has already done this.

Thanks,

John

ADC10065: Decoding Analog Input

$
0
0

Part Number:ADC10065

Hi TI,

I'm trying to utilize only the top 6 MSB from ADC10065 and float the 4 LSB.

When I do this, Pins D4 and D6 assert high even with a 0.6V DC signal.  I would expect D6 to assert low at near FS/2.

Can you please help me explain this behavior?

Thanks in advance!

LM5066I: LM5066I Over Current Fault happening too low and won't let me raise it

$
0
0

Part Number:LM5066I

I'm using the LM5066I for protection with UV at 24V, OV at 40V, and OC at 20A.  I've got the circuit working on a dev kit, LM5066EVK/NOPB, having switched out parts to my FET and an LM5066I from my lot.  When I go to test OC on my own board I get an OC fault at 15A almost immediately, at 14A-14.5A with in a couple seconds taking less time as I up the current, and no fault at 13A.  Vsense never goes above 19mV, V(Sense pin to Out pin) is around 40mV-45mV with and without heatsinking.  Switching the CL pin high or low doesn't effect it.  I've tried Rpwr at values from 5K to 20K ohms, Ctimer at 220uF, 1uFs on Vdd and Vref, 0 to 5ohms on the gate to the pass-through FET, Rsense at 1.5mohms with a 33.2 and 5.1ohm network for a 1.3mohm equivalent.  I wired the AGND connections (Rpwr, Ctimer, etc) during testing without any change.  I'm out of things to try.  Please help.

Linux/WL1837MOD: INFO: task irq/107-wl18xx:635 blocked for more than 120 seconds.

$
0
0

Part Number:WL1837MOD

Tool/software: Linux

On one of our Linux platforms, we are using WL1833 module.

We are seeing _random_ kernel lockups on our platform that suggests that the IO_RW_EXTENDED (CMD53) request from the host is not getting completed.

This call chain locks wl->mutex and then waits from the above request to complete thereby causing a deadlock between related tasks in the kernel. This can be seen from the tasks that go into deep sleep state:

 

>>>> 

….

[ 8178.341454] irq/107-wl18xx  D c04e5fb4     0  1026      2 0x00000000

[ 8178.347841] [<c04e5fb4>] (__schedule) from [<c04e6468>] (schedule+0x4c/0xa4)

[ 8178.354903] [<c04e6468>] (schedule) from [<c04e9298>] (schedule_timeout+0x1cc/0x20c)

[ 8178.362659] [<c04e9298>] (schedule_timeout) from [<c04e7168>] (wait_for_common+0x9c/0x154)

[ 8178.370935] [<c04e7168>] (wait_for_common) from [<c04e7240>] (wait_for_completion+0x20/0x24)

[ 8178.379392] [<c04e7240>] (wait_for_completion) from [<c0389aac>] (mmc_wait_for_req_done+0x5c/0x14c)

[ 8178.388456] [<c0389aac>] (mmc_wait_for_req_done) from [<c0389bc8>] (mmc_wait_for_req+0x2c/0x30)

[ 8178.397173] [<c0389bc8>] (mmc_wait_for_req) from [<c0394c10>] (mmc_io_rw_extended+0x254/0x2fc)

[ 8178.405802] [<c0394c10>] (mmc_io_rw_extended) from [<c039622c>] (sdio_io_rw_ext_helper+0xc8/0x1ac)

[ 8178.414778] [<c039622c>] (sdio_io_rw_ext_helper) from [<c0396558>] (sdio_readsb+0x2c/0x34)

[ 8178.423068] [<c0396558>] (sdio_readsb) from [<bf849490>] (wl12xx_sdio_raw_read+0xbc/0x1a8 [wlcore_sdio])

[ 8178.432615] [<bf849490>] (wl12xx_sdio_raw_read [wlcore_sdio]) from [<bfa313a4>] (wlcore_rx+0x1dc/0x764 [wlcore])

[ 8178.442847] [<bfa313a4>] (wlcore_rx [wlcore]) from [<bfa248d4>] (wlcore_irq_locked+0xf0/0x344 [wlcore])

[ 8178.452286] [<bfa248d4>] (wlcore_irq_locked [wlcore]) from [<bfa25890>] (wlcore_irq+0xdc/0x19c [wlcore])

[ 8178.461801] [<bfa25890>] (wlcore_irq [wlcore]) from [<c006f57c>] (irq_thread_fn+0x2c/0x50)

[ 8178.470083] [<c006f57c>] (irq_thread_fn) from [<c006f8d8>] (irq_thread+0x13c/0x188)

[ 8178.477756] [<c006f8d8>] (irq_thread) from [<c0044c18>] (kthread+0xec/0x104)

[ 8178.484822] [<c0044c18>] (kthread) from [<c00107e8>] (ret_from_fork+0x14/0x2c)

 

….

[ 8177.737949] wpa_supplicant  D c04e5fb4     0   282      1 0x00000000
[ 8177.744335] [<c04e5fb4>] (__schedule) from [<c04e6468>] (schedule+0x4c/0xa4)
[ 8177.751396] [<c04e6468>] (schedule) from [<c04e686c>] (schedule_preempt_disabled+0x20/0x2c)
[ 8177.759760] [<c04e686c>] (schedule_preempt_disabled) from [<c04e8054>] (__mutex_lock_slowpath+0xa0/0x180)
[ 8177.769339] [<c04e8054>] (__mutex_lock_slowpath) from [<c04e8190>] (mutex_lock+0x5c/0x60)
[ 8177.777564] [<c04e8190>] (mutex_lock) from [<bfa22560>] (wl1271_op_hw_scan+0x5c/0x104 [wlcore])
[ 8177.786357] [<bfa22560>] (wl1271_op_hw_scan [wlcore]) from [<bf98d37c>] (__ieee80211_start_scan+0x220/0x7b8 [mac80211])
[ 8177.797224] [<bf98d37c>] (__ieee80211_start_scan [mac80211]) from [<bf98e390>] (ieee80211_request_scan+0x34/0x4c [mac80211])
[ 8177.808534] [<bf98e390>] (ieee80211_request_scan [mac80211]) from [<bf9a130c>] (ieee80211_scan+0x94/0xd0 [mac80211])
[ 8177.819218] [<bf9a130c>] (ieee80211_scan [mac80211]) from [<bf91be8c>] (nl80211_trigger_scan+0x5f8/0x784 [cfg80211])
[ 8177.829815] [<bf91be8c>] (nl80211_trigger_scan [cfg80211]) from [<c040e4f4>] (genl_rcv_msg+0x26c/0x3ec)
[ 8177.839229] [<c040e4f4>] (genl_rcv_msg) from [<c040d70c>] (netlink_rcv_skb+0xb0/0xcc)
[ 8177.847074] [<c040d70c>] (netlink_rcv_skb) from [<c040e278>] (genl_rcv+0x34/0x44)
[ 8177.854572] [<c040e278>] (genl_rcv) from [<c040d02c>] (netlink_unicast+0x168/0x254)
[ 8177.862244] [<c040d02c>] (netlink_unicast) from [<c040d4ec>] (netlink_sendmsg+0x2fc/0x360)
[ 8177.870524] [<c040d4ec>] (netlink_sendmsg) from [<c03cd704>] (sock_sendmsg+0x24/0x34)
[ 8177.878368] [<c03cd704>] (sock_sendmsg) from [<c03ce1b8>] (___sys_sendmsg+0x1dc/0x1e4)
[ 8177.886298] [<c03ce1b8>] (___sys_sendmsg) from [<c03cef80>] (__sys_sendmsg+0x4c/0x78)
[ 8177.894142] [<c03cef80>] (__sys_sendmsg) from [<c03cefc4>] (SyS_sendmsg+0x18/0x1c)
[ 8177.901727] [<c03cefc4>] (SyS_sendmsg) from [<c0010740>] (ret_fast_syscall+0x0/0x3c)

….

 

<<<< 

 

This is the sequence that I think is leading to the above hang:

-          wilink driver holds wl->mutex and waits for IO_RW_EXTENDED request to complete.

-          wpa_supplicant holds rtnl_mutex and waits for wl->mutex.

-          Tasks waiting for rtnl_mutex get blocked.

 

We are using Kernel 4.1.13 and I can see the last commit in drivers/net/wireless/ti as (5c73cc4b6c83e88863a5de869cc5df3b913aef4a).

Is this a known issue?

-Thanks,

Sarang.

Viewing all 262198 articles
Browse latest View live


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