Z8FMC160100KITG Zilog, Z8FMC160100KITG Datasheet - Page 125

KIT DEV FOR Z8 ENCORE Z8FMC16100

Z8FMC160100KITG

Manufacturer Part Number
Z8FMC160100KITG
Description
KIT DEV FOR Z8 ENCORE Z8FMC16100
Manufacturer
Zilog
Series
Z8 Encore! MC™r

Specifications of Z8FMC160100KITG

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
Z8FMC16100
Primary Attributes
3-Ph DC Motors
Secondary Attributes
Graphical User Interface
For Use With
269-4664 - KIT ACC OPTO-ISO USB SMART CABLE269-4661 - KIT ACC ETHERNET SMART CABLE269-4539 - KIT ACCESSORY USB SMART CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4660
PS024613-0910
Receiving Data using Polled Method
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 routine (ISR) performs the following:
1. If in MULTIPROCESSOR mode, write the LIN-UART Control 1 register to select the
2. Write the data byte to the LIN-UART Transmit Data register. The transmitter
3. Execute the IRET instruction to return from the interrupt-service routine and wait for
If a transmit interrupt occurs and there is no transmit data ready to send, the interrupt-ser-
vice routine executes the IRET instruction. When the application does have data to trans-
mit, software can set 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 interrupt-service routine.
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
4. Write to the LIN-UART Control 0 register to:
5. Check the RDA bit in the LIN-UART Status 0 register to determine if the Receive Data
outgoing address bit:
Set the Multiprocessor Bit Transmitter (MPBT) if sending an address byte, clear it if
sending a data byte.
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, if appropriate.
(a) Set the receive enable bit (
(b) If multiprocessor mode is not enabled, enable parity, if appropriate, and select
register contains a valid data byte (indicated by a 1). If RDA is set to 1 to indicate
available data, continue to
0), continue to monitor the RDA bit awaiting reception of the valid data.
either even or odd parity.
Step
REN
6. If the Receive Data register is empty (indicated by a
) to enable the LIN-UART for data reception.
Z8FMC16100 Series Flash MCU
Receiving Data using Polled Method
Product Specification
113

Related parts for Z8FMC160100KITG