Skip to main content
PGroe.2
Associate III
April 1, 2021
Solved

STM32F469I-DISCO FMC WRITE_READ_ADDR 0x0800

  • April 1, 2021
  • 2 replies
  • 797 views

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 ?

This topic has been closed for replies.
Best answer by Bowman32

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

2 replies

Bowman32
Bowman32Best answer
ST Employee
April 1, 2021

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
PGroe.2Author
Associate III
April 2, 2021

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