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.
Solved! Go to Solution.
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.
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.