ATtiny167 Automotive Atmel Corporation, ATtiny167 Automotive Datasheet - Page 238

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
21.7.15
21.8
238
Serial Downloading
ATtiny87/ATtiny167
Reading the Temperature Sensor Parameter Bytes
The algorithm for reading the Temperature Sensor parameter bytes is as follows (refer to
gramming the Flash” on page 232
Both the Flash and EEPROM memory arrays can be programmed using the serial SPI bus
while RESET is pulled to GND. The serial interface consists of pins SCK, MOSI (input) and
MISO (output). After RESET is set low, the Programming Enable instruction needs to be exe-
cuted first before program/erase operations can be executed.
Note:
Figure 21-7. Serial Programming and Verify
Note:
Table 21-13. Pin Mapping Serial Programming
When programming the EEPROM, an auto-erase cycle is built into the self-timed program-
ming operation (in the Serial mode ONLY) and there is no need to first execute the Chip Erase
instruction. The Chip Erase operation turns the content of every memory location in both the
Program and EEPROM arrays into 0xFF.
1. A: Load Command “0000 1000
2. B: Load Address Low Byte, 0x0003 or 0x0005.
3. Set OE to “0”, and BS1 to “1”. The Temperature Sensor parameter byte can now be
4. Set OE to “1”.
read at DATA.
In
dedicated for the internal SPI interface.
If the device is clocked by the internal Oscillator, it is no need to connect a clock source to the
XTAL1 pin
Symbol
MOSI
MISO
SCK
Table
21-13, the pin mapping for SPI programming is listed. Not all parts use the SPI pins
MOSI
MISO
SCK
Pin Name
PA4
PA2
PA5
for details on Command and Address loading):
RESET / PB7
PA4
PA2
PA5
GND
b
”.
I/O
O
I
I
Function
Serial Data In
Serial Data Out
Serial Clock
(Note:)
Vcc
+2.7 - +5.5V
7728G–AVR–06/10
“Pro-

Related parts for ATtiny167 Automotive