Olimex Maxi ADC driver

Started by anhcsueb, December 12, 2018, 09:18:41 PM

Previous topic - Next topic

anhcsueb

I have the Maxi board and the latest ArchLinux image.

How do i use the adc function to read an analog sensor? IS the DC driver already in the image?

If it is, how can i take a look at the driver code?

I've searched the forum and it seems people built their own adc driver?


lambda

IIRC the link to the BSP kernel source code is burried somewhere in this forum. No idea where though.

Also the mainline kernel has a very good driver for the lradc, so using that might be preferable.

HTH,
Harald