SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
The PRUSS implements an enhanced General Purpose Input/Output (GPIO) module that supports two general-purpose output modes: direct output and shift out.
Table 7-43 describes these modes in detail.
Each PRU core can only be configured for one GPO mode at a time. Each mode uses the same R30 signals and internal register bits for different purposes. A summary is found in Table 7-43.
The PRU_ICSS_GPCFG0 register, bitfield [29-26] PR1_PRU0_GP_MUX_SEL (PRU0 or PRU1) in the PRUSS CFG register space needs to be set to 0h for GP mode. For a given PRU core, the following IO modes are mutually exclusive: GP mode, Sigma Delta mode, and 3 channel Peripheral I/F mode.
Mode | Function | Configuration |
---|---|---|
Direct output | pru<n>_r30[19:0] feeds directly to GPO[19:0] | Default state |
Shift out |
| Enabled by PRU_ICSS_GPCFG0 register (PRU0 or PRU1) Free Running Clock or Fixed Clock Count Mode selected by PRU_ICSS_GPECFG0 register. |
Pad Names at Device Level (1) | GPO Modes | |
---|---|---|
Direct output | Shift out | |
PR<k>_PRU<n>_GPO0 | GPO0 | DATAOUT |
PR<k>_PRU<n>_GPO1 | GPO1 | CLOCKOUT |
PR<k>_PRU<n>_GPO2 | GPO2 | |
PR<k>_PRU<n>_GPO3 | GPO3 | |
PR<k>_PRU<n>_GPO4 | GPO4 | |
PR<k>_PRU<n>_GPO5 | GPO5 | |
PR<k>_PRU<n>_GPO6 | GPO6 | |
PR<k>_PRU<n>_GPO7 | GPO7 | |
PR<k>_PRU<n>_GPO8 | GPO8 | |
PR<k>_PRU<n>_GPO9 | GPO9 | |
PR<k>_PRU<n>_GPO10 | GPO10 | |
PR<k>_PRU<n>_GPO11 | GPO11 | |
PR<k>_PRU<n>_GPO12 | GPO12 | |
PR<k>_PRU<n>_GPO13 | GPO13 | |
PR<k>_PRU<n>_GPO14 | GPO14 | |
PR<k>_PRU<n>_GPO15 | GPO15 | |
PR<k>_PRU<n>_GPO16 | GPO16 | |
PR<k>_PRU<n>_GPO17 | GPO17 | |
PR<k>_PRU<n>_GPO18 | GPO18 | |
PR<k>_PRU<n>_GPO19 | GPO19 |