RT1064 SDRAM not working properly

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

RT1064 SDRAM not working properly

155 次查看
mpaja
Contributor I

Hello all,

We are having difficulties with the SDRAM of our second generation of custom rt1064 board. Additionally, we are using the same SDRAM as the EVK.

There is no difference in design, position & rouring of the MCU & SDRAM module compared to the first generation.

However, first we noticed that the MCU would not boot on Zephyr RTOS and then testing it on MCUXpresso  with SEMC sample we noticed that the first write/read always fails and the write/read only works properly after the second write/read.

 

Any help would be appreciated!

 

SEMC SDRAM Example Start!

SEMC SDRAM Memory 32 bit Write Start, Start Address 0x80000000, Data Length 4096 !

SEMC SDRAM Read 32 bit Data Start, Start Address 0x80000000, Data Length 4096 !

SEMC SDRAM 32 bit Data Write and Read Compare Start!

SEMC SDRAM 32 bit Data Write and Read Compare Failed!

SEMC SDRAM Memory 32 bit Write Start, Start Address 0x80000000, Data Length 4096 !

SEMC SDRAM Read 32 bit Data Start, Start Address 0x80000000, Data Length 4096 !

SEMC SDRAM 32 bit Data Write and Read Compare Start!

SEMC SDRAM 32 bit Data Write and Read Compare Succeed!

SEMC SDRAM Example End.

 

0 项奖励
回复
3 回复数

118 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Could you attach some scopes to check the signal integrity? If design, routing and position is the same as the EVK it should not fail. What is the IO configuration?

Best regards,
Omar

0 项奖励
回复

90 次查看
mpaja
Contributor I

@Omar_Anguiano Thank you for your reply. 

Unfortunatelly, we cannot test the signal integrity because there is no test pads on the board

 

Below is the IO of the SDRAM. The only difference compared to the previous generation that everything works is the LED at GPIO_EMC_39. We also tried to remove the resistor and let the pin float like before, but it did not change anything.

 

Kind regards,

Mario

 

sdram_io_configuration.jpg

0 项奖励
回复

42 次查看
mpaja
Contributor I

@Omar_Anguiano 

After some more tests (flashing with zephyr rtos images) we noticed that on the board with the LED on EMC_39. "hello_world" sample would boot and it would properly run for maximally 1 minute and then it would output nonsense data. 

 

Meanwhile the board with EMC_39 floating it would not boot at all.

 

Both boards have still issues with the semc sample

0 项奖励
回复