Quad Serial Peripheral Interface (QuadSPI)
MPC5606S Microcontroller Reference Manual, Rev. 7
1052
Freescale Semiconductor
30.5.3.5
Serial Flash mode interrupt and DMA requests
In Serial Flash mode the QuadSPI has 8 different flags that can only generate interrupt requests and one
flag that can generate interrupt as well as DMA requests.
lists the eight conditions. Note that
the flags mentioned in the table relate to the Serial Flash Mode Flag Register (QSPI_SFMFR).
Each condition has a flag bit in the Serial Flash Mode Flag Register (QSPI_SFMFR) and a Request Enable
bit in the
SFM Interrupt and DMA Request Select and Enable Register (QSPI_SFMRSER)
. The
RX Buffer Drain Flag (RBDF) has separate enable bits for generating IRQ and DMA requests. Note that
not each single flag is represented by an individual IRQ line.
30.5.3.5.1
Transmit buffer fill interrupt request
The Transmit Buffer Fill IRQ indicates that the TX Buffer can accept new data. It is asserted if the
QSPI_SFMFR[TBFF] flag is asserted and if the corresponding enable bit (QSIP_SFMRSER[TBFIE]) is
set. Refer to
Section 30.5.3.6, TX Buffer Operation
, for details about the assertion of the
QSPI_SFMFR[TBFF] flag.
30.5.3.5.2
Receive Buffer Drain Interrupt or DMA Request
The Receive Buffer Drain IRQ derived from the QSPI_SFMFR[RBDF] flag indicates that the RX Buffer
of the QuadSPI module has data available from the serial flash device to be read by the host. It remains set
as long as the RX Buffer is not empty. The QSPI_SFMRSER[RBDIE] bit enables the related IRQ.Aside
from the IRQ it is possible to handle RX Buffer drain by DMA. If the QSPI_SFMRSER[RBDDE] bit is
set each write of the module into the RX Buffer triggers a DMA request. The application must set the
environment appropriately (for example, the DMA controller) for the DMA transfers.
30.5.3.5.3
Buffer Overflow/Underrun Interrupt Request
The Buffer Overflow/Underrun IRQ is a combination of the following flags (all located in the
QSPI_SPIFR register with the related enable bits in the QSPI_SPIRSER register):
Table 30-46. Serial Flash mode interrupt and DMA request conditions
Condition
Flag
(QSPI_SPISR)
DMA
TX Buffer Fill
TBFF
TX Buffer Underrun
TBUF
RX Buffer Drain
RBDF
X
RX Buffer Overflow
RBOF
AHB Buffer Overflow
ABOF
IP Command Trigger during AHB Access Error
IPAEF
IP Command Trigger during IP Access
IPIEF
Instruction Code Error
ICEF
Transaction Finished
TFF
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...