cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F469I-DISCO FMC WRITE_READ_ADDR 0x0800

PGroe.2
Associate III

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 ?

1 ACCEPTED SOLUTION

Accepted Solutions
Bouraoui Chemli
ST Employee

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

View solution in original post

2 REPLIES 2
Bouraoui Chemli
ST Employee

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

PGroe.2
Associate III

Thanks, I removed the offset for my project and everything worked fine.