External SDRAM access mimxrt1170-evk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

External SDRAM access mimxrt1170-evk

840 次查看
Shehan_Janidu
Contributor III

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

1.png

Shehan_Janidu_0-1695195913787.png

The full code is in attachments 

                                                                                                                            

0 项奖励
回复
3 回复数

800 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

772 次查看
Shehan_Janidu
Contributor III
Could you please elaborate how the implementation is done to access exact memory cell
0 项奖励
回复

750 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

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.

Omar_Anguiano_0-1695320025298.png

 

0 项奖励
回复