User Tools

Site Tools


pinusage

This is an old revision of the document!


Special Pins

GPIO0		Controls Boot Mode
GPIO1		UART TX pin
GPIO2		Controls Boot Mode
GPIO3		UART RX pin
GPIO6		SDIO/Flash CLK pin
GPIO7		SDIO/Flash Data 0 pin
GPIO8		SDIO/Flash Data 1 pin
GPIO9		SDIO/Flash Data 2 pin (qio/qout only)
GPIO10		SDIO/Flash Data 3 pin (qio/qout only)
GPIO11		SDIO/Flash CMD pin
GPIO12		Attached to Hardware SPI controller MISO
GPIO13		Attached to Hardware SPI controller MOSI
GPIO14		Attached to Hardware SPI controller CLK
GPIO15		Controls Boot Mode; Attached to Hardware SPI controller CS
GPIO16		Special pin that can be accessed from RTC, and is Deep-Sleep wakeup pin
TOUT aka GPIO17	ADC pin for measuring voltages, can only be used as analog input pin

This means effectively only the following pins can be used as general purpose GPIO:

Pin	Restrictions	State after Reset
-----------------------------------------
GPIO0	If HIGH on boot	Weak Pull Up
GPIO2	If HIGH on boot	Weak Pull Up
GPIO4			High Impedance
GPIO5			High Impedance
GPIO6			Weak Pull Up
GPIO12			Weak Pull Up
GPIO13			Weak Pull Up
GPIO14			Weak Pull Up
GPIO15	If LOW on boot	Weak Pull Up
GPIO16			Has pull-down (but no pull-up) resistor	Weak Pull Down
pinusage.1779610450.txt.gz · Last modified: by jwan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki