Detecting end of transmitted break on KE04Z UART

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

Detecting end of transmitted break on KE04Z UART

Jump to solution
690 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
541 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
542 Views
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 Kudos
Reply