Z8FMC04100 ZILOG [Zilog, Inc.], Z8FMC04100 Datasheet - Page 138

no-image

Z8FMC04100

Manufacturer Part Number
Z8FMC04100
Description
Z8 Encore-R Motor Control Flash MCUs
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
245
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100QKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100QKSG
Manufacturer:
Zilog
Quantity:
979
116
Z8 Encore!
Product Specification
LIN-UART
Receiving Data using the Interrupt-Driven Method
®
Motor Control Flash MCUs
6. Read data from the LIN-UART Receive Data Register. If operating in MULTIPRO-
7. Return to Step 5 to receive additional data.
conditions). Follow these steps 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 DI instruction to disable interrupts.
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
8. Write to the LIN-UART Control 0 Register to:
9. Execute an EI instruction to enable interrupts.
The LIN-UART is now configured for interrupt-driven data reception. When the LIN-
UART Receiver interrupt is detected, the associated interrupt service routine (ISR) per-
forms the following:
The LIN-UART Receiver interrupt indicates the availability of new data (as well as error
CESSOR (9-bit) mode, further actions may be required depending on the Multiproces-
sor Mode bits
baud rate.
alternate function operation.
set the appropriate priority.
mode functions, if appropriate.
a. Set the MULTIPROCESSOR Mode Select (MPEN) to Enable Multiprocessor
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).
a. Set the receive enable bit (
b. If MULTIPROCESSOR mode is not enabled, enable parity, if appropriate, and
mode.
address matching scheme.
(interrupt on errors only is unlikely to be useful for Z8FMC16100 Series Flash
MCU devices without a DMA block),
select either even or odd parity.
MPMD
[1:0].
P R E L I M I N A R Y
REN
) to enable the LIN-UART for data reception
PS024604-1005

Related parts for Z8FMC04100