MCF5213 UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF5213 UART

2,868 Views
Nouchi
Senior Contributor II
Hi,

Why they don't let me choose TX interrupt source between TXEMPTY flag and TXRDY flag?
You can choose RXRDY or FIFO full interrupt source for the receiver......
I need to disable RS485 driver at the end of frame with a low level, so if I use RTS pin with transmitter, I have to add an inverter gate in my design

Emmanuel


Labels (1)
0 Kudos
4 Replies

632 Views
wyliek
Contributor I
Hi Emmanuel

Did you mamnage to sort out this problem in firmware or did you have to resort to an inverter?

Cheers
0 Kudos

632 Views
Nouchi
Senior Contributor II
Hi,

No, after all, I managed RTS by hand in the Firmware (RTS as an IO port :smileysad:)


Emmanuel
0 Kudos

632 Views
rsk2
Contributor I

Hello, I am having the same problem. How did you manage it by hand in firmware without an interrupt? Did you have to poll to see when frame was complete?

 

Thank you,

Randy Kelso

0 Kudos

632 Views
Nouchi
Senior Contributor II

Hello,

 

I didn't find any real good solution, if you can't manage RTS by UART functionality, you can start a timer with the amount of time left for the last byte, or poll the TEMP flags. You can also, (if the driver receiver is always enable in RS485 case) waiting for receiving emitted bytes, it's not a nice solution but it should work.

 

Emmanuel

0 Kudos