SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
The CM-MPU is used for access protection on µDMA and EtherNET master bus. The MPU divides the memory map into a number of regions. Each region has programmable start address, size, and access permissions.
The following are the access protections supported:
An access protection violation will result in a bus fault to the master and access info is captured in the MPU register for debug purposes.
Each MPU has a maximum of eight regions. The start address of a region must be aligned to its size. For example, a 32KB region must be aligned to a multiple of 32KB address at 0x0000_0000 or 0x0000_8000. If the start address of the region is not boundary-aligned to region size, that is, the start address is not a divisible size of the region, then hardware automatically aligns the region start address by truncating the number of LSBs, depending on region size. Figure 41-12 is an example of an unaligned start address with a region size of 2KB.
The minimum size of the region is limited to 1KB. Each region can be enabled or disabled in the application based on the use case.