![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 634](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827634.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
634 of 1441
NXP Semiconductors
UM10503
Chapter 24: LPC43xx/LPC43Sxx SPI Flash Interface (SPIFI)
Writing to this register will be ignored when a command is in progress or while data has
yet to be written or read from the FIFO for a command issued. Use the MCINIT bit of the
Status register to verify that the hardware is in Memory mode. A successful write to this
register sets the SPIFI into Memory mode. The content of this register is identical to that of
the Command Register, except for the DATALEN (not used), POLL, DOUT, and
FRAMEFORM bits.
Table 454. SPIFI memory command register (MCMD, address 0x4000 3018) bit description
Bit
Symbol
Value
Description
Reset
value
13:0
-
Reserved. 0
14
POLL
This bit should be written as 0.
0
15
DOUT
This bit should be written as 0.
0
18:16 INTLEN
This field controls how many intermediate bytes precede
the data. (Each such byte may require 8 or 2 SCK
cycles, depending on whether the intermediate field is in
serial, 2-bit, or 4-bit format.) Intermediate bytes are
output by the SPIFI, and include post-address control
information, dummy and delay bytes. See the
description of the Intermediate Data register for the
contents of such bytes.
0
20:19 FIELDFORM
This field controls how the fields of the command are
sent.
0
0x0
All serial. All fields of the command are serial.
0x1
Quad/dual data. Data field is quad/dual, other fields are
serial.
0x2
Serial opcode. Opcode field is serial. Other fields are
quad/dual.
0x3
All quad/dual. All fields of the command are in quad/dual
format.
23:21 FRAMEFORM
This field controls the opcode and address fields.
0
0x0
Reserved.
0x1
Reserved.
0x2
Opcode one byte. Opcode, least-significant byte of
address.
0x3
Opcode two bytes. Opcode, 2 least-significant bytes of
address.
0x4
Opcode three bytes. Opcode, 3 least-significant bytes of
address.
0x5
Opcode four bytes. Opcode, 4 bytes of address.
0x6
No opcode three bytes. No opcode, 3 least-significant
bytes of address.
0x7
No opcode, 4 bytes of address.
31:24 OPCODE
The opcode of the command (not used for some
FRAMEFORM values).
0