Writing data many times with 0x10000 offsets on SRAM

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing data many times with 0x10000 offsets on SRAM

Jump to solution
351 Views
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 Kudos
1 Solution
191 Views
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.

View solution in original post

1 Reply
192 Views
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.

View solution in original post