Z8F16800144ZCOG Zilog, Z8F16800144ZCOG Datasheet - Page 160

KIT DEV FOR Z8F642 MCU 44 PIN

Z8F16800144ZCOG

Manufacturer Part Number
Z8F16800144ZCOG
Description
KIT DEV FOR Z8F642 MCU 44 PIN
Manufacturer
Zilog
Series
Z8 Encore!®r
Type
MCUr
Datasheets

Specifications of Z8F16800144ZCOG

Contents
Hardware, Software and Documentation
For Use With/related Products
Z8F642
For Use With
269-4661 - KIT ACC ETHERNET SMART CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4678
PS025011-1010
Receiving Data Using the Interrupt-Driven Method
The LIN-UART Receiver interrupt indicates the availability of new data (as well as 
error conditions). Follow the steps below to configure the LIN-UART receiver for
interrupt-driven operation:
1. Write to the LIN-UART Baud Rate High and Low Byte registers to set the 
2. Enable the LIN-UART pin functions by configuring the associated GPIO port pins 
3. Execute a
4. Write to the Interrupt Control registers to enable the LIN-UART Receiver interrupt
5. Clear the LIN-UART Receiver interrupt in the applicable Interrupt Request Register.
6. Write to the LIN-UART Control 1 Register to enable MULTIPROCESSOR (9-bit)
7. Write the device address to the Address Compare Register (automatic
8. Write to the LIN-UART Control 0 Register to:
9. Execute an
The LIN-UART is now configured for interrupt-driven data reception. When the 
LIN-UART Receiver interrupt is detected, the associated ISR performs the following:
1. Checks the LIN-UART Status 0 register to determine the source of the interrupt-error,
2. If the interrupt is due to data available, read the data from the LIN-UART Receive
3. Execute the IRET instruction to return from the ISR and await more data.
appropriate baud rate.
for alternate function operation.
and set the appropriate priority.
mode functions, if appropriate.
(a) Set the MULTIPROCESSOR Mode Select (
(b) Set the MULTIPROCESSOR Mode Bits,
(c) Configure the LIN-UART to interrupt on received data and errors or errors only
MULTIPROCESSOR modes only).
(a) Set the receive enable bit (
(b) If MULTIPROCESSOR mode is not enabled then enable parity, if appropriate,
break, or received data.
Data Register. If operating in MULTIPROCESSOR (9-bit) mode, further actions may
be required depending on the MULTIPROCESSOR mode bits
MULTIPROCESSOR mode.
address matching scheme.
(interrupt on errors only is unlikely to be useful for Z8 Encore! devices without a
DMA block).
and select either even or odd parity.
DI
EI
instruction to disable interrupts.
instruction to enable interrupts.
P R E L I M I N A R Y
REN
) to enable the LIN-UART for data reception.
MPMD[1:0]
MPEN
Z8 Encore! XP
) to enable
to select the appropriate
Product Specification
MPMD
[1:0].
®
F1680 Series
LIN-UART
146

Related parts for Z8F16800144ZCOG