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
Solved! Go to Solution.
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.
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.