ATMEGA16M1-AU Atmel, ATMEGA16M1-AU Datasheet - Page 203

IC MCU AVR 16K FLASH 32TQFP

ATMEGA16M1-AU

Manufacturer Part Number
ATMEGA16M1-AU
Description
IC MCU AVR 16K FLASH 32TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA16M1-AU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
CAN, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b; D/A 1x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP, 32-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Number Of I /o
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16M1-AU
Manufacturer:
Atmel
Quantity:
10 000
20.4.5
20.4.6
20.4.6.1
8209D–AVR–11/10
Enable / Disable
LIN Commands
Rx Header / LIN Abort Function
Table 20-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 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.
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 (that is Tx Header, Tx or Rx Response) can be aborted by clearing
LCMD[1..0] bits in LINCR register. In this case, an abort flag - LABORT - in LINERR register will
be set to inform the other software tasks. No wait states are implemented, so, the abort com-
mand 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 20-1 on page
x
0
1
LIN/UART Command List
LCMD[1]
x
0
1
0
1
0
1
Figure 20-5 on page
LCMD[0]
203, 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
202).
ATmega16M1/32M1/64M1
Rx Response
Tx Response
Byte transfer
Command
Full duplex
Tx Header
Rx Byte
Tx Byte
(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
203

Related parts for ATMEGA16M1-AU