GPIO programming for iMX53SMD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPIO programming for iMX53SMD

1,537件の閲覧回数
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

タグ(2)
0 件の賞賛
返信
2 返答(返信)

1,162件の閲覧回数
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 件の賞賛
返信

1,162件の閲覧回数
MiroslavIMX53QS
Contributor I
0 件の賞賛
返信