A framing error isn't enough to reliably detect a break, especially in the presence of noise on the DMX line or during discovery.
Your best bet is to use a timer/counter to measure the amount of time that the line is held low. This allows you distinguish a framing error from a true break. If you see a framing error during an RDM packet, treat it like you would a checksum error and ignore the packet.
|