
153
8048C–AVR–02/12
ATtiny43U
19.6.14
Reading the Calibration Byte
page 147 for details on Command and Address loading):
1.
A: Load Command “0000 1000”.
2.
B: Load Address Low Byte, 0x00.
3.
Set OE to “0”, and BS1 to “1”. The Calibration byte can now be read at DATA.
4.
Set OE to “1”.
19.7
Serial Programming
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-
Figure 19-7. Serial Programming and Verify
Note:
If clocked by internal oscillator there is no need to connect a clock source to the CLKI pin.
After RESET is set low, the Programming Enable instruction needs to be executed first before
program/erase operations can be executed
Table 19-14. Pin Mapping Serial Programming
Symbol
Pins
I/O
Description
MOSI
PB4
I
Serial Data in
MISO
PB5
O
Serial Data out
SCK
PB6
I
Serial Clock
VCC
GND
SCK
MISO
MOSI
RESET/PA7
+1.8 - 5.5V
PB4
PB5
PB6