cancel
Showing results for 
Search instead for 
Did you mean: 

external SRAM on a Kiel board

spa
Associate II
Posted on February 20, 2009 at 08:21

external SRAM on a Kiel board

1 REPLY 1
spa
Associate II
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.