ADC Usage on Atom UP2
Options
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
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral