ZLP128ICE01ZEM Zilog, ZLP128ICE01ZEM Datasheet - Page 59

no-image

ZLP128ICE01ZEM

Manufacturer Part Number
ZLP128ICE01ZEM
Description
EMULATOR CRIMZON Z8 ZLP12840
Manufacturer
Zilog

Specifications of ZLP128ICE01ZEM

Interface Type
RS-232, Ethernet, USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
269-3829
PS024410-0108
Note:
transmission rate (baud rate) of the UART. For programmed register values other than
00h
When the UART Baud Rate Low Register is programmed to
calculated using the following equation:
When the UART Baud Rate Generator is used as a general-purpose counter, the counters
time out period can be computed as follows based upon the counters clock input being a
divide by 16 of the system clock and the maximum count value being 255:
In general, the system clock frequency is the XTAL clock frequency divided by 2.
When the UART is disabled, the Baud Rate Generator can function as a basic 8-bit timer
with interrupt on time-out. Follow the steps below to configure the Baud Rate Generator
as a timer with interrupt on time-out:
1. Disable the UART by clearing the receive and transmit enable bits, UCTL[7:6] to 0.
2. Load the appropriate 8-bit count value into the UART Baud Rate Generator Constant
3. Enable the Baud Rate Generator timer function and associated interrupt by setting the
Table 22
frequencies.
Table 22. BCNST Register Settings Examples
Target UART Data
Rate (baud)
2400
, the UART data rate is calculated using the following equation:
register. The count frequency is the system clock frequency in Hz divided by 16.
Baud Rate Generator bit (UCTL bit 0) in the UART Control Register to 1. When
configured as an 8-bit timer, the count value, instead of the reload value, is read, and
the counter begins counting down from its initial programmed value. Upon timing out
(reaching a value of 1), if the time-out interrupt is enabled, an interrupt will be
produced. The counter will then reload its programmed start value and begin counting
down again.
UART Data Rate bits/s
UART Data Rate bits/s
Time-Out Period µs
lists a number of BCNST register settings at various baud rates and system clock
(
(
(
System Clock = 4 MHz,
Crystal Clock = 8 MHz
BCNST = 01101000
Actual baud rate = 2403
P R E L I M I N A R Y
)
=
)
)
16 UART Baud Rate Divisor Value
----------------------------------------------------------------------------------------------------------------------------------------- -
=
=
----------------------------------------------------------------------------------------------------------------------------------------
16 UART Baud Rate Divisor Value BCNST
×
System Clock Frequency Hz
-------------------------------------------------------------------------------- -
×
System Clock Frequency MHz
System Clock Frequency Hz
4096
System Clock = 3 MHz,
Crystal Clock = 6 MHz
BCNST = 01001110
Actual baud rate = 2403
Universal Asynchronous Receiver/
(
00h
(
)
Product Specification
, the UART data rate is
ZLP12840 OTP MCU
(
(
BCNST
)
(
)
)
)
53

Related parts for ZLP128ICE01ZEM