pinmux
Note that many pin functions of the Duo series are multiplexed. When using applications (such as wiringX, pinpong) to control the functions of each pin, it is important to confirm the current state of the pin to ensure it matches the desired functionality. If it doesn't, you can use the duo-pinmux command to switch it to the desired function.
The pin names for Duo and Duo256M
For Duo pin multiplexing function, please refer to: Duo GPIO Pinout
For Duo256M pin multiplexing function, please refer to: Duo256M GPIO Pinout
| PIN NAME | Pin# | Pin# | PIN NAME |
|---|---|---|---|
| GP0 | 1 | 40 | VBUS |
| GP1 | 2 | 39 | VSYS |
| GND | 3 | 38 | GND |
| GP2 | 4 | 37 | 3V3_EN |
| GP3 | 5 | 36 | 3V3(OUT) |
| GP4 | 6 | 35 | |
| GP5 | 7 | 34 | |
| GND | 8 | 33 | GND |
| GP6 | 9 | 32 | GP27 |
| GP7 | 10 | 31 | GP26 |
| GP8 | 11 | 30 | RUN |
| GP9 | 12 | 29 | GP22 |
| GND | 13 | 28 | GND |
| GP10 | 14 | 27 | GP21 |
| GP11 | 15 | 26 | GP20 |
| GP12 | 16 | 25 | GP19 |
| GP13 | 17 | 24 | GP18 |
| GND | 18 | 23 | GND |
| GP14 | 19 | 22 | GP17 |
| GP15 | 20 | 21 | GP16 |
| GP25 | LED |