External SDRAM access mimxrt1170-evk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

External SDRAM access mimxrt1170-evk

839件の閲覧回数
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 返答(返信)

799件の閲覧回数
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 件の賞賛
返信

771件の閲覧回数
Shehan_Janidu
Contributor III
Could you please elaborate how the implementation is done to access exact memory cell
0 件の賞賛
返信

749件の閲覧回数
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 件の賞賛
返信