Datasheet
21.4.4. LIN/UART command overview
Figure 21-5. LIN/UART command dependencies.
IDOK
RXOK
Recommended
way
TXOK
Tx
response
Tx header
Rx header
or
LIN abort
Byte
transfer
Rx
byte
Tx
byte
Tx
response
LIN
UART
Full
duplex
DISABLE
Automatic
return
Possible
way
Table 21-1. LIN/UART command list.
LENA LCMD[2] LCMD[1] LCMD[0] Command Comment
0 x x x Disable peripheral
1 0 0 0 Rx Header - LIN abort LIN withdrawal
1 Tx header LCMD[2..0]=000 after Tx
1 0 Rx response LCMD[2..0]=000 after Rx
1 Tx response LCMD[2..0]=000 after Tx
1 0 0 Byte transfer no CRC, no time-out
LTXDL=LRXDL=0
(LINDLR: read only register)
1 0 Rx byte
0 1 Tx byte
1 1 Full duplex
21.4.5. Enable / disable
Setting the LENA bit in LINCR register enables the LIN/UART controller. To disable the LIN/UART
controller, LENA bit must be written to 0. No wait states are implemented, so, the disable command is
taken into account immediately.
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
277