![Freescale Semiconductor MPC5604B Скачать руководство пользователя страница 90](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5604b/mpc5604b_quick-start-manual_2330604090.webp)
Here is the list of data fields relevant to the UART in the LIN control register 1 (LINCR1):
AWUM: Automatic Wake-Up Mode, when set, on activity on Rx or in internal transmit
registers, the module goes automatically to the Normal mode, clearing SLEEP bit.
SFTM: Self-Test Mode, set this bit to enable this mode.
LBKM: Loop Back Mode, set this bit to enable this mode.
RBLM: Receive Buffer Locked Mode, when this bit is set, if the receive buffer is full, next
incoming data are discarded. Otherwise incoming data overwrites the previous one.
SLEEP: Sleep Mode Request
INIT: Initialisation Request
With the exception of SLEEP and INIT, all these fields can only be changed in Initialisation mode.
3.3.
UART Mode Configuration
Figure 100 : UART Mode Control Register (R.M. Rev8 –Fig. 21-10)
The UART mode Control Register (UARTCR) allows configuring different parameters related to
this protocol. Different fields of this register are:
UART: UART mode enable, set this bit to be able to modify other fields of this register.
WL : Word Length in UART mode; 7 bit data + parity bit (0) or 8 bit data + parity bit (1).
(Parity bit is optional). Only set in Initialisation mode.
PCE: Parity Control Enable, if set, a parity bit is attached to the message and a parity
check is enabled on received data. Only set in Initialisation mode.
OP: Odd Parity, if set, the sent parity is odd, otherwise even. Only set in Initialisation
mode.
TXEN: Transmitter Enable. Transmission starts when this bit is set and data is written to
the transmit buffer.
RXEN: Receiver Enable.
RDFL: Receiver Data Field Length, Receive buffer size = RDFL[0:1]+1 bytes.
TDFL: Transmitter Data Field Length, Transmit buffer size = TDFL[0:1]+1 bytes.
3.4.
Baud Rate Configuration
The baud rate of this module is set by an unsigned fixed point number called LFDIV.
Tx/Rx
𝑏𝑎𝑢𝑑
=
𝑓
𝑝𝑒𝑟𝑖𝑝ℎ
_
1
𝑐𝑙𝑘
16 ×
𝐿𝐹𝐷𝐼𝑉
Содержание MPC5604B
Страница 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Страница 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Страница 87: ......
Страница 132: ......
Страница 133: ...127 Appendix 2 Pad Configurations...
Страница 134: ......
Страница 135: ......
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 139: ......
Страница 140: ......
Страница 141: ...Appendix 3 Peripheral input pin selection...
Страница 142: ......
Страница 143: ...137 Appendix 4 Interrupt Vector Table...
Страница 144: ......
Страница 145: ......
Страница 146: ......
Страница 147: ......
Страница 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Страница 149: ......
Страница 150: ......