AnsweredAssumed Answered

UART Transmit/Receive implementation for unidirectional driver

Question asked by Rudy Coppens on Apr 16, 2018
Latest reply on Apr 16, 2018 by Mark Butcher

Hi all,

 

I am trying to make a RS485 connection with the use of a LTC2862A I use the "MKE14F512VLH16" The communication is working manually by setting one transceiver to transmit and the other to receive. It goes wrong when I try to switch from Receive to Transmit mode and back. The timing is never right and there comes no communication back on the bus. Here is an example code for, or has anyone an idea how to implement this. Now I implemented, set the slave device always to receive except when transmitting and the master the other way around. See the attached picture of the code. 

 

Outcomes