EasyManua.ls Logo

NXP Semiconductors PXN2020 - 31.4.5 SCI Mode; 31.4.5.1 SCI Mode Configuration; 31.4.5.2 Transmitter

NXP Semiconductors PXN2020
1376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Enhanced Serial Communication Interface (eSCI)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor 31-27
The maximum percent difference between the receiver baud rate and the transmitter baud rate is:
Eqn. 31-10
The maximum percent differences for the supported frames is given in Table 31-21
31.4.5 SCI Mode
31.4.5.1 SCI Mode Configuration
The application must configure the following bits and fields in order to achieve correct SCI operation.
enable SCI Mode
eSCI LIN Control Register 1 (eSCI_LCR1)[LIN] = 0
•select baud rate
eSCI Baud Rate Register (eSCI_BRR)[SBR]
•select receiver input mode
eSCI Control Register 1 (eSCI_CR1)[LOOPS]
eSCI Control Register 1 (eSCI_CR1)[RSRC]
•select frame format
eSCI Control Register 1 (eSCI_CR1)[M]
eSCI Control Register 1 (eSCI_CR1)[PE]
eSCI Control Register 1 (eSCI_CR1)[WAKE]
eSCI Control Register 3 (eSCI_CR3)[M2]
•select parity type
eSCI Control Register 1 (eSCI_CR1)[PT]
31.4.5.2 Transmitter
The transmitter supports the transmission of all frame types defined in Table 31-15, of all break characters
defined in Table 31-17, and of all idle characters defined in Table 31-18.
31.4.5.2.1 Transmitter States and Transitions
The transmitter has four basic states that are shown and described in Table 31-22. The state transitions that
can triggered by the application commands are shown in Table 31-23. The state transitions that can
Table 31-21. Slower Receiver Maximum Tolerance
Payload Bits Stop Bits Max Baudrate Difference rx
STOP
tx
START
8 1 4.37% 153 160
9 1 3.97% 169 176
9 2 3.57% 185 196
13 2 2.73% 249 256
baudrate
tx
START
rx
STOP
tx
START
------------------------------------------


100

Table of Contents

Related product manuals