3.2 NVM Programming
Devices have two categories of non-volatile memory: user NVM and Factory (Silabs) NVM. Each type is segmented into NVM banks.
There are three NVM banks, one of which is used for factory programming (whether a base part or an Orderable Part Number). Two
user NVM banks remain; therefore, the device NVM can be re-burned in the field up to two times. Factory NVM cannot be modified, and
contains fixed configuration information for the device.
The ACTIVE_NVM_BANK device setting can be used to determine which user NVM bank is currently being used and therefore how
many banks, if any, are available to burn. The following table describes possible values:
Table 3.2. NVM Bank Burning Values
Active NVM BANK Value (Deci-
mal)
Number of User Banks Burned Number of User Banks Available to Burn
3 (factory state)
1
2
15
2
1
63
3
0
Note: While polling DEVICE_READY during the procedure below, the following conditions must be met to ensure the correct values are
written into the NVM:
• VDD and VDDA power must both be stable throughout the process.
• No additional registers may be written or read during DEVICE_READY polling. This includes the PAGE register at address 0x01.
DEVICE_READY is available on every register page, so no page change is needed to read it.
• Only the DEVICE_READY register (0xFE) should be read during this time.
The procedure for writing registers into NVM is as follows:
1. Write registers as needed for desired device operation. Verify device operation to ensure the device is configured correctly before
preceeding. Do not skip this important step.
2. You may write to the user scratch space (Registers 0x026B to 0x0272 DESIGN_ID0-DESIGN_ID7) to identify the contents of the
NVM bank.
3. Write 0xC7 to NVM_WRITE register. This starts the internal NVM burn sequence, writing NVM from the internal registers. Do not
access ANY other registers than DEVICE_READY during the NVM burn process. Doing so may corrupt the NVM burn in progress.
4. Poll DEVICE_READY until DEVICE_READY=0x0F (waiting for completion of NVM burn sequence).
5. Set NVM_READ_BANK 0x00E4[0]=1. This will download the NVM contents back into non-volatile memory (registers).
6. Poll DEVICE_READY until DEVICE_READY=0x0F (waiting for NVM download to complete).
7. Read ACTIVE_NVM_BANK and verify that the value is the next highest value in the table above. For example, from the factory it
will be a 3. After NVM_WRITE, the value will be 15.
Alternatively, steps 5 and 6 can be replaced with a Hard Reset, either by RSTb pin, HARD_RST register bit, or power cycling the device
to generate a POR. All of these actions will load the new NVM contents back into the device registers.
The ClockBuilder Pro Field Programmer kit is a USB attached device to program supported devices either in-system (wired to your
PCB) or in-socket (by purchasing the appropriate field programmer socket). ClockBuilder Pro software is then used to burn a device
configuration (project file). Learn more at
https://www.silabs.com/products/development-tools/timing/cbprogrammer
.
Table 3.3. NVM Programming Registers
Register Name
Hex Address
[Bit Field]
Function
ACTIVE_NVM_BANK
0x00E2[7:0]
Identifies the active NVM bank.
NVM_WRITE
0x00E3[7:0]
Initiates an NVM write when written with value 0xC7.
NVM_READ_BANK
0x00E4[0]
Download register values with content stored in NVM.
DEVICE_READY
0x00FE[7:0]
Indicates that the device is ready to accept commands when
value = 0x0F.
Si5341, Si5340 Rev D Family Reference Manual • Powerup and Initialization
Skyworks Solutions, Inc. • Phone [781] 376-3000 • Fax [781] 376-3100 • [email protected] • www.skyworksinc.com
13
Rev. 1.3 • Skyworks Proprietary Information • Products and Product Information are Subject to Change Without Notice • July 26, 2021
13