I want to access external sdram in mimxrt1170-evk via SEMC module so I started testing it with an example code given. But I have doubt how to wirte to exact memory cell that I want in sdram.
In the given code, it writes the data to semc base address. Not in the memory addresses format given in the reference manual. Can anyone clear me this doubt and show me how to write/read and erase data from exact memory cell. I am using keil uvision 5 as the IDE. Full code is in attachments
The full code is in attachments
Hello
I hope you are well
SDRAM address is mapped to SEMC memory so it can be accessed by the device. The base address is linked to the SDRAM address and it is set on BR register.
Best regards,
Omar
Since the access to the SDRAM is done through the AXI bus it is needed to access from the device memory map. SDRAM controller makes it possible to access the SDRAM addresses.