Writing data many times with 0x10000 offsets on SRAM

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

Writing data many times with 0x10000 offsets on SRAM

跳至解决方案
820 次查看
salmanc
Contributor III

Hi, I am using MPC5674F and an external SRAM CY7C1338G. I can read/write data but I have a problem. When I write data on a specific address range, it is written everywhere with 0x10000 intervals. For example; I only write data on 0x20000000 but I saw my data on 0x20010000,  0x20020000,  0x20030000,  0x20040000,  0x20050000 .. 

How can I fix this problem? Is it about EBI init/config. values or something else? 

 external sram offset 5674f #mpc56xxx

Thank you in advance, 

Regards.

0 项奖励
回复
1 解答
660 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi. it seems you don't have properly initialized all address lines.

Pay attention to my example code here, function External_SRAM_init in main.c file:

Example XPC567XFKIT PinToggleStationery CW210 

It works fine.

在原帖中查看解决方案

1 回复
661 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi. it seems you don't have properly initialized all address lines.

Pay attention to my example code here, function External_SRAM_init in main.c file:

Example XPC567XFKIT PinToggleStationery CW210 

It works fine.