Hello,
I am going to develop a custom board based on the IMXRT1052.
I am currently testing the SDRAM on the IMXRT1050-EVKB.
The led blink running from SDRAM is working correct by following the 2 links:
SDRAM how to MCUXpresso IDE 1
SDRAM how to MCUXpresso IDE 2
I am happy with the result.
My custom board will use the same SDRAM Chip (IS42S16160J).
However i am wondering where the SEMC is getting driven from?
Just for general understanding of the NXP environment i am wondering where are for example the SEMC_Init(), burst length, latency write recovery times, etc. from the datasheet set?
In the SEMC example project, it is clear, but i cannot find this code when i going through the steps of the LINK 1 and LINK 2.
Thank you in advance!
Hi,
It seems that the initialization of the SEMC controller driver and SDRAM in the links you mentioned is done using the file provided in one of the lwip SDK examples.
In your project, you might be able to see how the SEMC driver and SDRAM are configured in the evkbimxrt1050_sdram_ini_dcd.c file. You’ll see that the initialization is made with commands.
Could you please verify that this file exists in your project and it’s been used?
For more information, you can take a look to section 9.7.2 of the i.MX RT1050 reference manual.
Best Regards, Daniel.