14.1. SDRAM example
14.1.1. 概述
SDRAM示例工程展示了读写内部或外部SDRAM存储器的性能。
14.1.2. 硬件设置
无特殊设置
14.1.3. 运行现象
当工程正确运行后,串口终端会输出如下信息:
sdram example start @ 166666666
Dcache Enabled
Comparison test
comparison test: from 0x40000000 to 0x42000000
d-cached enabled and flushed
** comparison succeeded
Testing SDRAM
d-cached enabled
read performance @0x40000000, 32768KB
read throughput: 319576.71 KB/s
write performance @0x40000000, 32768KB
write throughput: 320431.43 KB/s
Dcache Disabled
Comparison test
comparison test: from 0x40000000 to 0x42000000
d-cached disabled
** comparison succeeded
Testing SDRAM
d-cached disabled
read performance @0x40000000, 32768KB
read throughput: 20502.65 KB/s
write performance @0x40000000, 32768KB
write throughput: 35664.65 KB/s
sdram example end