Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: anhcsueb on December 12, 2018, 09:18:41 PM

Title: Olimex Maxi ADC driver
Post by: anhcsueb on December 12, 2018, 09:18:41 PM
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?

Title: Re: Olimex Maxi ADC driver
Post by: lambda on December 13, 2018, 10:35:30 PM
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