How to Access Onboard ADC (ADC124S101) on UP Squared Pro Using AAEON SDK?

Hi all,
I'm using the UP Squared Pro board with Windows and developing via Visual Studio. I’d like to read analog voltages from the onboard ADC (ADC124S101) using the AAEON SDK.
Has anyone successfully done this?
Which SPI ID and chip select (CS) are used for the onboard ADC?
Can it be accessed using the SDK’s SPI APIs?
Do I need to configure anything in BIOS or drivers to enable it?
If SDK access isn’t possible, is there an alternative way to use the ADC under Windows?
Any help or example code would be much appreciated!
Thanks!
Answers
-
Hi @ganeshmr07
Please refer to the link:
https://github.com/aaeonaeu/win-demo-apps/tree/master/UPBusToolhttps://github.com/aaeonaeu/win-demo-apps/tree/master/UPNetBusTool
Make sure HAT SPI is enabled in the BIOS.
Advanced > HAT ConfigurationBest Regards,
Harry Chiu