1.STM32ST()ARMCortexM332CortexM3Thumb2CortexM3STM32STM32STM32FSMC2.FSMC2.1FSMCSTM32FSMCSRAMROMPSRAMNORFlashNANDFlashFSMCNORPSRAMNANDFSMCBANKFSMCFSMCFSMCSRAM2.2FSMCSTM32NORFlashNANDFlashFSMCNORFlashNANDPCCardSTM32FSMCAHBCortexM3AHBFSMCFSMC2.3FSMCFSMC1GB4256MBBANKBANK464MBBANK1FSMC2NORFlash1BANKNANDPCCard24BANKBANK14BANKBANK2BANK43.FSMCSRAMSTM32FPGAFPGASTM32SRAM,SRAMSRAMROMNORFlashPSRAMFSMCNORFlashNORFlashFSMCFSMCFSMC3.13.23.3FSMCFSMC_BCRi(iBANKi=14)FSMC(MTYPE)SRAMROMPSRAMNORFlaSh(MUXEN)FSMCAD0AD15(MWID)FSMC816NORFlash(PSRAM)(BURSTEN)NORFlash(PSRAM)NWAIT(WAITENWAITCFGWAITPOL)(EXTMOD)3.4FSMCFSMCSRAMFSMCHCLK()FSMC_CLK2HCLKFSMC_CLK(CLKDIV)2161(DATLAT)FSMC3(ADDSET)(DATAST)(ADDHLD)FSMCSRAMROMPSRAMNORFlash42FSMC4.STM32SRAM4.14.1.1STM32FSMCFSMCWR()RD()DB0-DB15FSMC*(volatileunsignedshortint*)(0x60000000)=val;FSMCWERDWE=0,RD=1valDB0-15(FSMC-D0:FSMC-D15=val)0x60000000A0-A25=04.1.2STM32F103VC+EP3C5E144C8NIS61WV512BLLFPGA,A-SRAM/PSRAMMCULCDWE-WRRD-RDFSMC-D0-15LCDDB0-15FSMC_NE1--CSPD7FSMCRSFSMCRSRSA16RSA16(RS)FSMC0x60010000*(volatileunsignedshortint*)(0x60010000)=val;A16FSMCA0-A180x600100000x60010000Bit17=1A1610x600100000x60000000A160RSRS0;RS1RAM4.2STM32FSMCSTCSTM32FSMCSRAM13FSMC_NORSRAMInitStructureRCC_Configuration();NVIC_Configuration();FSMC_GPIO_Configuration();IOFSMC_SRAM_Init();FMSCUSART_Initial();UART14.2STM32FPGAFPGASTM32APCB88PCB81616STM3216FPGA2STM320FPGA0x0116STM320x02,FPGA0x020014NOR/PSRAMSTM32HADDR[27:0]AHBHADDR[27:26]HADDR[25:0]HADDR8168HADDR[25:0]FSMC_A[25:0]STM3216HADDR[25:1]FSMC_A[24:0]HADDR[0]163285.STM32ARMCortex-M3FSMC