This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AMC1210: AMC1210 Integration mode, Timer overflow

Part Number: AMC1210

Dear support forum,

I try to use the AMC1210 to measure a voltage for a longer period of time (~11ms). 
Therefore, I enable the integrator mode 1 and have a look into the registers every 2ms. 

The clock frequency is 20MHz and thus, the timer shall overflow every 3.28ms. Thus, looking on the register every 2ms shall be enough.

If an overflow occured, the number overlfows during the conversion is stored and used after ~11ms for evaluation.

So far, most of the timer, 3 overflow occure which is perfectly correct. But for some reason, when a certain voltage threshold is reached (in our case ~ 0.64V ), sometimes the overflow flag seems to be missing once. 

This probablity increases, when the voltage increases even further. 

My question here is, whether it may be a known issue that the overflow flag is somehow not correctly set?

Kind regards

Sebastian 

  • Hi Sebastian,

    Can you please clarify what this line means?

    "If an overflow occured, the number overlfows during the conversion is stored and used after ~11ms for evaluation."

    Are you measuring continuously at 11ms intervals or only for single capture at 11ms?

    It's possible that the device is missing the selected sample and hold transition, thus not updating correctly. My experience with this device is limited, let me reach out to another team member to see if they have any insight. 

  • Hi Sebastian,

    The recommendation is to synchronize SHx to the respective clock. If this does not work, can you please provide additional information?  

    1. What registers are being written and what values?

    1a. TM0 or TM1?

    2. A more detailed timing/application diagram would help.

    3. What does the acquisition loop look like? (interrupts etc...)