cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 FSMC Interface

satyan
Associate
Posted on October 18, 2016 at 03:46

 We are using the following micro controller from ST Micro.

            MCU Series STM32F4

            MCU Line STM32F407/417

            MCU name STM32F407ZETx

            MCU Package LQFP144

            MCU Pin number 144

    We are using FSMC interface to access a communication ASIC whichrequires synchronous bus.

    We are using the following configuration:

        NOR Flash/PSRAM/SRAM/ROM 1

        Chip select: NE4

        Memory type: PSRAM

        Address: 16 bits

        Data: 16 bits

        Clock: Burst Read Write

        Wait: Synchronous

        NOR/PSRAM control:

            Memory type PSRAM

            Bank Bank 1 NOR/PSRAM 4

            Write operation Enabled *

            Wait signal polarity Low polarity

            NOR/PSRAM timing:

            Bus turn around time in HCLK clock cycles 15

            CLK clock divide ratio 16

            Data latency in CLK clock cycles 2

Kindly let us know how do we get started with the reading and writing of the device.
1 REPLY 1
slimen
Senior
Posted on October 31, 2016 at 16:09

Hello,

You can start with working FSMC example in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef4.html

, at this path:

STM32Cube_FW_F4_V1.13.0\Projects\STM324xG_EVAL\Examples\FSMC

The example can help you on your application as describes how to configure the FSMC controller to access the SRAM memory.

The reference manual

http://www.st.com/content/ccc/resource/technical/document/reference_manual/3d/6d/5a/66/b4/99/40/d4/DM00031020.pdf/files/DM00031020.pdf/jcr:content/translations/en.DM00031020.pdf

 (section: Flexible static memory controller (FSMC)) and the datasheet related to your

http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f4-series/stm32f407-417/stm32f407ze.html

 device will be your support for more details.

Regards