Page 1 of 1

ADC Specification and how to connect

Posted: Thu Oct 13, 2022 1:08 pm
by Robert
Question I can see that there is a ADC module, but it is not clear how to configure the 2 ADC channels and connected to the external world.

QL Answer>>
EOS S3 has two channel of ADC, on the QuickFeather and BGA package, and 1 channel on the WLCSP package

It is a 12-bit ∑Δ Analog-to-Digital Converter (ADC), normally used to measure battery voltage level. If you look at the schematic for QuickFeather you will see that ADC0 is connected to the VBAT
ADC0.PNG
ADC0.PNG (16.25 KiB) Viewed 19664 times

ADC1 Is available on J3 pin 11
ADC1.PNG
ADC1.PNG (33.42 KiB) Viewed 19664 times
The specification of the ADC is as follows
ADC_Table.PNG
ADC_Table.PNG (150.49 KiB) Viewed 19664 times

The HAL source code is available in the QORC software in the qorc-sdk/HAL/src/eoss3_hal_adc.c file.

Re: ADC Specification and how to connect

Posted: Wed Oct 19, 2022 1:21 pm
by Robert
Example configuration for the ADC can be found at https://github.com/QuickLogic-Corp/qorc ... a89816863f
ADC.PNG
ADC.PNG (16.69 KiB) Viewed 18796 times
battery level monitor for quickfeather firmware in the above link