ATtiny167 Automotive Atmel Corporation, ATtiny167 Automotive Datasheet - Page 278

no-image

ATtiny167 Automotive

Manufacturer Part Number
ATtiny167 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny167 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
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
3
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
29. Errata
29.1
29.1.1
29.1.2
29.1.3
29.2
278
Errata Summary
Errata Description
ATtiny87/ATtiny167
ATtiny87/167 RevC
ATtiny87/167 RevB (Date code >1208)
ATtiny167 RevA (Date code >1207)
1. CRC calculation of diagnostic frames in LIN 2.x.
• Gain control of the crystal oscillator.
• ‘Disable Clock Source’ command remains enabled.
• Gain control of the crystal oscillator.
• ‘Disable Clock Source’ command remains enabled.
• LIN Break Delimiter.
• CRC calculation of diagnostic frames in LIN 2.x.
• Gain control of the crystal oscillator.
• ‘Disable Clock Source’ command remains enabled.
• Comparison between ADC inputs and voltage references.
• Register bits of DIDR1.
• LIN Break Delimiter.
Diagnostic frames of LIN 2.x use “classic checksum” calculation. Unfortunately, the setting
of the checksum model is enabled when the HEADER is transmitted/received. Usually, in
LIN 2.x the LIN/UART controller is initialized to process “enhanced checksums” and a
slave task does not know what kind of frame it will work on before checking the ID.
Problem fix / workaround.
This workaround is to be implemented only in case of transmission/reception of diagnostic
frames.
a. Slave task of master node:
b. For slaves nodes, the workaround is in 2 parts:
Before enabling the HEADER, the master must set the appropriate LIN13 bit value in
LINCR register.
– Before enabling the RESPONSE, use the following function:
void
unsigned char
}
temp = LINBTR;
LINCR = 0x00;
LINBTR = (1<<LDISR)|temp;
LINCR
LINDLR = 0x88;
lin_wa_head(void) {
= (1<<LIN13)|(1<<LENA)|(0<<LCMD2)|(0<<LCMD1)|(0<<LCMD0);
temp;
// It is not a RESET !
// If it isn't already done
7728G–AVR–06/10

Related parts for ATtiny167 Automotive