Z8F042AHH020EG Zilog, Z8F042AHH020EG Datasheet - Page 105

IC ENCORE XP MCU FLASH 4K 20SSOP

Z8F042AHH020EG

Manufacturer Part Number
Z8F042AHH020EG
Description
IC ENCORE XP MCU FLASH 4K 20SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheet

Specifications of Z8F042AHH020EG

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Connectivity
IrDA, UART/USART
Peripherals
Brown-out Detect/Reset, LED, LVD, POR, PWM, Temp Sensor, WDT
Number Of I /o
17
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4156
Z8F042AHH020EG
PS022517-0508
Transmitting Data Using Interrupt-Driven Method
5. Check the
6. Write the UART Control 1 Register to select the outgoing address bit:
7. Write data byte to the UART Transmit Data Register. The transmitter automatically
8. If required, and multiprocessor mode is enabled, make any changes to the
9. To transmit additional bytes, return to
The UART Transmitter interrupt indicates the availability of the Transmit Data Register to
accept new data for transmission. Follow the below steps to configure the UART for
interrupt-driven data transmission:
1. Write to the UART Baud Rate High and Low Byte Registers to set the required
2. Enable the UART pin functions by configuring the associated GPIO Port pins for
3. Execute a
4. Write to the Interrupt Control Registers to enable the UART Transmitter interrupt and
5. If MULTIPROCESSOR mode is required, write to the UART Control 1 Register to
6. Write to the UART Control 0 Register to:
7. Execute an
Register is empty (indicated by a 1). If empty, continue to
Register is full (indicated by a 0), continue to monitor the
Data Register becomes available to receive new data.
transfers data to the Transmit Shift Register and then transmits the data.
Multiprocessor Bit Transmitter (
baud rate.
alternate function operation.
set the required priority.
enable Multiprocessor (9-bit) mode functions:
Set the Multiprocessor Bit Transmitter (
clear it if sending a data byte.
Set the Multiprocessor Mode Select (MPEN) to enable MULTIPROCESSOR
mode.
Set the transmit enable (TEN) bit to enable the UART for data transmission
Enable parity, if required, and if MULTIPROCESSOR mode is not enabled, and
select either even or odd parity.
Set or clear the
through the CTS pin.
DI
TDRE
EI
instruction to disable interrupts.
instruction to enable interrupts.
bit in the UART Status 0 Register to determine if the Transmit Data
CTSE
bit to enable or disable control from the remote receiver
MPBT
) value.
step
5.
MPBT
Universal Asynchronous Receiver/Transmitter
) if sending an address byte,
Z8 Encore! XP
step
TDRE
Product Specification
6. If the Transmit Data
bit until the Transmit
®
F0822 Series
92

Related parts for Z8F042AHH020EG