Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: akhil on December 18, 2018, 02:40:09 pm

Title: Gpio mapping with the banks
Post by: akhil on December 18, 2018, 02:40:09 pm
Hello,

     I was trying a header file that maps the gpio pins. Below is the link from where i got the gpio-mmap.h file.
https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/iMX233/gpio-mmap.h

Could someone please help me with the mapping of the banks?
In this, the parameter to the gpio_output is bank and bit numbers and I am not sure where to find it. Any help is greatly appreciated!
Thank you
Akhil
Title: Re: Gpio mapping with the banks
Post by: lambda on December 19, 2018, 12:00:22 pm
Search the web for "i.MX23 Applications Processor Reference Manual" or IMX23RM.pdf

Do you bare metal or linux based programming? If you are on linux, I'd strongly recommend to use a kernel driver instead of writing to the registers directly.

HTH,
Harald