LIN Network for Vehicle ApplicationsIssued 2004-08Revised 2005-09Superseding J2602-1 AUG2004
5.
LIN System Requirements
All ECU LIN interfaces shall conform to the LIN Specification Package of September 2003 unless otherwise specified in this specification. 5.1
LIN Specification Package
The LIN Specification Package as described in Section 1.4.1 LIN Specification Package is informative only and contains no formal requirements. Also note that the information contained in this section of LIN 2.0 may or may not be representative of J2602-based implementations. However, the Glossary included in this section of the LIN specification contains definitions and terms needed to comprehend the LIN Protocol and J2602.
5.2 J2602 Serial Data Link Characteristics
1. Master/Slave Collision Avoidance
2. Capable of operating with LIN 2.0 and previous devices.
3. Additional definition to meet SAE requirements for serial data communication networks. 4. Slave-to-slave communication is not supported and is highly discouraged. 5.3
Detection of Errors by Master (ref Section 4.1, LIN 2.0 Protocol Specification)
The master task state machine shall detect errors during the transmission of the Break / Synch / Protected ID sequence. If an error is detected (e.g., data mismatch or data not received), the master shall cease transmission of the frame and shall start transmission of the next frame as dictated by the schedule table. 5.4 5.4.1
Frame Processing by Slave Tasks (ref Section 4.2.2, LIN 2.0 Protocol Specification) SLAVE TASK ERROR DETECTION
The slave task state machine (either in a slave node or the master) shall detect the following errors:
ID Parity Error
Byte Field Framing Error (i.e., invalid stop bit)
Data Error (i.e., data transmitted does not match data read, data transmitted is not received, fixed
form data received is incorrect) Checksum Error 5.4.2
SLAVE BEHAVIOR IN THE PRESENCE OF ERRORS WHEN TRANSMITTING
When a slave task state machine detects a Byte Field Framing Error, Data Error, or Checksum Error, the slave task state machine shall cease transmission prior to transmission of the next byte field, unless the error occurs during the transmission of the Checksum byte, and return to the "Dormant" state. The slave task shall also set the appropriate error flags as defined in Section 5.8.6 (J2602 Status Byte).