cancel
Showing results for 
Search instead for 
Did you mean: 

missing defines in

Tamas Novak
Associate III
Posted on December 29, 2014 at 12:55

Some &sharpdefines of SDRAM for  STM32Cube F4 v1.3.0   can be found only in Discovery and Examples subdirs, and are missing in  STM32Cube_FW_F4_V1.3.0\Drivers\STM32F4xx_HAL_Driver folder

In next Cube version they should be copied into

STM32Cube_FW_F4_V1.3.0\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fmc.h

SDRAM_MODEREG_BURST_LENGTH_....

SDRAM_MODEREG_BURST_TYPE_....

SDRAM_MODEREG_CAS_LATENCY_....

SDRAM_MODEREG_OPERATING_MODE_....

SDRAM_MODEREG_WRITEBURST_MODE_....

#cube-f4-fmc-sdram-define
3 REPLIES 3
Posted on December 29, 2014 at 14:03

Isn't that because these a SDRAM related settings, and not STM32 ones?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Tamas Novak
Associate III
Posted on December 29, 2014 at 22:07

Thank you, Clive, now I see. The SDRAM commands I have got from example code, are for Discovery board SDRAM chip, and commands for my (different type) SDRAM are not necessarily the same.

Posted on December 29, 2014 at 22:40

While there is some general consistency in how they function, you'd want to refer to the SDRAM's Data Sheet for exact details of the Mode Register configurations, and also refresh rates (16ms vs 64ms, or 7.81us per row)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..