Datasheet
243
7734Q–AVR–02/12
AT90PWM81/161
the value of the Fuse High byte (FHB) will be loaded in the destination register as shown below.
Refer to Table 21-5 on page 250 for detailed description and mapping of the Fuse High byte.
When reading the Extended Fuse byte, load 0x0002 in the Z-pointer. When an LPM instruction
is executed within three cycles after the BLBSET and SPMEN bits are set in the SPMCSR, the
value of the Extended Fuse byte (EFB) will be loaded in the destination register as shown below.
Refer to Table 21-4 on page 249 for detailed description and mapping of the Extended Fuse
byte.
Fuse and Lock bits that are programmed, will be read as zero. Fuse and Lock bits that are
unprogrammed, will be read as one.
20.7.10 Reading the Signature Row from Software
To read the Signature Row from software, load the Z-pointer with the signature byte address
given in Table 20-5 and set the SIGRD and SPMEN bits in SPMCSR. When an LPM instruction
is executed within three CPU cycles after the SIGRD and SPMEN bits are set in SPMCSR, the
signature byte value will be loaded in the destination register. The SIGRD and SPMEN bits will
auto-clear upon completion of reading the Signature Row Lock bits or if no LPM instruction is
executed within three CPU cycles. When SIGRD and SPMEN are cleared, LPM will work as
described in the ”AVR Instruction Set” description.
Bit 7654 3210
Rd FHB7 FHB6 FHB5 FHB4 FHB3 FHB2 FHB1 FHB0
Bit 7654 3210
Rd –––– EFB3EFB2EFB1EFB0
Table 20-5. Signature row addressing.
Signature Byte Address
AT90PWM81
data
AT90PWM161
data
Device ID 0, manufacturer ID 0x00 1EH 1EH
OSCAL 8M, RC-OSC calibration 0x01 XXH XXH
Device ID 1, flash size 0x02 93H 94H
Reserved 0x03 XXH XXH
Device ID 2, device 0x04 88H 8BH
Temperature sensor offset : TSOFFSET 0x05 XXH XXH
Reserved 0x06 XXH XXH
Temperature sensor gain : TSGAIN
(1)
0x07 XXH XXH
Lot number at sort, byte 2, ASCII 0x0E XXH XXH
Lot number at sort, Byte 1, ASCII (most left lot#) 0x0F XXH XXH
Lot number at sort, byte 2, ASCII 0x10 XXH XXH
Lot number at sort, Byte 1, ASCII 0x11 XXH XXH
Lot number at sort, byte 2, ASCII 0x12 XXH XXH
Lot number at sort, Byte 1, ASCII 0x13 XXH XXH
Final test Amb V
REF
: LOW BYTE
(2)
0x3C XXH XXH