Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
244
Usually, a microcontroller system has only a single processor and no caches. In such a system, program the MPU 
as follows:
In most microcontroller implementations, the shareability and cache policy attributes do not affect the system 
behavior. However, using these settings for the MPU regions can make the application code more portable. The 
values given are for typical situations. In special systems, such as multiprocessor designs or designs with a 
separate DMA engine, the shareability attribute might be important. In these cases, refer to the recommendations 
of the memory device manufacturer.
Table 12-39.
Memory Region Attributes for a Microcontroller
Memory Region
TEX
C
B
S
Memory Type and Attributes
Flash memory
b000
1
0
0
Normal memory, non-shareable, write-through
Internal SRAM
b000
1
0
1
Normal memory, shareable, write-through
External SRAM
b000
1
1
1
Normal memory, shareable, write-back, write-allocate
Peripherals
b000
0
1
1
Device memory, shareable