MOTOROLA
Chapter 6. ColdFire Flash Module (CFM)
6-17
CFM Operation
6.4
CFM Operation
The CFM registers, subject to the restrictions previously noted, can generally be read and
written (see Section 6.3.4, “Register Descriptions” for details). Reads of the CFM array
occur normally and writes behave according to the setting of the KEYACC bit in CFMCR.
Program, erase, and verify operations are initiated by the CPU. Special cases of user mode
apply when the CPU is in low-power or debug modes and when the MCU boots in master
mode or emulation mode.
6.4.1
Read Operations
A valid read operation occurs whenever a transfer request is initiated by the ColdFire core,
the address is equal to an address within the valid range of the CFM memory space, and the
read/write control indicates a read cycle.
In order to reduce power at low system clock frequencies, the sense amplifier timeout
(SATO) block minimizes the time during which the sense amplifiers are enabled for read
operations. The sense amplifier enable signals to the Flash timeout after approximately
50 ns.
6.4.2
Write Operations
A valid write operation occurs whenever a transfer request is initiated by the ColdFire core,
the address is equal to an address within the valid range of the CFM memory space, and the
read/write control indicates a write cycle.
The action taken on a valid CFM array write depends on the subsequent user command
issued as part of a valid command sequence. Only aligned 32-bit write operations are
allowed to the CFM array. Byte and word write operations will result in a cycle termination
transfer error.
6.4.3
Program and Erase Operations
Read and write operations are both used for the program and erase algorithms described in
this subsection. These algorithms are controlled by a state machine whose timebase is
derived from the CFM module clock via a programmable counter.
The command register and associated address and data buffers operate as a two stage FIFO
so that a new command along with the necessary address and data can be stored while the
previous command is still in progress. This pipelining speeds when programming more
than one longword on a specific row, as the charge pumps can be kept on in between two
programming commands, thus saving the overhead needed to set up the charge pumps.
Buffer empty and command completion are indicated by flags in the CFM user status
register. Interrupts will be requested if enabled.
Summary of Contents for ColdFire MCF5281
Page 124: ...3 20 MCF5282 User s Manual MOTOROLA EMAC Instruction Set Summary ...
Page 141: ...MOTOROLA Chapter 5 Static RAM SRAM 5 5 SRAM Programming Model ...
Page 142: ...5 6 MCF5282 User s Manual MOTOROLA SRAM Programming Model ...
Page 168: ...6 26 MCF5282 User s Manual MOTOROLA Interrupts ...
Page 186: ...7 18 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 228: ...9 22 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 246: ...10 18 MCF5282 User s Manual MOTOROLA Low Power Wakeup Operation ...
Page 254: ...11 8 MCF5282 User s Manual MOTOROLA Memory Map and Registers ...
Page 264: ...12 10 MCF5282 User s Manual MOTOROLA Chip Select Registers ...
Page 280: ...13 16 MCF5282 User s Manual MOTOROLA Misaligned Operands ...
Page 314: ...14 34 MCF5282 User s Manual MOTOROLA MCF5282 External Signals ...
Page 339: ...MOTOROLA Chapter 15 Synchronous DRAM Controller Module 15 25 SDRAM Example ...
Page 340: ...15 26 MCF5282 User s Manual MOTOROLA SDRAM Example ...
Page 356: ...16 16 MCF5282 User s Manual MOTOROLA DMA Controller Module Functional Description ...
Page 408: ...17 52 MCF5282 User s Manual MOTOROLA Buffer Descriptors ...
Page 446: ...20 24 MCF5282 User s Manual MOTOROLA Interrupts ...
Page 474: ...22 18 MCF5282 User s Manual MOTOROLA Programming Model ...
Page 510: ...23 36 MCF5282 User s Manual MOTOROLA Operation ...
Page 526: ...24 16 MCF5282 User s Manual MOTOROLA I2C Programming Examples ...
Page 672: ...28 12 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 718: ...29 46 MCF5282 User s Manual MOTOROLA Motorola Recommended BDM Pinout ...
Page 750: ...32 8 MCF5282 User s Manual MOTOROLA Ordering Information ...