Renesas RA Family
RA2 Quick Design Guide
R01AN6060EU0100 Rev.1.00
Page 21 of 44
Sep.14.21
Figure 14. RA2A1 SRAM Specification
7.2 Peripheral I/O Registers
Blocks of peripheral I/O registers appear at various locations in the memory map depending on the device
and the current operating mode. The majority of peripheral I/O registers occupy a region from address 4000
0000h to 400F FFFFh. However, this may vary in location and size by device. Consult the Hardware User’s
Manual for specifics. Details can be found in the “I/O Registers” appendix, and also in the register
descriptions for each peripheral function. This region contains registers that are available at all times in all
modes of operation. Flash I/O registers to control access flash memory occupy two regions, 407E 0000h to
407E FFFFh.
The Renesas FSP contains C header files in CMSIS data structure that map all of the peripheral I/O registers
for a specific device to easily accessible I/O data structures.
7.3 On-Chip Flash Memory
The RA2 MCUs feature two flash memory sections: code flash and data flash, which vary in size and
programmable cycle capacity by device. The Flash Control Unit (FCU) controls programming and erasure of
the flash memory. The Flash Application Command Interface (FACI) controls the FCU in accordance with the
specified FACI commands.
The code flash is designed to store user application code and constant data. The data flash is designed to
store information that may be updated from time to time such as configuration parameters, user settings, or
logged data. The units of programming and erasure in the data flash area are smaller than that of the code
flash. For example, on RA2A1 devices, the code flash memory uses 64-bit units for programming and 2-KB
units for erasure, while the data flash memory uses 8-bit units for programming and 1-KB units for erasure.
The unit sizes vary by device. See the “Flash Memory” chapter in the Hardware User’s Manual for details.
Both the data flash and code flash areas can be programmed or erased by application code. This enables
field firmware updates without having to connect an external programming tool.
Renesas FSP provides HAL layer drivers for both code flash memory and data flash memory.
The following figure shows example specifications of code flash memory and data flash memory.