Example: Configure MIO pin 6 as a GPIO signal - Example: Configure MIO pin 6 as a GPIO signal - 1.15 English - UG585

Zynq 7000 SoC Technical Reference Manual (UG585)

Document_ID
UG585
Release_Date
2026-02-06
Version
1.15 English
  1. Select MIO pin as GPIO: Set L0_SEL, L1_SEL, L2_SEL, L3_SEL = 0.
  2. Set TRI_ENABLE = 0.
  3. LVCMOS18 (refer to the register definition for other voltage options).
  4. Slow CMOS edge.
  5. Enable internal pull-up resistor.
  6. Disable HSTL receiver.
Note: If TRI_ENABLE=1, then the output is 3-stated regardless of any GPIO settings. If TRI_ENABLE= 0, then 3-state is controlled by the gpio.OEN_x register.