ata6616 ATMEL Corporation, ata6616 Datasheet - Page 191

no-image

ata6616

Manufacturer Part Number
ata6616
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C-P3QW
Manufacturer:
ATMEL
Quantity:
887
4.16.4.5
4.16.4.6
9132A–AUTO–10/08
DRAFT
Enable/Disable
LIN Commands
Table 4-47.
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 dis-
able 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.
Rx Header/LIN Abort Function
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
• 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
• The starting of the Frame_Time_Out,
• The checking of the LIN communication integrity.
LINDLR register in case of LIN 1.3,
0
1
LCMD[2]
Table 4-47 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 4-72 on page
LCMD[0]
191, four functions controlled by the LCMD[1..0] bits of LINCR
ATA6616/ATA6617 [Preliminary]
0
1
0
1
0
0
1
1
x
Rx Header - LIN Abort
Disable peripheral
190).
Rx Response
Tx Response
Byte transfer
Command
Full duplex
Tx Header
Rx Byte
Tx Byte
201.). 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
191

Related parts for ata6616