In my custom board I am using this IC ADC3660 to read the voltage input , calculate the transient values and record in NAND flash.
The ADC is controlled using SPI lines. I my case there was requirement of four ADC channel, so I have two 16bit ADCs.
In the custom board, I need to make sure that ADC is up and running, and also make sure that the values that are processed by the ADC IC is matching with the expected once.
These three things can be ensured by doing the following tests:-
0. Configuring the ADC: Through kernel how this can be achieved?
1.To see the connectivity and working of ADC is correct : XJTAG library for the IC ADC3660
2. To check the correctness of value: Write a simple application / kernel script that reads the adc and shows the corresponding values
I need help these points.
The zeroth point will make sure the sample rate ,.. are taken care of.
The first point will make sure that the ADC connections are appropriate (without firmware)
The second point will make sure that the ADC is responding to SPI and there is no discrepancy (with firmware).
Please provide me any reference with respect to these three points.
If the XJTAG library is available please share that too.
Below I am providing the snap from my schematic.
Thanks,
Sameeksh M Shetty