Other Parts Discussed in Thread: CC2530
Hi all,
I'm working with an old version of the ZStack (ZigBee 2007 Release Version 2.5.1a) with CC2530 SoC and I have found an error in this function.
This function change the state of P0_5 (RTS) even flow control is not enabled.
It should be a good solution just add this condition:
// "if" added to avoid P0_5 drop with RX incoming when flow control is not enabled
if(UxUCR & UCR_FLOW)
PxOUT &= ~HAL_UART_Px_RTS; // Re-enable the flow on any read.
return cnt;
Greetings!