Z8FMC16100 Series Flash MCU
Product Specification
113
Data Field
Idle State
of Line
Stop Bit(s)
msb
lsb
1
0
Start
Bit 0
Bit 1
Bit 2
Bit 3 Bit 4
Bit 5
Bit 6
Bit 7
1
2
Figure 12. LIN-UART Asynchronous Data Format without Parity
Data Field
Idle State
of Line
Stop Bit(s)
lsb
msb
Bit 7
1
0
Start
Bit 0
Bit 1
Bit 2
Bit 3 Bit 4
Bit 5
Bit 6
Parity
1
2
Figure 13. LIN-UART Asynchronous Data Format with Parity
Transmitting Data using the Polled Method
Follow these steps to transmit data using the polled operating method:
1. Write to the LIN-UART Baud Rate High and Low Byte registers to set the appropriate
baud rate.
2. Enable the LIN-UART pin functions by configuring the associated GPIO port pins for
alternate function operation.
3. If MULTIPROCESSOR mode is appropriate, write to the LIN-UART Control 1 Reg-
ister to enable MULTIPROCESSOR (9-bit) mode functions.
Set the MULTIPROCESSOR Mode Select (MPEN) to Enable MULTIPROCESSOR
mode.
4. Write to the LIN-UART Control 0 Register to:
a. Set the transmit enable bit (TEN) to enable the LIN-UART for data transmission
b. If parity is appropriate and multiprocessor mode is not enabled, set the parity
enable bit (PEN) and select either even or odd parity (PSEL).
c. Set or clear the CTSEbit to enable or disable control from the remote receiver
using the CTS pin.
PS024604-1005
P R E L I M I N A R Y
Transmitting Data using the Polled Method