Post Go back to editing

About ADuCM33x ADC Offset/Gain Calibration

Hi Community,

I'm working with ADuCM331 for current measurement application but my code for ADC channel self offset and gain calibration looks not good.

According to the datasheet it looks that if a self offset calibration command(ADCMDE = 0x4) is triggered the all enabled ADCs will have the results. I got 0x4000 from ADC0DATA and 0x55AA from ADC1DATA. The first result looks not a valid result but I have no idea what could be wrong.

Does anybody can help me on this topic? Is there any demo code available for this or similar chip?

Thanks,

Bruce