Hello,
I am working to implement the "8.3.5.3.2 Calibration for the Automatic LED DC Cancellation" from section 8.3.5.3.2 in the datasheet. However, I believe I am doing something incorrectly, as the code words I get back appear to be wrong, at times.
For instance, the values I read from the FIFO are: 16529817, 16529698. This leads to a calculation of:
CALIB_AACM_LOOP: 0x000fff
CHANNEL_OFFSET_AACM: 0x001e1c
However, at other times, I get more "correct" sounding numbers, in the low thousands. For example, I've also seen 4743, 4721 from the FIFO, which leads to:
CALIB_AACM_LOOP: 0x000fff
CHANNEL_OFFSET_AACM: 0x000009
Is there a way to check that I've followed the steps properly for this calibration? For instance, I'm not certain that I'm correctly setting IOFFDAC_PH and USE_AMB_DAC_FOR_LED.
Thank you,
Jonathan