V
IN
=Applied voltage at the input pin
V
REFH
and V
REFL
=Voltage at the external reference pins on the device (typically V
REFH
=V
DDA
and V
REFL
=V
SSA
)
Note: The 12-bit result is rounded to the nearest LSB.
Note: The ADC is a 12-bit function with 4096 possible states. However, the 12 bits have been left shifted three bits on the
16-bit data bus, so the magnitude of this function, as read from the data bus, is now 32760.
+
-
-
V
REFH
Potential
AN+
AN–
AN+
AN–
Note: Normally, VREFL is set to VSSA = 0 V.
Differential buffer centers about mid-point.
Center tap held at (V
REFH
+ V
REFL
)/2.
V
REF
/2
Figure 34-98. Typical Connections for Differential Measurements
34.5.3 ADC Data Processing
The result of an ADC conversion process is normally sent to an adder for offset
correction, as the following figure shows. The adder subtracts the ADC_OFFST register
value from each sample, and the resultant value is stored in the result register (RSLT).
The raw ADC value and the RSLT values are checked for limit violations and zero-
crossing, as shown. Appropriate interrupts are asserted, if enabled.
The result value sign is determined from the ADC unsigned result minus the respective
offset register value. If the offset register is programmed with a value of zero, the result
register value is unsigned and equals the cyclic converter unsigned result. The range of
the result (RSLT) is 0000H–7FF8H, assuming that the offset register (OFFST) is cleared
to all zeros. This is equal to the raw value of the ADC core.
The processor can write the result registers used for the results of a scan when the STOP
bit for that scan is asserted. This write operation is treated as if it comes from the ADC
analog core, so the limit checking, zero crossing, and the offset registers function as if in
Functional Description
KV4x Reference Manual, Rev. 2, 02/2015
712
Preliminary
Freescale Semiconductor, Inc.
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...