Hi @fujc_ck ,
What psram do you use? If it's a serial psram, you can refer to RT600 SDK. There is flexspi_psram examples. If it's a parallel psram, you can refer to this post.
https://community.nxp.com/t5/i-MX-RT/i-MXRT1021-SEMC-PSRAM/m-p/1050788
Regards,
Jing