Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

68376: RS485 half duplex setup

2002-06-07 by jgodiska2002

Hello List,

I need some advise on setting up a half-duplex RS485 channel using 
both the QSM's Serial Communication Interface and also the TPU's UART 
function.  I have two serial ports on my circuit board, and I have 
already set up hardware for both.  My driver chips have both Drive 
Enable and Receive Enable pins, which I have tied together.  I am 
using PC6 to control the DE/RE line for the QSM's SCI port and PC5 to 
control the one for the TPU port.

My question is this:  Is there a status bit or some flagging 
mechanism I can use to say that when the 68376 is done transmitting a 
message, I can now safely change the state of the DE/RE bit and 
prepare to receive data?  I have a concern about when a flag would be 
set compared to when the last bit in the data is shifted onto the bus.

I am hoping to avoid having to use any kind of delay timer to switch 
from TX->RX or RX->TX.

Thanks,
Jim

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.