Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
18-64
Freescale Semiconductor
•
Its commands are bound for an external command buffer that is not full, and it is the highest priority
triggered CFIFO sending commands to an external buffer that is not full.
A triggered CFIFO with commands bound for a certain command buffer consecutively transfers its
commands to the buffer until one of the following occurs:
•
An asserted end of queue bit is reached.
•
An asserted pause bit is encountered and the CFIFO is configured for edge trigger mode.
•
CFIFO is configured for level trigger mode and a closed gate is detected.
•
In case its commands are bound for an internal command buffer, a higher priority CFIFO that uses
the same internal buffer is triggered.
•
In case its commands are bound for an external command buffer, a higher priority CFIFO that uses
an external buffer is triggered.
The prioritization logic of the eQADC, depicted in
, is composed of three independent
submodules: one that prioritizes CFIFOs with commands bound for ADC0, another that prioritizes
CFIFOs with commands for ADC1, and a last one that prioritizes CFIFOs with commands for external
command buffer 2 and buffer 3. As these three submodules are independent, simultaneous commands to
ADC0, to ADC1, and to eQADC SSI transmit buffer are allowed. The hardware identifies the destination
of a command by decoding the EB and BN bits in the command message (see
NOTE
Triggered but empty CFIFOs, underflowing CFIFOs, are not considered for
prioritization. No data from these CFIFOs is sent to the on-chip ADCs or the
external command buffers, and lower priority CFIFOs are not stopped from
transferring commands.
Whenever ADC0 is able to receive new commands, the prioritization submodule selects the
highest-priority triggered CFIFO with a command bound for ADC0, and sends it to the ADC. In case
ADC0 is able to receive new entries but there are no triggered CFIFOs with commands bound for it,
nothing is sent. The submodule prioritizing ADC1 usage behaves in the same way.
When the eQADC SSI is enabled and ready to start serial transmissions, the submodule prioritizing
eQADC SSI usage writes command or null messages into the eQADC SSI transmit buffer, data written to
the eQADC SSI transmit buffer is subsequently transmitted to the external device through the eQADC SSI
link. The submodule writes commands to the eQADC SSI transmit buffer when there are triggered CFIFOs
with commands bound for not-full external command buffers. The command written to the transmit buffer
belongs to the highest priority CFIFO sending commands to an external buffer that is not full. This implies
that a lower priority CFIFO can have its commands sent if a higher priority CFIFO cannot send its
commands due to a full command buffer. The submodule writes null messages to the eQADC SSI transmit
buffer when there are no triggered CFIFOs with commands bound for external command buffers, or when
there are triggered CFIFOs with commands bound for external buffers but the external buffers are full. The
eQADC monitors the status of the external buffers by decoding the BUSY fields of the incoming result
messages from the external device (see
Section , “Result Message Format for External Device Operation
,”
for details).
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...