7.3 Nonvolatile Memory (eFuse)
The ATWILC3000-MR110xA modules have 768 bits of nonvolatile eFuse memory that can be read by the CPU after a device reset. The eFuse is partitioned into six 128-bit banks (Bank 0 – Bank 5). Each bank has the same bit map (see the following figure). The purpose of the first 108 bits in each bank is fixed and the remaining 20 bits are general-purpose software dependent bits, or reserved for future use. Currently, the Bluetooth address is derived from the Wi-Fi MAC address such that the Bluetooth address = the Wi-Fi MAC address + 1.
- MAC address
- Calibration information (crystal frequency offset and so on)
- Other software-specific configuration parameters
- Invalidate the contents of Bank 1 by programming the Bank Invalid bit field of Bank 1.
- Program Bank 2 with the new MAC address along with the values of ADC Calib (if used in Bank 1), Frequency Offset (from Bank 1), IQ Amp Correction (from Bank 1) and IQ Pha Correction (from Bank 1). The Used bit field for each corresponding value bit field must also be programmed.
- Validate the contents of Bank 2 by programming the Bank Used bit field of Bank 2.
Each bit field (i.e., MAC Address, ADC Calibration, Frequency Offset, IQ Amp Correction, and IQ Pha Correction) has its corresponding Used bit field. Each Used bit field indicates the firmware that the value in the related bit field is valid. A value of '0' in the Used bit field indicates that the following bit field is invalid and a value of '1' programmed to the Used bit field indicates that the corresponding bit field is valid and can be used by firmware. By default, ATWILC3000-MR110xA modules are programmed with the MAC address, ADC Calib, Frequency Offset bits, IQ Amp and IQ Phase fields of Bank 1.
The matrix table below provides details on how different versions of the firmware would handle the IQ Amp Used, IQ Amp Correction, IQ Pha Used and IQ Pha Correction bit fields during Initialization.
Firmware Version Used by Customer | IQ Amp Used and IQ Pha Used Bit Status | |
---|---|---|
Device with IQ Amp Used and IQ Pha Used Bits with Value ‘1’ | Device with IQ Amp Used and IQ Pha Used Bits with Value ‘0’ | |
15.3 or later for WILC Linux 4.5 or later for WILC RTOS |
The firmware loads the IQ calibration values from the IQ Amp Correction and IQ Pha Correction bit fields of the corresponding eFuse bank and proceeds with Initialization. |
The firmware ignores the values in the IQ Amp Correction and IQ Pha Correction bit fields and proceeds with Initialization. |
Prior to 15.3 for WILC Linux Prior to 4.5 for WILC RTOS |
The firmware does not check for the IQ Amp Used and IQ Pha Used bit fields and proceeds with Initialization. |