Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 90237

Forum Post: ADC084S021: I want to know to how get the adc value from ADC084S021.

$
0
0
Part Number: ADC084S021 Tool/software: I am a beginner who has never worked with SPI before. Do you have an example code for controlling the ADC084S021 ? If not, I would at least need a pseudocode to understand how to control it. From my understanding, if I want to measure the ADC value coming into IN2 , I need to write 0x80 via SPI (since IN2 corresponds to that register value) and then read the data, which should be the ADC value for IN2. However, I keep getting incorrect values instead of the expected results.

Viewing all articles
Browse latest Browse all 90237

Trending Articles