Z8F042AHJ020SC00TR Zilog, Z8F042AHJ020SC00TR Datasheet - Page 111

no-image

Z8F042AHJ020SC00TR

Manufacturer Part Number
Z8F042AHJ020SC00TR
Description
IC ENCORE XP MCU FLASH 4K 28SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheets

Specifications of Z8F042AHJ020SC00TR

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
23
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 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
28-SSOP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
Z8F042AHJ020SC00T
PS022825-0908
Transmitting Data using the Interrupt-Driven Method
6. Check the TDRE bit in the UART Status 0 register to determine if the Transmit Data
7. Write the UART Control 1 register to select the outgoing address bit.
8. Set the Multiprocessor Bit Transmitter (MPBT) if sending an address byte, clear it if
9. Write the data byte to the UART Transmit Data register. The transmitter automatically
10. Make any changes to the Multiprocessor Bit Transmitter (
11. 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 steps below to configure the UART for inter-
rupt-driven data transmission:
1. Write to the UART Baud Rate High and Low Byte registers to set the appropriate baud
2. Enable the UART pin functions by configuring the associated GPIO Port pins for
3. Execute a DI instruction to disable interrupts.
4. Write to the Interrupt control registers to enable the UART Transmitter interrupt and
5. Write to the UART Control 1 register to enable MULTIPROCESSOR (9-bit) mode
6. Set the MULTIPROCESSOR Mode Select (MPEN) to Enable MULTIPROCESSOR
7. Write to the UART Control 0 register to:
8. Execute an EI instruction to enable interrupts.
register is empty (indicated by a 1). If empty, continue to
register is full (indicated by a 0), continue to monitor the TDRE bit until the Transmit
Data register becomes available to receive new data.
sending a data byte.
transfers the data to the Transmit Shift register and transmits the data.
and MULTIPROCESSOR mode is enabled.
rate.
alternate function operation.
set the acceptable priority.
functions, if MULTIPROCESSOR mode is appropriate.
mode.
Set the transmit enable bit (TEN) to enable the UART for data transmission.
Enable parity, if appropriate and if MULTIPROCESSOR mode is not enabled, and
select either even or odd parity.
Set or clear CTSE to enable or disable control from the remote receiver using the
CTS pin.
Step
5.
Universal Asynchronous Receiver/Transmitter
Z8 Encore! XP
Step
MPBT
Product Specification
7. If the Transmit Data
) value, if appropriate
®
F082A Series
100

Related parts for Z8F042AHJ020SC00TR