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.

How to change rs232 to RS485 in ZStack-CC2530-2.3.0-1.4.0

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??