English
Language : 

Z8F0113HJ005EG Datasheet, PDF (140/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
125
4. When the first conversion in continuous operation is complete (after 5129 system
clock cycles, plus the 40 cycles for power-up, if necessary), the ADC control logic
performs the following operations:
– CEN resets to 0 to indicate the first conversion is complete. CEN remains 0 for all
subsequent conversions in continuous operation
– An interrupt request is sent to the Interrupt Controller to indicate the conversion is
complete
5. The ADC writes a new data result every 256 system clock cycles. For each completed
conversion, the ADC control logic performs the following operations:
– Writes the 11-bit two’s complement result to {ADCD_H[7:0], ADCD_L[7:5]}
– An interrupt request to the Interrupt Controller denoting conversion complete
6. To disable continuous conversion, clear the CONT bit in the ADC Control Register to 0.
Interrupts
The ADC is able to interrupt the CPU whenever a conversion has been completed and the
ADC is enabled.
When the ADC is disabled, an interrupt is not asserted; however, an interrupt pending
when the ADC is disabled is not cleared.
Calibration and Compensation
Z8 Encore! XP F0823 Series ADC can be factory calibrated for offset error and gain error,
with the compensation data stored in Flash memory. Alternatively, user code can perform
its own calibration, storing the values into Flash themselves.
Factory Calibration
Devices that have been factory calibrated contain nine bytes of calibration data in the
Flash option bit space. This data consists of three bytes for each reference type. For a list
of input modes for which calibration data exists, see the Zilog Calibration Data section on
page 152. There is 1 byte for offset, and there are 2 bytes for gain correction.
User Calibration
If you have precision references available, its own external calibration can be performed,
storing the values into Flash themselves.
PS024315-1011
PRELIMINARY
Operation