SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
XFR instructions are used to load/store register contents between the PRU cores and the scratch pad banks. These instructions define the start, size, direction of the operation, and device ID. The device ID corresponds to the external source or destination (either a scratch pad bank or the other PRU core). The device ID numbers are shown in Table 6-431.
Device ID | Function/Operation |
---|---|
10 | Selects Bank0 |
11 | Selects Bank1 |
12 | Selects Bank2 |
A collision occurs when two XOUT commands simultaneously access the same asset or device ID. Table 6-432 shows the priority assigned to each operation when a collision occurs.
Operation | Collision and Stall Handling |
---|---|
PRU<n> XOUT (->) bank[j] | If both PRU cores access the same bank simultaneously, PRU0 is given priority. PRU1 will temporarily stall until the PRU0 operation completes. |
RTU_PRU<n> XOUT (->) bank[i] | If both RTU_PRU cores access the same bank simultaneously, RTU_PRU0 is given priority. RTU_PRU1 will temporarily stall until the RTU_PRU0 operation completes. |