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.

AMC7836: Setting for Auto mode operation...

Part Number: AMC7836

Dear Sirs,

May I know how to set AMC7863 for auto mode operation?

My customer set 0x0F bit4=1, after the trigger, the data that read from address 0x20~0x3E are all 0.

However, while in the direct mode, all read data are correct!

Please help to advise the setting of auto mode or is there any sample code for reference?

Thanks.

  • Hi Peter,

    The AMC requires that you write to the ADC UPDATE bit before you read the ADC values.  In direct mode, the ADC registers are updated after the sample, but in auto mode the register are only updated after the ADC UPDATE command.   This is to prevent mismatches between the HIGH and LOW byte of different conversions.

    For auto mode you should do this:

    1. Set the ADC in auto mode

    2. Trigger the ADC

    Loop:

    1. Write ADC UPDATE

    2. Read the desired channels.