QSPI_CR

QSPI Control Register

  0x00 32 Write-only –  

QSPI Control Register

Bit  31 30 29 28 27 26 25 24  
                LASTXFER  
Access                W  
Reset                 
Bit  23 22 21 20 19 18 17 16  
                   
Access                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
                   
Access                   
Reset                   
Bit  7 6 5 4 3 2 1 0  
  SWRST           QSPIDIS QSPIEN  
Access  W           W W  
Reset             

Bit 0 – QSPIEN: QSPI Enable

QSPI Enable

ValueDescription
0

No effect.

1

Enables the QSPI to transfer and receive data.

Bit 1 – QSPIDIS: QSPI Disable

QSPI Disable

As soon as QSPIDIS is set, the QSPI finishes its transfer.

All pins are set in Input mode and no data is received or transmitted.

If a transfer is in progress, the transfer is finished before the QSPI is disabled.

If both QSPIEN and QSPIDIS are equal to one when QSPI_CR is written, the QSPI is disabled.

ValueDescription
0

No effect.

1

Disables the QSPI.

Bit 7 – SWRST: QSPI Software Reset

QSPI Software Reset

DMA channels are not affected by software reset.

ValueDescription
0

No effect.

1

Reset the QSPI. A software-triggered hardware reset of the QSPI interface is performed.

Bit 24 – LASTXFER: Last Transfer

Last Transfer

ValueDescription
0

No effect.

1

The chip select is deasserted after the character written in QSPI_TDR.TD has been transferred.