2021-02-24 04:19 PM
I'm using STM32F469 with 2M x 16 x 4banks (16MB) SDRAM.
I'm just trying to run FMC_SDRAM sample for STM32469l-EVAL and it seems the first 256 data could write/read successfully.
My question is that to access memories in 2 to 4 banks, do I need to send commands to these banks ? Or can I access memory address like 0xC0000000 + 8000000 ?
In "BSP_SDRAM_Initialization_Sequence" function of sample codes, only FMC_SDRAM_CMD_TARGET_BANK1 is used.
I'm new to FMC/SDRAM so any advice will be appreciated.
2021-02-24 05:31 PM
Make sure you've configured all the pins properly, double check via debugger view of GPIO peripheral. Perhaps also look at the F469-DISCO. But either way, make a list of all pins, and confirm everything is accounted for, and that the slew rate/speed is the 50 MHz one rather than 100 MHz
BANK in this context I think is the STM32 one ie 0xC0000000 vs 0xD0000000
BA0/BA1 would be used with ROW/COLUMN addressing, so yes your whole memory should be linear.