Why, when I write to an 'address' location, does the processor actually write twice?
Hi,
I am using the STM32L496 and I have wired an SRAM to it using the FMC to read and write. I have configured it to be a 16 bit Data bus, it is a 16 bit SRAM. I am using NE1.
It works well, except when I write a half-word to an odd memory location I can see two NOE's and two NE1's on my oscilloscope (ie it seems to write twice when only one write is required). Looking at the address bus it appears to be writting to the address one below what I want. Then it writes to the actual address I want.
It is the same for read.
It only does a single read or write for even address locations.
What is causing it?
Can I fix it?
Many thanks, Ali