ADC Usage on Atom UP2

niharG
New Member Posts: 7 ✭
I have the Atom-based UP2 and with the aaeon UP2 kernel, I am able to see ADC values in /sys/bus/iio/devices/iio:device0/in_voltage*. However, I can't find any documentation on the voltage ranges or scaling in the datasheets, wikis, or even the ADC instructions here https://downloads.up-community.org/download/how-to-access-adc-for-up-squared-atom/.
I'm specifically looking for:
- What is the ADC range (0-3.3V? 0-5V?).
- Are the ADC pins 5V tolerant even if the full scale range is lower than 5V?
- How does one interpret the
in_voltage*_raw
values? I'm not sure what the scale factor is. - Can the ADC resolution be configured? I assume this is what
in_voltage_scale
is for, but I'm not sure how to use it (cannot cat the file).
I appreciate any information that can be shared about the ADC!
Categories
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 548 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 10 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral