PSRAM/SDRAM Test sketch updated with more cute stats:
https://github.com/Defragster/EVKB_1060/tree/main/SDRAM_t4/examples/SDRAMdiy_Test
T_4.1 16 MB PSRAM:
EXTMEM Memory Test, 16 Mbyte
EXTMEM Memory begin, 70000000
EXTMEM Memory end, 71000000
...
test Pattern 00000000 Write 650325 us Read/Test 589825 us
test RndSeed 1100533073 Write 654325 us Read/Test 617310 us
test ran for 72.08 seconds
Fixed Pattern Write ran for 8.46 and Read/Test 7.67 secs
Fixed Pattern Test 25.80 MB per sec
PsuedoRnd Patt Write ran for 28.79 and Read/Test 27.16 secs
PsuedoRnd Patt Test 25.16 MB per sec
All memory tests passed
32MB SDRAM on 'T_MM' DevBoard {CAP removed at 166 MHz):
EXTMEM Memory Test, 32 Mbyte
EXTMEM Memory begin, 80000000
EXTMEM Memory end, 82000000
... // note SDRAM writes faster than reads and RndSeed adds PsuedoRnd compute time
test Pattern 00000000 Write 102720 us Read/Test 295892 us
test RndSeed 1100533073 Write 237702 us Read/Test 506766 us
test ran for 37.94 seconds
Fixed Pattern Write ran for 1.34 and Read/Test 3.85 secs
Fixed Pattern Test 160.55 MB per sec **
Fixed Pattern Test WRITES 311.50 MB per sec
Fixed Pattern Test & READ 108.17 MB per sec
PsuedoRnd Patt Write ran for 10.46 and Read/Test 22.30 secs
PsuedoRnd Patt Test 85.97 MB per sec **
All memory tests passed
** These MB/sec combine MB Write and Read times in testing
Here is the NXP doc on SDRAM write versus read:
https://www.nxp.com/docs/en/application-note/AN12437.pdf