Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
18-48
Freescale Semiconductor
is to be sent to the eQADC on the next serial transmission, should be encoded assuming that the external
command buffer has one entry.
18.4.1.2
Message Format in eQADC
This section explains the command and result message formats used for on-chip ADC operation and for
external device operation.
A command message is the pre-defined format at which command data is stored in the user command
queues. A command message has 32 bits and is composed of two parts: a CFIFO header and an ADC
command. The size of the CFIFO header is fixed to 6 bits, and it works as inputs to the FIFO control unit.
The header controls when a command queue ends, when it pauses, if commands are sent to internal or
external buffers, and if it can abort a serial data transmission. Information contained in the CFIFO header,
together with the upper bit of the ADC command, is used by the FIFO control unit to arbitrate which
triggered CFIFO transfers the next command. ADC commands are encoded inside the least significant 26
bits of the command message.
A result message is composed of an RFIFO header and an ADC result. The FIFO control unit decodes the
information contained in the RFIFO header to determine the RFIFO to which the ADC result should be
sent. An ADC result is always 16 bits long.
18.4.1.2.1
Message Formats for On-Chip ADC Operation
This section describes the command/result message formats used for on-chip ADC operation.
NOTE
Although this subsection describes how the command and result messages
are formatted to communicate with the on-chip ADCs, nothing prevents the
programmer from using a different format when communicating with an
external device through the serial interface. Refer to
“Message Formats for External Device Operation
the ADC command of a command message can be formatted to
communicate to an arbitrary external device provided that the device returns
an RFIFO header in the format expected by the eQADC. When the FIFO
control unit receives return data message, it decodes the message tag field
and stores the 16-bit data into the corresponding RFIFO.
Conversion Command Message Format for On-Chip ADC Operation
describes the command message format for conversion commands when interfacing with the
on-chip ADCs. A conversion result is always returned for conversion commands and time stamp
information can be optionally requested. The lower byte of conversion commands is always set to 0 to
distinguish it from configuration commands.
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...