2021-04-01 12:21 AM
Hi
I just wonder at the example:
STM32Cube_FW_F4_V1.26.0/Projects/STM32469I-Discovery/Examples/FMC/FMC_SDRAM/Src/main.c
and there is a define:
#define WRITE_READ_ADDR ((uint32_t)0x0800)
Whats the purpose of that (offset?)? Doesn't the FMC SDRAM start at 0xC0000000 ?
Solved! Go to Solution.
2021-04-01 04:13 AM
Hi @PGroe.2
I confirm "FMC SDRAM start at 0xC0000000". You can refer to "Figure 37. FMC memory banks" of STM32F469 reference manual.
Also, you can refer to main.h : #define SDRAM_BANK_ADDR ((uint32_t)0xC0000000)
It is a user offset.
Bouraoui
2021-04-01 04:13 AM
Hi @PGroe.2
I confirm "FMC SDRAM start at 0xC0000000". You can refer to "Figure 37. FMC memory banks" of STM32F469 reference manual.
Also, you can refer to main.h : #define SDRAM_BANK_ADDR ((uint32_t)0xC0000000)
It is a user offset.
Bouraoui
2021-04-01 11:24 PM
Thanks, I removed the offset for my project and everything worked fine.