Access SDRAM IMXRT1064

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

Access SDRAM IMXRT1064

563件の閲覧回数
vaibhavkambli
Contributor I

We do have custom board with IMXRT1064 controller.

we have interfaced SDRAM with our board. see the connection below.sdram1.PNG

Datasheet for SDRAM (https://www.mouser.in/datasheet/2/12/Datasheet%20Alliance%2016M-AS4C1M16S-CI_v2.0_March%20201-126534...)

I am trying to test basic SDRAM interface. Wanted to write and read data from SDRAM.

Is there any example available in SDKs?

I have try to see this solution https://community.nxp.com/t5/i-MX-RT/IMXRT1064-Using-BOARD-SDRAM/td-p/1437072 by enabling  XIP_BOOT_HEADER_DCD_ENABLE=1  and  SKIP_SYSCLK_INIT . but I am getting debug fault.

vaibhavkambli_0-1653896550621.png

I am using hello_world example from sdk.

Just added big uint8t array and put in SDRAM sections and trying to read.

 

vaibhavkambli_2-1653896741883.png

 

vaibhavkambli_1-1653896687183.png

 I will really appreciate quick help !

 

ラベル(1)
0 件の賞賛
1 返信

545件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @vaibhavkambli ,

The SDRAM example is in SDK.

SDK_2_11_0_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\semc

But the demo use is42s16160. This is a 32M byte SDRAM with 9bit column address. You must make some change to SDRAM configuration.

 

Regards,

Jing

0 件の賞賛