Z16F2800100ZCOG Zilog, Z16F2800100ZCOG Datasheet - Page 154

DEV KIT FOR Z16F ZNEO

Z16F2800100ZCOG

Manufacturer Part Number
Z16F2800100ZCOG
Description
DEV KIT FOR Z16F ZNEO
Manufacturer
Zilog
Series
ZNEO™r
Type
MCUr

Specifications of Z16F2800100ZCOG

Contents
Evaluation Board, Software and Documentation
For Use With/related Products
Z16F Series
For Use With
269-4661 - KIT ACC ETHERNET SMART CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4537
PS022008-0810
Receiving Data Using Polled Method
5. If MULTIPROCESSOR mode is required, write to the LIN-UART control 1 register
6. Write to the LIN-UART Control 0 register to:
7. Execute an
The LIN-UART is now configured for interrupt-driven data transmission. As the LIN-
UART transmit data register is empty, an interrupt is generated immediately. When the
LIN-UART transmit interrupt is detected and there is transmit data ready to send, the
associated interrupt service rouISR performs the following:
1. If operating in MULTIPROCESSOR mode, write the LIN-UART control 1 register to
2. Write the data byte to the LIN-UART transmit data register. The transmitter
3. Execute the
If a transmit interrupt occurs and there is no transmit data ready to send, the interrupt
service routine executes the
transmit, software sets the appropriate interrupt request bit in the interrupt controller to
initiate a new transmit interrupt. Another alternative would be for software to write the data
to the transmit data register instead of invoking the ISR.
Follow the steps below to configure the LIN-UART for polled data reception:
1. Write to the LIN-UART baud rate high and low byte registers to set the appropriate
2. Enable the LIN-UART pin functions by configuring the associated GPIO port pins for
3. Write to the LIN-UART control 1 register to enable MULTIPROCESSOR mode
to enable MULTIPROCESSOR (9-bit) mode functions.
(a) Set the MULTIPROCESSOR mode select (MPEN) to enable
(a) Set the transmit enable bit (TEN) to enable the LIN-UART for data transmission
(b) Enable parity, if MULTIPROCESSOR mode is not enabled, and select either even
(c) Set or clear the CTSE bit to enable or disable control from the remote receiver
select the outgoing address bit:
(a) Set the multiprocessor bit transmitter (MPBT) if sending an address byte; clear it
automatically transfers the data to the transmit shift register and transmits the data.
the transmit data register to again become empty.
baud rate.
alternate function operation.
functions.
MULTIPROCESSOR mode.
or odd parity.
through the CTS pin.
if sending a data byte.
EI
IRET
instruction to enable interrupts.
instruction to return from the interrupt service routine and waits for
P R E L I M I N A R Y
IRET
instruction. When the application does have data to
Product Specification
ZNEO
Z16F Series
LIN-UART
138

Related parts for Z16F2800100ZCOG