2016-04-19 03:26 AM
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.2016-04-19 05:42 AM
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-2016-04-19 06:29 AM
Ok, so the numbering refers to the subbank number.
Thank you.