2015-12-29 03:55 AM
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-define2015-12-29 05:03 AM
Isn't that because these a SDRAM related settings, and not STM32 ones?
2015-12-29 01:07 PM
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.
2015-12-29 01:40 PM
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)