STMicroelectronics /STM32H742x /FMC /BCR2

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as BCR2

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (MBKEN)MBKEN 0 (MUXEN)MUXEN 0MTYP 0MWID 0 (FACCEN)FACCEN 0 (BURSTEN)BURSTEN 0 (WAITPOL)WAITPOL 0 (WAITCFG)WAITCFG 0 (WREN)WREN 0 (WAITEN)WAITEN 0 (EXTMOD)EXTMOD 0 (ASYNCWAIT)ASYNCWAIT 0CPSIZE 0 (CBURSTRW)CBURSTRW 0 (CCLKEN)CCLKEN 0 (WFDIS)WFDIS 0BMAP 0 (FMCEN)FMCEN

Description

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.

Fields

MBKEN

Memory bank enable bit This bit enables the memory bank. After reset Bank1 is enabled, all others are disabled. Accessing a disabled bank causes an ERROR on AXI bus.

MUXEN

Address/data multiplexing enable bit When this bit is set, the address and data values are multiplexed on the data bus, valid only with NOR and PSRAM memories:

MTYP

Memory type These bits define the type of external memory attached to the corresponding memory bank:

MWID

Memory data bus width Defines the external memory device width, valid for all type of memories.

FACCEN

Flash access enable This bit enables NOR Flash memory access operations.

BURSTEN

Burst enable bit This bit enables/disables synchronous accesses during read operations. It is valid only for synchronous memories operating in Burst mode:

WAITPOL

Wait signal polarity bit This bit defines the polarity of the wait signal from memory used for either in synchronous or asynchronous mode:

WAITCFG

Wait timing configuration The NWAIT signal indicates whether the data from the memory are valid or if a wait state must be inserted when accessing the memory in synchronous mode. This configuration bit determines if NWAIT is asserted by the memory one clock cycle before the wait state or during the wait state:

WREN

Write enable bit This bit indicates whether write operations are enabled/disabled in the bank by the FMC:

WAITEN

Wait enable bit This bit enables/disables wait-state insertion via the NWAIT signal when accessing the memory in synchronous mode.

EXTMOD

Extended mode enable. This bit enables the FMC to program the write timings for asynchronous accesses inside the FMC_BWTR register, thus resulting in different timings for read and write operations. Note: When the extended mode is disabled, the FMC can operate in Mode1 or Mode2 as follows: ** Mode 1 is the default mode when the SRAM/PSRAM memory type is selected (MTYP =0x0 or 0x01) ** Mode 2 is the default mode when the NOR memory type is selected (MTYP = 0x10).

ASYNCWAIT

Wait signal during asynchronous transfers This bit enables/disables the FMC to use the wait signal even during an asynchronous protocol.

CPSIZE

CRAM Page Size These are used for Cellular RAM 1.5 which does not allow burst access to cross the address boundaries between pages. When these bits are configured, the FMC controller splits automatically the burst access when the memory page size is reached (refer to memory datasheet for page size). Other configuration: reserved.

CBURSTRW

Write burst enable For PSRAM (CRAM) operating in Burst mode, the bit enables synchronous accesses during write operations. The enable bit for synchronous read accesses is the BURSTEN bit in the FMC_BCRx register.

CCLKEN

Continuous Clock Enable This bit enables the FMC_CLK clock output to external memory devices. Note: The CCLKEN bit of the FMC_BCR2…4 registers is dont care. It is only enabled through the FMC_BCR1 register. Bank 1 must be configured in synchronous mode to generate the FMC_CLK continuous clock. If CCLKEN bit is set, the FMC_CLK clock ratio is specified by CLKDIV value in the FMC_BTR1 register. CLKDIV in FMC_BWTR1 is dont care. If the synchronous mode is used and CCLKEN bit is set, the synchronous memories connected to other banks than Bank 1 are clocked by the same clock (the CLKDIV value in the FMC_BTR2…4 and FMC_BWTR2…4 registers for other banks has no effect.)

WFDIS

Write FIFO Disable This bit disables the Write FIFO used by the FMC controller. Note: The WFDIS bit of the FMC_BCR2…4 registers is dont care. It is only enabled through the FMC_BCR1 register.

BMAP

FMC bank mapping These bits allows different to remap SDRAM bank2 or swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note: The BMAP bits of the FMC_BCR2…4 registers are dont care. It is only enabled through the FMC_BCR1 register.

FMCEN

FMC controller Enable This bit enables/disables the FMC controller. Note: The FMCEN bit of the FMC_BCR2…4 registers is dont care. It is only enabled through the FMC_BCR1 register.

Links

()