4.3.21. c6, MPU memory region
programming registers

There is one register that specifies which one of the sets
of region registers is to be accessed. See c6, MPU Region Number
Register. Each region has its own registers to specify:

region base address

region size and enable

region access control.

You can implement the processor with 12 or 16 regions, or
without an MPU entirely. If you implement the processor without
an MPU, then there are no regions and no region programming registers.

Note

When the MPU is enabled:

The MPU determines the access permissions for all
accesses to memory, including the TCMs. Therefore, you must ensure
that the memory regions in the MPU are programmed to cover the complete
TCM address space with the appropriate access permissions. You must
define at least one of the regions in the MPU.

An access to an undefined area of memory normally
generates a background fault.

For the TCM space the processor uses the access
permissions but ignores the region attributes from MPU.