We now use ZStack-CC2530-2.3.0-1.4.0, and need CC2530 send and receive data through RS485.if we set the data direction as CC2530 ->RS485 and don't change it, the data send is right. and if we set the direction is RS485 ->CC2530 and don't change it, the data receive also right.
But, when CC2530 need send data to RS485, we set the disrection (CC2530 ->RS485) befor HalUARTWrite(HAL_UART_PORT_0, pData, len);
the dara error is very higher
How to control the RS485 data transceiver direction in zstack??