Skip to main content
spa
Associate II
February 20, 2009
Question

external SRAM on a Kiel board

  • February 20, 2009
  • 1 reply
  • 570 views
Posted on February 20, 2009 at 08:21

external SRAM on a Kiel board

    This topic has been closed for replies.

    1 reply

    spa
    spaAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:03

    Hi.

    I'm trying to get the basic understanding for the FSMC lib and how to use it to control an external SRAM, I’m using the ST firmware lib example (SRAM) on a Keil MCBSTM32E board.

    I have read the AN2784 and every thing seems just fine. I'm using the example right out of the box.

    But when I try to write to the SRAM using the FSMC_SRAM_WriteBuffer() function, the program stops in the HardFault_Handler loop and I get a IMPRECISERR error.

    I haven’t included the:

    FSMC_NORSRAMInitStructure.FSMC_AsyncWait = FSMC_AsyncWait_Disable;

    I use STLib v 2.0.3

    hope you can give me a push in the right direction, thanks

    Søren P.