|
PXN20RM Datasheet, PDF (1017/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller | |||
|
◁ |
Enhanced Serial Communication Interface (eSCI)
The maximum percent difference between the receiver baud rate and the transmitter baud rate is:
ïbaudrate
ï£
ï¦
ï¨
t---x---S--T---A-t--x-R--S-T--T--â-A---Rr---xT---S---T--O----P-ï¸ï¶
ï´
100
The maximum percent differences for the supported frames is given in Table 31-21
Eqn. 31-10
Table 31-21. Slower Receiver Maximum Tolerance
Payload Bits Stop Bits Max Baudrate Difference rxSTOP txSTART
8
1
4.37%
153 160
9
1
3.97%
169 176
9
2
3.57%
185 196
13
2
2.73%
249 256
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
Freescale Semiconductor
PXN20 Microcontroller Reference Manual, Rev. 1
31-27
|
▷ |