14.2. SRAM example
14.2.1. Overview
SMA example project shows performance of reading and writing data in internal or external SRAM memory.
14.2.2. Board Setting
External SRAM module is required. The tested SRAM is IS62WV51216EBLL45TLI.
HPM6300 series has only 8 address lines in non multiplexing mode of address lines and data lines, so the high address lines of IS62WV51216EBLL45TLI must be connected to GND.
14.2.3. Running the example
When the project runs correctly, and the serial port terminal will output the following information:
sram example
comparison test: from 0x48000000 to 0x48001000
** u32 comparison succeeded
** u16 comparison succeeded
** u8 comparison succeeded
14.2.4. Hint
When SRAM interface is used to access external devices, such as FPGA, SRAM address space should be configured as non-cacheable.