[STM32H730ZBT] FMC external SDRAM loses every second byte
Continuation of this thread.
Hello,
I've wired SDRAM (AS4C4M16SA-5TCN) with STM32H730ZBT. Connection works, I can read/write data, but every other byte.
Let's start with array declaration:
uint8_t *externalRAM = (uint8_t*)0xC0000000;
/* USER CODE END PV */
Then I'm trying to write some bytes to this array, ie:
externalRAM[0] = 0xAA;
externalRAM[1] = 0xAA;
externalRAM[2] = 0xAA;
externalRAM[3] = 0xAA;
And to read it:
uint8_t test[4];
test[0] = externalRAM[0];
test[1] = externalRAM[1];
test[2] = externalRAM[2];
test[3] = externalRAM[3];
And this is the result:

Sometimes test[1] has 0xAA too, but mostly it's 0. I've tried to lower FMC frequency or change memory timings. What does this look like?
