5 Non-Volatile Memory Information

The SAM R21 provides a user readable Non-Volatile Memory (NVM) space referred to as the user row in the data sheet. The base address for the application is 0x804008.

Table 5-1. NVM (User Row) Data
Offset AddressField NameField DescriptionLength
+0x00MIB_REVISIONData structure revision 0x15012 Bytes
+0x02MAC_IEEE_ADDRESSModule specific IEEE MAC Address8 Bytes
+0x0ABOARD_SERIALModule specific serial number10 Bytes
+0x14ATMEL_PART_NOProduct specific part number8 Bytes
+0x1CPCBA_REVProduct PCB/assembly revision1 Byte
+0x1DXTAL_TRIMReference crystal calibration value1 Byte
+0x1ECRC16Checksum for this data structure, CCITT CRC-162 Bytes

The end user application software has to copy two data fields to radio transceiver registers. The data in MAC_IEEE_ADDRESS have to be copied to the registers IEEE_ADDR_0 to _7. The MAC_IEEE_ADDRESS is stored little endian with the LSB stored at the lowest address.

The XTAL_TRIM value is determined during production test and needs to be copied to the transceiver XTAL_TRIM section inside the XOSC_CTRL register. This reduces the absolute deviation for the 16 MHz reference crystal. For parameter details, see Module Performance Data.