Download Print this page

AcSiP AI7688H Reference Manual page 47

Advertisement

Switch the PinMux
Please refer to the "02_ProductSpec" Page 11. You can see each pin takes
multiple functions. For example, the EPHY_LED pin can act as an Ethernet LED
or a GPIO.
In this section, you'll learn how to use the mt7688_pinmux command to assign
a different functionality to the pin.
Synopsis
mt7688_pinmux get
mt7688_pinmux set <group> <function>
Description
In the system console of the AI7688H development board, enter
mt7688_pinmux get to query the current pinmux status:
root@mylinkit:/# mt7688_pinmux get
Group i2c - [i2c] gpio
Group uart0 - [uart] gpio
Group uart1 - [uart] gpio
Group uart2 - [uart] gpio pwm
Group pwm0 - [pwm] gpio
Group pwm1 - [pwm] gpio
Group refclk - refclk [gpio]
Group spi_s - spi_s [gpio]
Group spi_cs1 - [spi_cs1] gpio refclk
Group i2s - i2s [gpio] pcm
Group ephy - [ephy] gpio
Group wled - [wled] gpio
-43-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date
2019/08/08

Advertisement

loading

This manual is also suitable for:

Ek-ai7688h