![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 631](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827631.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
631 of 1441
NXP Semiconductors
UM10503
Chapter 24: LPC43xx/LPC43Sxx SPI Flash Interface (SPIFI)
Table 449. SPIFI command register (CMD, address 0x4000 3004) bit description
Bit
Symbol
Value Description
Reset
value
13:0
DATALEN
Except when the POLL bit in this register is 1, this field
controls how many data bytes are in the command. 0
indicates that the command does not contain a data field.
0
14
POLL
This bit should be written as 1 only with an opcode that a)
contains an input data field, and b) causes the serial flash
device to return byte status repetitively (e.g., a Read Status
command). When this bit is 1, the SPIFI hardware
continues to read bytes until the test specified by the
dataLen field is met. The hardware tests the bit in each
status byte selected by DATALEN bits 2:0, until a bit is
found that is equal to DATALEN bit 3. When the test
succeeds, the SPIFI captures the byte that meets this test
so that it can be read from the Data Register, and
terminates the command by raising CS. The
end-of-command interrupt can be enabled to inform
software when this occurs
0
15
DOUT
If the DATALEN field is not zero, this bit controls the
direction of the data:
0
0
Input from serial flash.
1
Output to serial flash.
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.