Configuring pins in IMX6ULEVK

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

Configuring pins in IMX6ULEVK

ソリューションへジャンプ
2,438件の閲覧回数
chandraevolute
Contributor V


When I did cat /sys/kernel/debug/gpio

below is the output i got.

GPIOs 0-31, platform/209c000.gpio, 209c000.gpio:

gpio-3   (tsc_X-              ) in  hi

gpio-9   (VSD_3V3             ) out lo

gpio-19  (2190000.usdhc cd    ) in  hi

GPIOs 32-63, platform/20a0000.gpio, 20a0000.gpio:

GPIOs 64-95, platform/20a4000.gpio, 20a4000.gpio:

GPIOs 96-127, platform/20a8000.gpio, 20a8000.gpio:

gpio-119 (?                   ) out lo

GPIOs 128-159, platform/20ac000.gpio, 20ac000.gpio:

gpio-131 (?                   ) out lo

gpio-132 (headset detect      ) in  lo

gpio-135 (spi32766.0          ) out lo

gpio-136 (?                   ) out lo

gpio-138 (spi4.14             ) out lo

gpio-139 (spi4.14             ) out lo

GPIOs 248-255, spi/spi32766.0, 74hc595, can sleep:

what does this mean??

I want to configure gpio1_IO00 pin as I/O. I will connect a switch. whenever a switch is pressed it should generate a interrupt. and it should servie the ISR.

ラベル(3)
0 件の賞賛
返信
1 解決策
2,114件の閲覧回数
art
NXP Employee
NXP Employee

For detailed information on GPIO configuration and operation, please refer to the Chapter 3 "Machine-Specific Layer (MSL)", especially, to the IOMUX and GPIO sections, of the attached document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,115件の閲覧回数
art
NXP Employee
NXP Employee

For detailed information on GPIO configuration and operation, please refer to the Chapter 3 "Machine-Specific Layer (MSL)", especially, to the IOMUX and GPIO sections, of the attached document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
2,114件の閲覧回数
chandraevolute
Contributor V

Thank you Artur.

Now I am able to configure the GPIOS and write high and low for the same. I am able to use gpio_keys, gpio_leds and normal Gpio driver.

0 件の賞賛
返信