To write LUT data to the first NLF, use the NLF1 LUT_TARGET and NLF1 LUT_DATA registers. To write LUT data to the second NLF, use the NLF2 LUT_TARGET and NLF2 LUT_DATA registers.
Auto-Incrementing LUT_ADDR
To write into a target location, follow these steps:
- Set the target location by writing the target location data to the LUT_TARGET register
- Write LUT data to the LUT_DATA registerNote: To write LUT data to another target location, you must first set the target location again by writing the LUT_TARGET register. Then write the LUT data to the LUT_DATA register.
To avoid writing the LUT_TARGET register every time for writing LUT data into a same target LUT, a feature to auto-increment LUT_ADDR is available. After every write to the LUT_DATA register, the system increments the LUT_ADDR by one. After reaching the maximum value (255), the LUT_ADDR wraps up (to 0) with the next increment.
Write to the LUT_TARGET register to set LUT_ADDR to the value in the LUT_ADDR field of LUT_TARGET register. This feature allows you to set the target location with LUT_ADDR = 0, first location of the target LUT. You can write all 256 (0 to 255) locations of the target LUT sequentially by writing the LUT_DATA register 256 times.
LUT_Write_Broadcast so it broadcasts all the LUT writes to both
NLFs. Here, you can use NLF1 LUT_TARGET and NLF1 LUT_DATA registers.