Serial programming characteristics, Figure 88, Atmega163(l) – Rainbow Electronics ATmega163L User Manual

Page 136

Advertising
background image

ATmega163(L)

136

Note:

a = address high bits
b = address low bits
H = 0 - Low byte, 1 - High Byte
o = data out
i = data in
x = don’t care
1 = lock bit 1
2 = lock bit 2
3 = Boot Lock Bit01
4 = Boot Lock Bit02
5 = Boot Lock Bit11

6 = Boot Lock Bit12
7 = CKSEL0 Fuse
8 = CKSEL1 Fuse
9 = CKSEL2 Fuse
A = CKSEL3 Fuse
B= BODEN Fuse
C= BODLEVEL Fuse
D= BOOTRST Fuse
E= BOOTSZ0 Fuse
F= BOOTSZ1 Fuse

Serial Programming Characteristics

Figure 88. Serial Programming Timing

Read Signature Byte

0011 0000

xxxx xxxx

xxxx xxbb

oooo oooo

Read Signature Byte o at address
b.

Write Fuse Bits

1010 1100

1010 0000

xxxx xxxx

CB

11 A987

Set bits C- A, 9 - 7 = ’0’ to program,
‘1’ to unprogram

Write Fuse High Bits

1010 1100

1010 1000

xxxx xxxx

1111 1FED

Set bits F - D = ’0’ to program, ‘1’ to
unprogram

Read Fuse Bits

0101 0000

0000 0000

xxxx xxxx

CB

xx A987

Read Fuse bits. ’0’ = programmed,

‘1’ = unprogrammed

Read Fuse High Bits

0101 1000

0000 1000

xxxx xxxx

xxxx 1FED

Read Fuse high bits. ’0’ = pro-
grammed, ‘1’ = unprogrammed

Read Calibration Byte

0011 1000

xxxx xxxx

0000 0000

oooo oooo

Read Signature Byte o at address
b.

Table 60. Serial Programming Instruction Set (Continued)

Instruction

Instruction Format

Operation

Byte 1

Byte 2

Byte 3

Byte4

MOSI

MISO

SCK

t

OVSH

t

SHSL

t

SLSH

t

SHOX

t

SLIV

Advertising