SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The PRU core internal registers (R0 to R29) byte order will get flipped within each register. This is used by firmware to convert Little-Endian to Big-Endian or Big-Endian to Little-Endian. As shown in Table 6-438, this function corresponds to the XFR Device ID of A0h.
Within each Rn register after XIN instruction execution, the following will happen.
Example 1: XIN start of R2.b0 and 8 Bytes in length:
Example 2: XIN start of R2.b0 and 1 Byte in length:
Example 3: XIN start of R2.b0 and 2 bytes in length: