Skip to main content
Tamas Novak
Associate III
December 29, 2015
Question

missing defines in

  • December 29, 2015
  • 3 replies
  • 642 views
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
    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    December 29, 2015
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    Tamas Novak
    Associate III
    December 29, 2015
    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.

    Tesla DeLorean
    Guru
    December 29, 2015
    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 VenmoUp vote any posts that you find helpful, it shows what's working..