How many GPIO Analogs ports IMX233 has got ?

Started by mauris, January 04, 2013, 05:08:22 PM

Previous topic - Next topic

mauris

Hey,
I'am a french user of the IMX233 board, (sorry for my english) I would like to know how many GPIO analogs ports IMX233 has got to work with analog data of sensors

Fadil Berisha

Hi mauris

Quote from: mauris on January 04, 2013, 05:08:22 PM
Hey,
I'am a french user of the IMX233 board, (sorry for my english) I would like to know how many GPIO analogs ports IMX233 has got to work with analog data of sensors
SoC imx233 has build in low rate multichannel ADC. Some of channels are used internally (temperature measurement etc) but some channels are available for other purposes. LRADC driver is available in new kernel 3.7 but I want to point on excellent work done by this forum member dpwhittaker related with LRADC. Have look at his fantastic kernel driver https://www.olimex.com/forum/index.php?topic=209.msg834#msg834.

Fadil Berisha

mauris

#2
Hi,
thank you for your reply
If I want use LRADC I must opgrade my kernel to 3.7 ( I run Archlinux 2.5.35) ?
I need of 8 analogs ports for my project, it is possible to hijack a GPIO port to make an analog port ?
and the link https://www.dropbox.com/sh/fbmucmbmh01zzyg/jxUuXOoiV5 is dead can you tell me where I can found the code ?

thank you again

Fadil Berisha

Quote from: mauris on January 06, 2013, 04:04:20 PM
I need of 8 analogs ports for my project, it is possible to hijack a GPIO port to make an analog port ?
GPIO are digital input/outputs so they will not accept analog inputs. One solution is to get AD convertor with SPI or i2c interface and connect in UEXT connector. Tell us more about your project, what resolution you need for AD?, what is sampling period?
Quote
and the link https://www.dropbox.com/sh/fbmucmbmh01zzyg/jxUuXOoiV5 is dead can you tell me where I can found the code ?
I don't have copy. Maybe someone else?
Fadil Berisha

drspastic

8 bit adc and an analogue switch, all available in standard cmos. you can use 8 of the gpio lines for data and 3 for address, that gives you 8 input 8bit analogue inputs, if your project starts running out of gpio remember that chip select lines operate tristate outputs so you can reuse the same 11 lines for other tasks and still keep it fairly realtime.

mauris

Hi,

To use GPIO analog ports i would like use this https://www.olimex.com/Products/Modules/IO/MOD-IO/ and i would like know if is compatible with the IMX233 board and how to share informations between the imx233 and this module

thank you

olimex

mod-io user manual explains how to use it, the commands are in the text file in the readme
there is also project on github which interface mod-io to imx233-olinuxino-maxi

mauris

for a other project i need that IMX233 (to control a device with GSM connected to GPIO input / output) I probably buy a A13 Olinuxino for my current project and take the IMX233 for my other other with GSM.
I would know if the A13 has got more GPIO Analog and input output ports than the IMX233