Dear Professionals of NXP Community:
I am developing an embedded application on NXP S9S08RNA16 microcontroller (CodeWarrior 11.1 IDE) to processing of 2 LIN communication links (Protocol version: SAE J2602 – Baud rate: 10.417 kbps – LIN Drivers: TLIN1029DRQ1 and NCV7428D15R2G). I use the CANoe software and the VN1640A interface to generate the LIN test frames. My current problem is that I can’t read the BREAK and SYNC character of a LIN frame.
1) Which is the better way to process the reading of BREAK received character in the LIN protocol using the SCIx interfaces:
a) Using the LBKDE bit (considering the BREAK character like as “0x00” extended, based on the Reference Manual of microcontroller)? or
b) Using RIE with Framing Error (considering the BREAK character like as character “0x00” with framing error, used in the Asynchro Serial component of Processor Expert)?
2) After the reception of BREAK character, is necessary to do any special action (on the control of SCI interface) to receive normally the next character “SYNC” without losing the synchronizing?
From now on, I appreciate any help or guidance (examples, tutorial, AN, etc.).