attiny167-esxz ATMEL Corporation, attiny167-esxz Datasheet - Page 160
attiny167-esxz
Manufacturer Part Number
attiny167-esxz
Description
8-bit Avr 8-bit Microcontroller Microcontroller With 16k Bytes In-system Programmable Flash And Lin Controller
Manufacturer
ATMEL Corporation
Datasheet
1.ATTINY167-ESXZ.pdf
(277 pages)
- Current page: 160 of 277
- Download datasheet (4Mb)
15.4.5
15.4.6
15.4.6.1
160
ATtiny167
Enable / Disable
LIN Commands
Rx Header / LIN Abort Function
Table 15-1.
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.
Clearing the LCMD[2] bit in LINCR register enables LIN commands.
As shown in
register are available (c.f.
This function (or state) is mainly the withdrawal mode of the controller.
When the controller has to execute a master task, this state is the start point before enabling a
Tx Header command.
When the controller has only to execute slave tasks, LIN header detection/acquisition is enabled
as background function. At the end of such an acquisition (Rx Header function), automatically
the appropriate flags are set, and in LIN 1.3, the LINDLR register is set with the uncoded length
value.
This state is also the start point before enabling the Tx or the Rx Response command.
A running function (i.e. Tx Header, Tx or Rx Response ) can be aborted by clearing LCMD[1..0]
bits in LINCR register
in LINERR register will be set to inform the other software tasks. No wait states are imple-
mented, so, the abort command is taken into account immediately.
Rx Header function is responsible for:
•
•
•
•
•
LENA
0
1
The BREAK field detection,
The hardware re-synchronization analyzing the SYNCH field,
The reception of the PROTECTED IDENTIFIER field, the parity control and the update of
the LINDLR register in case of LIN 1.3,
The starting of the Frame_Time_Out,
The checking of the LIN communication integrity.
LCMD[2]
Table 15-1 on page
x
0
1
LIN/UART Command List
LCMD[1]
(See ”Break-in-data” on page
0
1
0
1
0
1
x
Figure 15-5 on page
LCMD[0]
160, four functions controlled by the LCMD[1..0] bits of LINCR
x
0
1
0
1
0
0
1
1
Rx Header - LIN Abort
Disable peripheral
159).
Rx Response
Tx Response
Byte transfer
Command
Full duplex
Tx Header
Rx Byte
Tx Byte
169.). In this case, an abort flag - LABORT -
(LINDLR: read only register)
LCMD[2..0]=000 after Rx
LCMD[2..0]=000 after Tx
LCMD[2..0]=000 after Tx
no CRC, no Time out
LTXDL=LRXDL=0
LIN Withdrawal
Comment
7728A–AUTO–07/08
Related parts for attiny167-esxz
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
IC, MCU, 8BIT, 2K FLASH, 20SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC, MCU, 8BIT, 2K FLASH, 20PDIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC, MCU, 8BIT, 8K FLASH, 20PDIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC, MCU, 8BIT, 8K FLASH, 20SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet: