MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
19-47
19.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 will transfer 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.
19.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.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
EOQ PAUSE
Reserved
EB
(0b0)
BN
CAL
MESSAGE_TAG
LST
TSR
FMT
CFIFO Header
ADC Command
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CHANNEL_NUMBER
0
0
0
0
0
0
0
0
ADC Command
Figure 19-26. Conversion Command Message Format for On-Chip ADC Operation
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...