GPIO 21 (PCM Data-Out)
Alt0 | Alt1 | Alt2 | Alt5 | Alt6 | Alt7 | Alt8 |
---|---|---|---|---|---|---|
MCASP0_AXR1 | SPI2_CS2 | ECAP1_IN_APWM_OUT | MAIN_ERRORn | EHRPWM1_A | GPIO1_9 | EQEP0_S |
- Physical/Board pin 40
- GPIO/BCM pin 21
- SoC pin B25
GPIO 21 is used by PCM to provide a data output signal to an external audio device such as a DAC chip.
The pin is also usable as a GPIO, hardware PWM or the hardware PWM-ECAP peripheral.