Z8F041APH020SG2156 ZiLOG, Z8F041APH020SG2156 Datasheet - Page 143

no-image

Z8F041APH020SG2156

Manufacturer Part Number
Z8F041APH020SG2156
Description
8-bit Microcontrollers - MCU 4K FLASH 1K RAM 128B NVDS
Manufacturer
ZiLOG
Datasheet

Specifications of Z8F041APH020SG2156

Rohs
yes
Core
eZ8
Processor Series
Z8F041xx
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
4 KB
Data Ram Size
1 KB
On-chip Adc
Yes
Operating Supply Voltage
2.7 V to 3.6 V
Operating Temperature Range
- 40 C to + 105 C
Package / Case
PDIP-20
Mounting Style
Through Hole
A/d Bit Size
10 bit
A/d Channels Available
8
Interface Type
UART
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
17
Number Of Timers
2
Program Memory Type
Flash
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
PS022827-1212
Hardware Overflow
Automatic Powerdown
Single-Shot Conversion
The ADC registers actually return 13 bits of data, but the two LSBs are intended for com-
pensation use only. When the software compensation routine is performed on the 13 bit
raw ADC value, two bits of resolution are lost because of a rounding error. As a result, the
final value is an 11-bit number.
When the hardware overflow bit (OVF) is set in ADC Data Low Byte (ADCD_L) Regis-
ter, all other data bits are invalid. The hardware overflow bit is set for values greater than
V
If the ADC is idle (no conversions in progress) for 160 consecutive system clock cycles,
portions of the ADC are automatically powered down. From this powerdown state, the
ADC requires 40 system clock cycles to power up. The ADC powers up when a conver-
sion is requested by the ADC Control Register.
When configured for single-shot conversion, the ADC performs a single analog-to-digital
conversion on the selected analog input channel. After completion of the conversion, the
ADC shuts down. Observe the following steps for setting up the ADC and initiating a sin-
gle-shot conversion:
1. Enable the appropriate analog inputs by configuring the general-purpose I/O pins for
2. Write the ADC Control/Status Register 1 to configure the ADC.
3. Write to the ADC Control Register 0 to configure the ADC and begin the conversion.
REF
alternate analog function. This configuration disables the digital input and output
drivers.
The bit fields in the ADC Control Register can be written simultaneously (the ADC
can be configured and enabled with the same write instruction):
and less than –V
Write to
plus unbuffered or buffered mode.
Write the
voltage reference level or to disable the internal reference. The
contained in the ADC Control Register 0.
Write to the
(different input pins available depending on the device).
Clear CONT to 0 to select a single-shot conversion.
BUFMODE[2:0]
REFSELH
ANAIN[3:0]
REF
(DIFFERENTIAL Mode).
P R E L I M I N A R Y
bit of the pair {
to select SINGLE-ENDED or DIFFERENTIAL mode,
field to select from the available analog input sources
REFSELH
Z8 Encore! XP
,
REFSELL
Product Specification
} to select the internal
®
REFSELL
F082A Series
Operation
bit is.
126

Related parts for Z8F041APH020SG2156