This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2430 UART1 Problem

Other Parts Discussed in Thread: Z-STACK

Hi everybody,

i tried to  work with the UART1 in the GenericApp. My hardware is the SmartRF04EB with the SoCs which i can hook up. I read that i can only use one UART in DMA mode. So i decided to use the UART1 in ISR Mode. I was not able to start up the UART1 with the options in Z-Stack. With the help of the Design note 112 swra222a. I get the UART1 partly working. Tx is no problem, but Rx is a problem. I am using the isr function out of the design note. But the LCD shows at line 1 only  "Figure Wireless" and the IEEE address on the second line. If i comment out the ISR function for the UART1 than the LCD shows on the first line "Zigbee Coord" and on the second line "Network ID: 405". An interessing thing is, if i changed "uartRxBuffer[uartRxIndex++] = U0DBUF; " to "uartRxBuffer[1] = U0DBUF; " than the Display shows "Zigbee Coord" on the first line and on the second line "Network ID: 405". I am not able to fix the problem. :[:(]

Update: With the Call Stack I figure out the two functions "nwk_even_loop()" and "nwk_start_cnf_processing()" aren't called, when the display doesn't show "Zigbee Coord" and so on.

Is there anyone who use both UARTS 0 and 1?

Hope my explanation is understandable.