AnsweredAssumed Answered

Can a PE Serial component be set up for HalfDuplex single Tx pin

Question asked by Neil Hancock on Jul 16, 2015
Latest reply on Jul 23, 2015 by Jorge_Gonzalez

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