Hi,
I am trying to access the SDRAM available in IMX RT 1060 Eval board through the lwip example "lwip_httpsrv_freertos"
the function BOARD_InitSEMC() returns success but when I write or read from the memory it returns with value 0.
but if i run the driver example "semc_sdram", the programs runs fine and able to write and read data successfully.
is there anything in specific that i need to initalize to work similary with lwip httpsrv freertos example.
Thanks
Hello Harish Shekarappa,
I think you are missing to initialize the pins for the SEMC in your example lwip_httpsrv_freertos. In the example semc of the SDK, please refer the function BOARD_InitPins to see all the pins you have to initialize to work with this module.
Also, did you set the semc clock? Please noticed that in the semc example you have the following lines to do this.
/* Set semc clock to 163.86 MHz */ CLOCK_SetMux(kCLOCK_SemcMux, 1); CLOCK_SetDiv(kCLOCK_SemcDiv, 1);
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------