37.8.12 Instruction Frame

Name: INSTRFRAME
Offset: 0x38
Reset: 0x00000000
Property: -

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
    DUMMYLEN[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 15141312111098 
 DDRENCRMODETFRTYPE[1:0] ADDRLENOPTCODELEN[1:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 76543210 
 DATAENOPTCODEENADDRENINSTREN WIDTH[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 20:16 – DUMMYLEN[4:0] Dummy Cycles Length

The DUMMYLEN field defines the number of dummy cycles required by the serial Flash memory before data transfer.

Bit 15 – DDREN Double Data Rate Enable

Note: Double Data Rate operating is only supported in Read.
ValueDescription
0 Double Data Rate operating mode is disabled.
1 Double Data Rate operating mode is enabled.

Bit 14 – CRMODE Continuous Read Mode

This bit defines if the Continuous Read Mode is enabled or disabled.
ValueDescription
0 Continuous Read Mode is disabled.
1 Continuous Read Mode is enabled.

Bits 13:12 – TFRTYPE[1:0] Data Transfer Type

These bits define the data type transfer.
ValueNameDescription
0x0 READ Read transfer from the serial memory.Scrambling is not performed.Read at random location (fetch) in the serial flash memory is not possible.
0x1 READMEMORY Read data transfer from the serial memory.If enabled, scrambling is performed.Read at random location (fetch) in the serial flash memory is possible.
0x2 WRITE Write transfer into the serial memory.Scrambling is not performed.
0x3 WRITEMEMORY Write data transfer into the serial memory. If enabled, scrambling is performed.

Bit 10 – ADDRLEN Address Length

The ADDRLEN bit determines the length of the address.
ValueNameDescription
0x0 24BITS 24-bits address length
0x1 32BITS 32-bits address length

Bits 9:8 – OPTCODELEN[1:0] Option Code Length

The OPTCODELEN field determines the length of the option code. The value written in OPTCODELEN must be coherent with value written in the field WIDTH. For example: OPTCODELEN=0 (1-bit option code) is not coherent with WIDTH=6 (option code sent with QuadSPI protocol, thus the minimum length of the option code is 4-bit).
ValueNameDescription
0x0 1BIT 1-bit length option code
0x1 2BITS 2-bits length option code
0x2 4BITS 4-bits length option code
0x3 8BITS 8-bits length option code

Bit 7 – DATAEN Data Enable

ValueDescription
0 No data is sent/received to/from the serial flash memory.
1 Data is sent/received to/from the serial flash memory.

Bit 6 – OPTCODEEN Option Enable

ValueDescription
0 The option is not sent to the serial flash memory
1 The option is sent to the serial flash memory.

Bit 5 – ADDREN Address Enable

ValueDescription
0 The transfer address is not sent to the serial flash memory.
1 The transfer address is sent to the serial flash memory.

Bit 4 – INSTREN Instruction Enable

ValueDescription
0 The instruction is not sent to the serial flash memory.
1 The instruction is sent to the serial flash memory.

Bits 2:0 – WIDTH[2:0] Instruction Code, Address, Option Code and Data Width

This field defines the width of the instruction code, the address, the option and the data.
ValueNameDescription
0x0 SINGLE_BIT_SPI Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Single-bit SPI
0x1 DUAL_OUTPUT Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Dual SPI
0x2 QUAD_OUTPUT Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Quad SPI
0x3 DUAL_IO Instruction: Single-bit SPI / Address-Option: Dual SPI / Data: Dual SPI
0x4 QUAD_IO Instruction: Single-bit SPI / Address-Option: Quad SPI / Data: Quad SPI
0x5 DUAL_CMD Instruction: Dual SPI / Address-Option: Dual SPI / Data: Dual SPI
0x6 QUAD_CMD Instruction: Quad SPI / Address-Option: Quad SPI / Data: Quad SPI
0x7 Reserved