Skip to main content
Pranay Dhuri
Associate III
April 15, 2017
Question

We have SRAM FSMC configuration code available for STM322xG in cubeF2, I want to implement Muxed NOR with the help of same code

  • April 15, 2017
  • 1 reply
  • 444 views
Posted on April 15, 2017 at 13:55

Hi,

As the title I want to implement Muxed NOR on STM32F207ZG Nucleo board

following is SRAM read write code.

for (uwIndex = 0; uwIndex < BUFFER_SIZE; uwIndex++)

{

*(__IO uint16_t*) (SRAM_BANK_ADDR + WRITE_READ_ADDR + 2*uwIndex) = aTxBuffer[uwIndex];

}

/* Read back data from the SRAM memory */

for (uwIndex = 0; uwIndex < BUFFER_SIZE; uwIndex++)

{

aRxBuffer[uwIndex] = *(__IO uint16_t*) (SRAM_BANK_ADDR + WRITE_READ_ADDR + 2*uwIndex);

}

so for muxed NOR how we will be defining the address and data as it has common address and data lines?

where the control signals are being set? 

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    April 15, 2017
    Posted on April 15, 2017 at 17:43

    That would be a function of the FSMC, you'd need to configure that correctly, and then as you access addresses within the ARM address space these are translated to the signal/sequences on the external bus.

    As I recall there are 4x 64MB regions within the 0x60000000..0x6FFFFFFF address space that fall under the control of the FSMC

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..