Can I set up a SerialComponent for RS485 HalfDuplex using a single Tx pin of a Uart.?
For a Cpu:MKL26Z128VFT4 part, I'm looking to use UART0 as HalfDuplex RS485. Uart0 as its low power.
From the manual registers I think this means setting
Uart0_S2: set LOOPS=RSRC=1
and then managing the single pin with
Uart0_C3:TXDIR 1 Tx Output else 0 Rx Input
I have tried using the PE AsynchroSerial - and as noted in a previous post when I try and use the provided Loop command it has an error