Using the ADC from userspace on wp76xx

Hello

I would like to use the ADC on the WP76xx from userspace, how to do that ?

you can try the followings:

root@fx30:~# microcom /dev/ttyAT
at!madc?5
!MADC: 988 (mV)

OK
root@fx30:~# cm adc read EXT_ADC2
EXT_ADC2:552
root@fx30:~# cm adc read EXT_ADC0
EXT_ADC0:977
root@fx30:~# cm adc read EXT_ADC1
EXT_ADC1:1039
root@fx30:~# cm adc read EXT_ADC3
EXT_ADC3:1310

thanks, that worked perfect.

for wp76xx pin24, which one of the ADC it is ?

you can check PTS: