A20 LRADC

Started by cpilote, November 24, 2019, 04:12:09 AM

Previous topic - Next topic

cpilote

Hi! I'm new to the A20 development board and I would like to know if it's possible to have access to the value read by the LRADC pin.

Thank you

martinayotte

Quote from: cpilote on November 24, 2019, 04:12:09 AMHi! I'm new to the A20 development board and I would like to know if it's possible to have access to the value read by the LRADC pin.

Thank you
Download this http://dl.linux-sunxi.org/A20/A20%20User%20Manual%202013-03-22.pdf
Go to page 191 ...

cpilote

ok thank you. So I guess on the A20 board there is no way to access the values converted in a way that is similar to the GPIOs (ie /sys/class/*adc/ch...)?
thank you.

martinayotte

Quote from: cpilote on November 24, 2019, 08:12:48 PMok thank you. So I guess on the A20 board there is no way to access the values converted in a way that is similar to the GPIOs (ie /sys/class/*adc/ch...)?
thank you.
It doesn't seems that kernel has any driver for that.
You can use "devmem" tool to access those registers.