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

CC2540: UART Rx side on CC2540 getting garbage data

$
0
0

Part Number:CC2540

Hi Team,

I have been searching e2e posts for corrupt UART data; most posts seem to address Tx side while my issue is with Rx side on CC2540 (external Tx side pretty well tested and flushed out).  

I found this e2e post which essentially suggests that if you are using UART w/ DMA, you should ensure the HCI_EXT_ClkDivOnHaltCmd()function is not called; even though not using DMA I tried this but no luck.  

two questions:

1) Any idea what can be causing me to receive garbage data in ~5% of my messages?

2) when it comes to commenting out HCI_EXT_ClkDivOnHaltCmd() function, I see the comments suggests MCU is halted when network processor is active; is this true and could this be contrinuting to the issue I am seeing?

// Enable clock divide on halt

// This reduces active current while radio is active and CC254x MCU

// is halted

//  HCI_EXT_ClkDivOnHaltCmd( HCI_EXT_ENABLE_CLK_DIVIDE_ON_HALT );


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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