Welcome, Guest

Author Topic: How many GPIO Analogs ports IMX233 has got ?  (Read 4384 times)

mauris

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
How many GPIO Analogs ports IMX233 has got ?
« 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
« Last Edit: January 04, 2013, 05:11:40 PM by mauris »

Fadil Berisha

  • Full Member
  • ***
  • Posts: 124
  • Karma: +7/-0
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #1 on: January 04, 2013, 05:53:49 PM »
Hi 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
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

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #2 on: January 06, 2013, 04:04:20 PM »
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
« Last Edit: January 06, 2013, 04:47:50 PM by mauris »

Fadil Berisha

  • Full Member
  • ***
  • Posts: 124
  • Karma: +7/-0
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #3 on: January 06, 2013, 05:13:39 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

  • Full Member
  • ***
  • Posts: 105
  • Karma: +0/-0
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #4 on: January 06, 2013, 07:38:42 PM »
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

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #5 on: January 13, 2013, 11:28:17 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 815
  • Karma: +22/-3
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #6 on: January 13, 2013, 08:07:02 PM »
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

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: How many GPIO Analogs ports IMX233 has got ?
« Reply #7 on: January 13, 2013, 11:13:50 PM »
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