EasyManua.ls Logo

NXP Semiconductors MPC5566 - Message Formats for External Device Operation

NXP Semiconductors MPC5566
1268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Enhanced Queued Analog-to-Digital Converter (eQADC)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 19-55
19.4.1.2.2 Message Formats for External Device Operation
This section describes the command messages, data messages, and null messages formats used for external
device operation.
Command Message Format for External Device Operation
Figure 19-31 describes the command message format for external device operation. Command message
formats for on-chip operation and for external device operation share the same CFIFO header format.
However, there are no limitations regarding the format an ADC Command used to communicate to an
arbitrary external device. Only the upper bit of an ADC Command has a fixed format (BN field) to indicate
the FIFO control unit/external device to which the command and the external command buffer is sent. The
remaining 25 bits can be anything decodable by the external device. Only the ADC command portion of
a command message is transferred to the external device.
Table 19-39. Correspondence between Analog Voltages and Digital Values
1, 2
1
V
REF
= V
RH
- V
RL
= 5.12 V. Resulting in one 12-bit count (LSB) =1.25 mV.
2
The two’s complement representation is used to express negative values.
Voltage Level on
Channel
(V)
Corresponding 12-bit
Conversion Result
Returned by the ADC
16-bit Result
Sent to RFIFOs
(FMT=0)
3
3
Assuming an accurately calibrated ADC with an ideal gain and a zero offset.
16-bit Result
Sent to RFIFOs
(FMT=1)
3
Single-ended
Conversions
5.12 0xFFF 0x3FFC 0x1FFC
5.12 – LSB 0xFFF 0x3FFC 0x1FFC
... ... ... ...
2.56 0x800 0x2000 0x0000
... ... ... ...
1 LSB 0x001 0x0004 0xE004
0 0x000 0x0000 0xE000
Differential
Conversions
2.56 0xFFF 0x3FFC 0x1FFC
2.56 – LSB 0xFFF 0x3FFC 0x1FFC
... ... ... ...
0 0x800 0x2000 0x0000
... ... ... ...
-2.56 + LSB 0x001 0x0004 0xE004
-2.56 0x000 0x0000 0xE000

Table of Contents

Related product manuals