7.5.7 Programming On-Chip OTP Memory
The OTP memory can only be written once. To permanently program the OTP memory in registers 0x16 through 0x1A, use the following steps:
- Write registers 0x16 through 0x1A with the desired configuration and calibration values which provide satisfactory performance.
- Ensure that the supply voltage (VDD) is between 4 V and 4.4 V. This voltage is required for the nonvolatile memory to program properly.
- Set the OTP_PROGRAM bit by writing a value of 0x01 to register 0x1E. When the OTP memory is written which can only occur once in the device, the OTP_STATUS bit (in register 0x1E) only reads 1.
- Reset the device by power cycling the device or setting the DEV_RESET bit in register 0x01, and then read registers 0x16 to 0x1A to ensure that the programmed values were retained.