SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The PRU Constants Table is a structure of hard-coded memory addresses for commonly used peripherals and memories. The constants table is used for more efficiently load/store data to these commonly accessed addresses by:
Entry No. | Region Pointed To | Value [31:0] |
---|---|---|
0 | PRU-ICSS INTC (local) | 0002_0000h |
1 | PRU-ICSS IEP (local) | 0002_F000h |
2 | PRU-ICSS IEP_0x100 (local) | 0002_F100h |
3 | PRU-ICSS ECAP0 (local) | 0003_0000h |
4 | PRU-ICSS CFG (local) | 0002_6000h |
5 | PRU-ICSS CFG_0x100 (local) | 0002_6100h |
6 | PRU-ICSS INTC_0x200 (local) | 0002_0200h |
7 | PRU-ICSS UART0 (local) | 0002_8000h |
8 | PRU-ICSS IEP0_0x100 (local) | 0002_E100h |
9 | PRU-ICSS CFG (local) | 0003_3000h |
10 | RESERVED | RSERVED |
11 | PRU-ICSS PRU0 Control (local) | 0002_2000h PRU0 |
RESERVED | RESERVED | |
RESERVED | RESERVED | |
PRU-ICSS PRU1 Control (local) | 0002_4000h PRU1 | |
12 | RESERVED | RESERVED |
13 | RESERVED | RESERVED |
14 | RESERVED | RESERVED |
15 | RESERVED | 6000_0000h |
16 | RESERVED | 7000_0000h |
17 | RESERVED | 8000_0000h |
18 | RESERVED | 9000_0000h |
19 | RESERVED | A000_0000h |
20 | RESERVED | B000_0000h |
21 | MDIO (local) | 0003_2400h |
22 | RAT SLICE0 (local) | 0000_8000h PRU0 |
RAT SLICE1 (local) | 0000_9000h PRU1 | |
23 | Reserved | C000_0000h |
24 | PRU-ICSS PRU0/PRU1 Data RAM (local) | 0000_0n00h, n = c24_blk_index[3:0] |
25 | PRU-ICSS PRU1/PRU0 Data RAM (local) | 0000_2n00h, n = c25_blk_index[3:0] |
26 | PRU-ICSS IEP (local) | 0002_En00h, n = c26_blk_index[3:0] |
27 | PRU-ICSS MII_RT/SGMII0_CFG/SGMII1_CFG (local) | 0003_2n00h, n = c27_blk_index[3:0] |
28 | PRU-ICSS Shared RAM (local) | 00nn_nn00h, nnnn = c28_pointer[15:0] |
29 | RESERVED | 0Dnn_nn00h, nnnn = c29_pointer[15:0] |
30 | RESERVED | 0Enn_nn00h, nnnn = c30_pointer[15:0] |
31 | RESERVED | 0Fnn_nn00h, nnnn = c31_pointer[15:0] |
The addresses in constants entries 24–31 are partially programmable. Their programmable bit field (for example, c24_blk_index[3:0]) is programmable through the PRU CTRL register space. As a general rule, the PRU should configure this field before using the partially programmable constant entries.