MPC5604B/C Microcontroller Reference Manual, Rev. 8
Freescale Semiconductor 377
Chapter 21
LIN Controller (LINFlex)
21.1 Introduction
The LINFlex (Local Interconnect Network Flexible) controller interfaces the LIN network and supports
the LIN protocol versions 1.3; 2.0 and 2.1; and J2602 in both Master and Slave modes. LINFlex includes
a LIN mode that provides additional features (compared to standard UART) to ease LIN implementation,
improve system robustness, minimize CPU load and allow slave node resynchronization.
21.2 Main features
21.2.1 LIN mode features
• Supports LIN protocol versions 1.3, 2.0, 2.1 and J2602
• Master mode with autonomous message handling
• Classic and enhanced checksum calculation and check
• Single 8-byte buffer for transmission/reception
• Extended frame mode for In-Application Programming (IAP) purposes
• Wake-up event on dominant bit detection
• True LIN field state machine
• Advanced LIN error detection
• Header, response and frame timeout
• Slave mode
1
— Autonomous header handling
— Autonomous transmit/receive data handling
• LIN automatic resynchronization, allowing operation with 16 MHz fast internal RC oscillator as
clock source
• 16 identifier filters for autonomous message handling in Slave mode
1
21.2.2 UART mode features
• Full duplex communication
• 8- or 9-bit with parity
• 4-byte buffer for reception, 4-byte buffer for transmission
• 8-bit counter for timeout management
21.2.3 Features common to LIN and UART
• Fractional baud rate generator
1. Only LINFlex0 supports slave mode.