ATmega16M1 Automotive Atmel Corporation, ATmega16M1 Automotive Datasheet - Page 209

no-image

ATmega16M1 Automotive

Manufacturer Part Number
ATmega16M1 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega16M1 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
27
Ext Interrupts
27
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Can
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
14
Input Capture Channels
1
Pwm Channels
10
32khz Rtc
No
Calibrated Rc Oscillator
Yes
17.4.5
17.4.6
17.4.6.1
7647G–AVR–09/11
Enable / Disable
LIN Commands
Rx Header / LIN Abort Function
Table 17-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
LINCR 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), auto-
matically 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 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 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 starting of the Frame_Time_Out,
• The checking of the LIN communication integrity.
the LINDLR register in case of LIN 1.3,
0
1
LCMD[2
0
1
x
]
Table 17-1 on page
LIN/UART Command List
LCMD[1
0
1
0
1
0
1
x
]
LCMD[0
Figure 17-5 on page
209, four functions controlled by the LCMD[1..0] bits of
0
1
0
1
0
0
1
1
x
]
Atmel ATmega16/32/64/M1/C1
Rx Header - LIN abort
Disable peripheral
Rx Response
Tx Response
Byte transfer
Command
Full duplex
Tx Header
Rx Byte
Tx Byte
208).
(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
209

Related parts for ATmega16M1 Automotive