-->
Page 1 of 1

Serial line break handling

PostPosted: Tue Oct 14, 2014 11:05 am
by strolch
I'm planning a home automation project where I want to communicate with the central heating.
The heating uses a <BRK> terminated protocol.
From the header files I saw that the serial line is capable to interrupt on received brks. There's
also a brk flag on the tx channel.
What I'd like to know (and I'm not talking about the degraded uart driver of the at example):
- which condition resets the "rx-brk" flag?
- what data contains the rx register when a brk is received? (0x00???)
- is the tx-brk automatically handled (based on tx clock rate) when setting the flag or do I need
to do the timing myself to reset the tx-brk?
- do I have to send a dummy char when emitting a tx-brk?

(I'm still waiting for the ack of the NDA - so I hope answering those infos - if available at all - don't break others NDA)