User's Manual
Table Of Contents
AVR2043
5
8345A-AVR-11/10
Pin# Function Pin# Function
27 PB3 (open) 28 PB2 (RSTN)
29 PB1 (MCLK) 30 PB0 (open)
31 PD7 (SLPTR) 32 PD6 (DIG2)
33 PD5 (TP2) 34 PD4 (open)
35 PD3 (TP3) 36 PD2 (IRQ)
37 PD1 (TP4) 38 PD0 (open)
39 GND 40 EE#WP (write protect EEPROM)
4.2 ID EEPROM
To identify the board type by software, an optional identification (ID) EEPROM is
populated. Information about the board, the node MAC address, and production
calibration values are stored here. An Atmel AT25010A [8] with 128 x 8-bit
orga
nization and SPI bus is used because of its small package and low-voltage / low-
power operation.
The SPI bus is shared between the EEPROM and the transceiver. The select signal
for each SPI slave (EEPROM, radio transceiver) is decoded with the reset line of the
transceiver, RSTN. Therefore, the EEPROM is addressed when the radio transceiver
is held in reset (RSTN = 0) (see Figure 4-2).
Figure 4-2. EEPROM access decoding logic (A
Tmega1281 configuration).
>1
>1
PB5 (RSTN)
SEL#
RSTN
SPIPB1..3 (SPI)
Transceiver
AT86RF231
On-Board
EEPROM
PB0 (SEL)
/RST
/SEL
#CS
The EEPROM data is written during board production testing. A unique serial number,
the MAC address
1
, and calibration values are stored. These can be used to optimize
system performance.
Final products do not require this external ID EEPROM. All data can be stored directly
within the microcontroller’s internal EEPROM.
Table 4-3 shows
a detailed description of the EEPROM data structure.
Table 4-3. ID EEPROM mapping.
Address Name Type Description
0x00 MAC address uint64 MAC address for the 802.15.4 node, little endian byte order
0x08 Serial number uint64 Board serial number, little endian byte order
1
Note: MAC addresses used for this package are Atmel property. The use of these
MAC addresses for development purposes is permitted.