Writing data many times with 0x10000 offsets on SRAM

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

Writing data many times with 0x10000 offsets on SRAM

ソリューションへジャンプ
673件の閲覧回数
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 解決策
513件の閲覧回数
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 返信
514件の閲覧回数
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.