MCF5213 UART

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCF5213 UART

3,852件の閲覧回数
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


ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,616件の閲覧回数
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 件の賞賛
返信

1,616件の閲覧回数
Nouchi
Senior Contributor II
Hi,

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


Emmanuel
0 件の賞賛
返信

1,616件の閲覧回数
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 件の賞賛
返信

1,616件の閲覧回数
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 件の賞賛
返信