Detecting end of transmitted break on KE04Z UART

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

Detecting end of transmitted break on KE04Z UART

ソリューションへジャンプ
689件の閲覧回数
randyglenn
Contributor I

Hi,

I'm using a KE04Z (using the FRDM board for now), and I'm trying to have my device send a break on an RS485 bus back to the bus master. I need the device to assert a GPIO to drive the transmit enable on the RS485 transceiver - I'm using the UART interrupt on the TC flag to do this right now for data, but it isn't working for a break (the TC interrupt fires before the break is sent).

Is there some way to detect when a break (sent using the SBK bit in UART0_C2) has finished?

Thanks,

-Randy

ラベル(1)
0 件の賞賛
返信
1 解決策
540件の閲覧回数
randyglenn
Contributor I

I did not find a way to do this using the TC interrupt. I wound up using a timer to deassert the transmit enable once a break is sent.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
541件の閲覧回数
randyglenn
Contributor I

I did not find a way to do this using the TC interrupt. I wound up using a timer to deassert the transmit enable once a break is sent.

0 件の賞賛
返信