I see that fsp has the function of enabling rs485, and you can set the enable pin of rs485,Please give me a demo project of rs485
thx
Hi jerry,
At the moment we do not have a separate example on RS-485, because it can be configured within UART FSP configurations. RS-485 Half Duplex can be supported if DE pin is enabled and it can work with the existing UART APIs.
I hope it helps.
Regards,
AZ
I see, I just see that the DE pin does not have an error message, when the pin is already in use。
FSP does not have an error message
Yes, that happens because DE pin is not included in the SCI pins and is handled as GPIO pin controlled by software. Please refer to r_sci_uart.c file of your project to see how DE pin is controlled by UART APIs.