attiny167-esxz ATMEL Corporation, attiny167-esxz Datasheet - Page 228

no-image

attiny167-esxz

Manufacturer Part Number
attiny167-esxz
Description
8-bit Avr 8-bit Microcontroller Microcontroller With 16k Bytes In-system Programmable Flash And Lin Controller
Manufacturer
ATMEL Corporation
Datasheet
21.8
228
Serial Downloading
ATtiny167
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 read
4. Set OE to “1”.
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 (out-
put). After RESET is set low, the Programming Enable instruction needs to be executed 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 programming
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.
Depending on CKSEL Fuses, a valid clock must be present. The minimum low and high periods
for the serial clock (SCK) input are defined as follows:
at DATA.
In
cated for the internal SPI interface.
1. If the device is clocked by the internal Oscillator, it is no need to connect a clock source to the
Symbol
MOSI
MISO
SCK
Table
XTAL1 pin
21-13, the pin mapping for SPI programming is listed. Not all parts use the SPI pins dedi-
MOSI
MISO
SCK
Pin Name
PA4
PA2
PA5
b
”.
RESET / PB7
PA4
PA2
PA5
GND
I/O
O
I
I
Function
Serial Data In
Serial Data Out
Serial Clock
(1)
Vcc
+2.7 - +5.5V
7728A–AUTO–07/08

Related parts for attiny167-esxz