SPRUJ83D December 2023 – January 2026 AM62P , AM62P-Q1
AM62P has one single R5F core in the MCU domain and one single core R5F (Device Manager) in the WKUP domain. The R5F is a native 32b processor, which the R5F core itself can only generate transactions using 32b address. A dedicated RAT module is integrated for this single core R5F to allow the R5F software to remap the 32b R5F address into the common 36b SoC address.
In addition, the R5F core has its own TCM, which the R5F core can access with its TCM with a single R5F core cycle. Those TCM memories have two sets of address, one set address is used for the R5F core for a single cycle access to those TCM. The second set of address is used by other initiators outside this R5F subsystem to access those TCM. The R5F core shall always use the first set of address to access its TCM. If the R5F core utilizes the second set of address to those TCM, the R5F core will receives an exception, since those transactions will be routed to be terminated by sending them to the null end point.
While the SoC level address for TCM is fixed, the address used by the R5F to access to its own TCM can be remapped by software. By default, AM62P puts the R5F’s ATCM at address 0x0 and the BTCM address at 0x4101_0000.
The MCU R5F has one section of the region dedicated for peripheral access from address 0x0400_0000 to 0x07FF_FFFF. The WKUP R5F also has one section of the region dedicated for peripheral access from address 0x2000_0000 to 0x2FFF_FFFF. These memory region are treated as normal memory, which can’t be cached. The R5F accesses this memory region through a dedicated single-issue interface, and none of the transactions accessing this memory region can be remapped by using RAT module.
The R5F core accesses its own ATCM and BTCM memory directly, and there is no address remapping for those access. All the other access than ATCM, BTCM and address range 0x0400_0000 to 0x07FF_FFFF from the MCU R5F core and address range 0x2000_0000 to 0x2FFF_FFFF from the WKUP R5F core go through RAT module, which could be remapped into different address to access the rest of the SoC using the common 36b SoC memory map.
See the MCU_R5FSS0 Memory Map and the WKUP_R5FSS0 Memory Map.
The common SoC memory map assigns the R5F’s ATCM and BTCM to address 0x7800_0000 and 0x7810_0000. The R5F software can optionally reprogram the its internal ATCM and BTCM address to match the address assigned by the common SoC memory map as well. Regardless where the R5F puts its own ATCM and BTCM, the R5F accesses its own ATCM and BTCM directly without going through RAT.
ATCM is by default disabled at address 0x0. BTCM is by default enabled and the default address for BTCM is 0x4101_0000. The base address of MCU VIM is at 0x07FF_0000 and the base address for RAT configuration is at 0x07FE_0000. The base address of WKUP VIM is at 0x2FFF_0000 and the base address for RAT configuration is at 0x2FFE_0000.
All of the MCU R5F transactions can go through RAT for address re-mapping function except the transactions targeted to address range 0x0400_0000 to 0x07FF_FFFF and its own ATCM and BTCM. All of the WKUP R5F transactions can go through RAT for address re-mapping function except the transactions targeted to address range 0x2000_0000 to 0x2FFF_FFFF and its own ATCM and BTCM. It is highly recommended only remap the R5F’s address range from 0x8000_0000 to 0xFFFF_FFFF to access the target region located at the common memory map between 0x8000_0000 and 0xFFFF_FFFF.