Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

40 bytes removed, 16:34, 9 January 2012
no edit summary
= Testing driver =
To make sure than driver works well, make the next test with , i used GPIO_136 (sdmmc2_dat4) and GPIO_137(sdmmc2_dat5) because IGEP v2 RC5 don't use them by default: <br>
'''NOTE: Make sure that MMC2_DAT4 and MMC2_DAT5 are not used, for ''' For more information visit this [[Mux configuration|page]]. With IGEP v2 RC5 (version without WIFI) this pins are not used by default. <br>
=== Configure Mux ===
signals: sdmmc2_dat5 | sdmmc2_dir_dat1 | cam_global_reset | sdmmc3_dat1 | gpio_137 | hsusb3_tll_stp | mm3_rxdp | safe_mode
</pre>
Note: OMAP_PIN_INPUT=Input and Output pin and OMAP_PIN_OUTPUT=Output pin.
=== Read/Write test ===
The text above show that driver work properly, GPIO_136 is configure like input and GPIO_137 is configure like output with value 0, now read GPIO_136 and the result is 0. To make sure configure GPIO_137 with value 1 and GPIO_136 read 1. <br> This driver have more options like IRQ, but is not explained here.
'''Under construction'''
<br> Other examples:[[What can I do with IGEP0020#How_to_handle_the_gpio-LED.27s]]
[[Category:Work_in_progress|Work_in_progress]][[Category:Communications]]
4,199
edits