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: Example code

Part Number: AMC1210
Other Parts Discussed in Thread: AMC1204

I am using AMC1210 chip with AMC1204 to read analog inputs. The interface with the processor is on SPI.

If any example code is available, it will be helpful.

Thanks & Regards

Monika

  • AMC1210_PAR.zip

    Hi Monika,

    Welcome to our e2e Fourm! Unfortunately, I do not have any SPI code for use with the AMC1210 device. I'll see if I can get you at least a header file that might help with the register detail.

  • Thank a lot Mr. Tom. This will definitely be useful.
  • Hi Tom,
    I am using SPI interface to read AMS1210. However I am getting fluctuating data register values for fixed DC voltage input given at AMC1204 input.
    The configuration registers programmed are as follows.
    Control Parameter : 0x0010
    Sinc filter: 0x0F1F
    Intergrator Parameter: 0x0000
    High Level Threshold: 0x7FFF (default)
    Low Level Threshold: 0x0000(default)
    Comparator : 0x0000 (default)
    Control Register: 0x2000
    Clock Divider: 0x0810
    I have tried by making integrator ON, however there is no effect.
    What can be the reason for the fluctuation? How to make the data stable?

    Thanks & Regards