z16f2811 ZiLOG Semiconductor, z16f2811 Datasheet - Page 152

no-image

z16f2811

Manufacturer Part Number
z16f2811
Description
High Performance Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z16f2811AL20AG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811AL20EG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811AL20SG
Manufacturer:
VISHAY
Quantity:
9 487
Part Number:
z16f2811AL20SG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811AL20SG
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z16f2811FI20AG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811FI20EG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811FI20SG
Manufacturer:
Zilog
Quantity:
155
PS022006-0207
Receiving Data using the Interrupt-Driven Method
4. Write to the LIN-UART Control 0 register to:
5. Check the
6. Read data from the LIN-UART receive data register. If operating in
7. Return to Step 5 to receive additional data.
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 appropriate
2. Enable the LIN-UART pin functions by configuring the associated GPIO port pins for
3. Execute a
4. Write to the interrupt control registers to enable the LIN-UART receiver interrupt and
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 multiprocessor
(a) Set the receive enable bit (REN) to enable the LIN-UART for data reception
(b) Enable parity, if MULTIPROCESSOR mode is not enabled, and select either even
register contains a valid data byte (indicated by a 1). If RDA is set to 1 to indicate
available data, continue to Step 6. If the receive data register is empty (indicated
by 0), continue to monitor the
MULTIPROCESSOR (9-bit) mode, further actions are required depending on the
MULTIPROCESSOR mode bits
baud rate.
alternate function operation.
set the appropriate priority.
mode functions:
(a) Set the MULTIPROCESSOR mode select (MPEN) to enable
(b) Set the MULTIPROCESSOR mode bits, MPMD[1:0], to select the appropriate
(c) Configure the LIN-UART to interrupt on received data and errors or errors only
modes only).
or odd parity.
MULTIPROCESSOR mode.
address matching scheme.
(interrupt on errors only is unlikely to be useful for ZNEO devices without a
DMA block).
DI
RDA
instruction to disable interrupts.
bit in the LIN-UART Status 0 register to determine if the receive data
P R E L I M I N A R Y
RDA
MPMD
bit awaiting reception of the valid data.
[1:0].
Product Specification
ZNEO
Z16F Series
LIN-UART
138

Related parts for z16f2811