GPIO programming for iMX53SMD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPIO programming for iMX53SMD

902 Views
SandeepKorrapat
Contributor I

Hi All,

I am pretty new to embedded programming. I would like to write a program Turn ON / OFF an LED. But, am little confused as to how one can configure IOMUX to select GPIO mode from a c/c++ code.

It would be great if someone can provide a sample code for this.

Thanks in advance.

-Sandeep

0 Kudos
2 Replies

527 Views
SandeepKorrapat
Contributor I

Hi Miroslav,

Yes I did, the problem with the other topics I have found are explained through API calls of Liunx.

For my project, I cannot use Linux calls, I have the memory regions of GPIO and the IOMUX registers from the refenrece manual. Now I have to use these address regions to set the IOMUX mode to GPIO and toggle GPIO.

It would be great if someone can provide an example for this.

0 Kudos

527 Views
MiroslavIMX53QS
Contributor I
0 Kudos