283
4317I–AVR–01/08
AT90PWM2/3/2B/3B
25.4
Signature Bytes
All Atmel microcontrollers have a three-byte signature code which identifies the device. This
code can be read in both serial and parallel mode, also when the device is locked. The three
bytes reside in a separate address space.
25.4.1
Signature Bytes
For the AT90PWM2/3 the signature bytes are:
1.
0x000: 0x1E (indicates manufactured by Atmel).
2.
0x001: 0x93 (indicates 8KB Flash memory).
3.
0x002: 0x81 (indicates AT90PWM2/3 device when 0x001 is 0x93).
For the AT90PWM2B/3B the signature bytes are:
1.
0x000: 0x1E (indicates manufactured by Atmel).
2.
0x001: 0x93 (indicates 8KB Flash memory).
3.
0x002: 0x83 (indicates AT90PWM2B/3B device when 0x001 is 0x93).
25.5
Calibration Byte
The AT90PWM2/2B/3/3B has a byte calibration value for the internal RC Oscillator. This byte
resides in the high byte of address 0x000 in the signature address space. During reset, this byte
is automatically written into the OSCCAL Register to ensure correct frequency of the calibrated
RC Oscillator.
25.6
Parallel Programming Parameters, Pin Mapping, and Commands
This section describes how to parallel program and verify Flash Program memory, EEPROM
Data memory, Memory Lock bits, and Fuse bits in the AT90PWM2/2B/3/3B. Pulses are
assumed to be at least 250 ns unless otherwise noted.
25.6.1
Signal Names
In this section, some pins of the AT90PWM2/2B/3/3B are referenced by signal names describing
their functionality during parallel programming, see
. Pins not
described in the following table are referenced by pin names.
The XA1/XA0 pins determine the action executed when the XTAL1 pin is given a positive pulse.
The bit coding is shown in
When pulsing WR or OE, the command loaded determines the action executed. The different
Commands are shown in