Datasheet

ADuC7033
Rev. B | Page 121 of 140
LIN (LOCAL INTERCONNECT NETWORK) INTERFACE
LIN MMR DESCRIPTION
The ADuC7033 features high voltage physical interfaces
between the ARM7 MCU core and an external LIN bus. The
LIN interface operates as a slave only interface, operating from
1 kBaud to 20 kBaud, and it is compatible with the LIN 2.0
standard. The pull-up resistor required for a slave node is on-
chip, reducing the need for external circuitry. The LIN protocol
is emulated using the on-chip UART, an IRQ, a dedicated LIN
timer, and the high voltage transceiver (also incorporated on-
chip) as shown in Figure 4. The LIN is clocked from the low
p
ow
er oscillator for the break timer, and a 5 MHz output from
the PLL is used for the synchronous byte timing.
The LIN hardware synchronization (LHS) functionality is
controlled through five MMRs. The function of each MMR is as
follows:
Table 92. LIN MMR Descriptions
MMR
Name Description
LHSSTA
LHS Status Register. This MMR contains information
flags that describe the current status on the
interface.
LHSCON0
LHS Control Register 0. This MMR controls the
configuration of the LHS timer.
LHSCON1
LHS Start and Stop Edge Control Register. Dictates
which edge of the LIN synchronization byte the
LHS starts/stops counting.
LHSVAL0
LHS Synchronization 16-Bit Timer. Controlled by
LHSCON0.
LHSVAL1 LHS Break Timer Register.
GPIO12
FUNCTION
SELECT
GP2CON[20]
GPIO_12
GP2DAT[29]
AND
GP2DAT[21]
ADuC7033
UART
LHS
HARDWARE
ADuC7033
RxD
TxD
BPF
INTERNAL
SHORT-CIRCUIT
TRIP REFERENCE
INTERNAL
SHORT-CIRCUIT
SENSE
RESISTOR
SHORT-CIRCUIT
CONTROL
HVCFG1[2]
OUTPUT
DISABLE
LIN MODE
HVCFG0[1:0]
INPUT
VOLTAGE
THRESHOLD
REFERENCE
LIN ENABLE
(INTERNAL
PULL-UP)
HVCFG0[5]
FOUR LIN
INTERRUPT
SOURCES
BREAK LHSSTA[0]
START LHSSTA[1]
STOP LHSSTA[2]
BREAK
ERROR LHSSTA[4]
VDD
RxD ENABLE
LHSCON0[8]
LHSVAL0
LHSVAL1
LHS INTERRUPT
IRQEN[7]
5MHz
131kHz
LHS
INTERRUPT
LOGIC
VDD
SCR
IO_VSS
OVER
VOLTAGE
PROTECTION
EXTERNAL
LIN PIN
MASTER ECU
PROTECTION
DIODE
MASTER ECU
PULL-UP
C
LOAD
06847-041
Figure 45. LIN I/O, Block Diagram