Possible wrong configuration for FMC with Cube
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-19 3:26 AM
Posted on April 19, 2016 at 12:26
Hi,
I am reading the RM0090 about the FMC configuration since I want to interface an stm32f427 with a SRAM through the FMC controller. At some point in the manual it is reported a figure that represents the memory arrangement (fig. 455). According to the picture the first bank is meant for SRAM but when I carry out the configuration through Cube, it sets hsram1.Init.NSBank = FMC_NORSRAM_BANK2; where hsram1 is the handle to the FMC peripheral, and I am a little bit confused. Is this a bug or am I missing something?Thank you and regards.
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-19 5:42 AM
Posted on April 19, 2016 at 14:42
Hi thy,
FMC Bank 1 used to address up to 4 NOR Flash memory or PSRAM devices. This bank is split into 4 NOR/PSRAM sub banks with 4 dedicated Chip Selects (FMC_NEx), as follows:• Bank 1 - NOR/PSRAM 1 // hsram1.Init.NSBank = FMC_NORSRAM_BANK1;• Bank 1 - NOR/PSRAM 2 // hsram1.Init.NSBank = FMC_NORSRAM_BANK2;• Bank 1 - NOR/PSRAM 3• Bank 1 - NOR/PSRAM 4-Syrine-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-19 6:29 AM
Posted on April 19, 2016 at 15:29
Ok, so the numbering refers to the subbank number.
Thank you.