![NXP Semiconductors MPC5605BK Скачать руководство пользователя страница 487](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852487.webp)
Chapter 24 LIN Controller (LINFlexD)
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
487
The access to the BDRM register is shown in
.
lists some common scenarios, controller responses, and suggestions when the LINFlexD
controller is acting as a UART receiver.
Table 24-7. BDRM access in UART mode
Access
Mode
1
1
As specified by UARTCR[RFBM]
Word length
2
2
As specified by the WL1 and WL0 bits of the UARTCR register
IPS operation result
Read Byte4
FIFO
Byte
OK
Read Byte5-6-7
FIFO
Byte
IPS transfer error
Read Half-word2-3
FIFO
Byte
IPS transfer error
Read Word
FIFO
Byte
IPS transfer error
Read Byte4-5-6-7
FIFO
Half-word
IPS transfer error
Read Half-word2
FIFO
Half-word
OK
Read Half-word3
FIFO
Half-word
IPS transfer error
Read Word
FIFO
Half-word
IPS transfer error
Write Byte4-5-6-7
FIFO
Byte/Half-word
IPS transfer error
Write Half-word2-3
FIFO
Byte/Half-word
IPS transfer error
Write Word
FIFO
Byte/Half-word
IPS transfer error
Read Byte4-5-6-7
BUFFER
Byte/Half-word
OK
Read Half-word2-3
BUFFER
Byte/Half-word
OK
Read Word
BUFFER
Byte/Half-word
OK
Write Byte4-5-6-7
BUFFER
Byte/Half-word
IPS transfer error
Write Half-word2-3
BUFFER
Byte/Half-word
IPS transfer error
Write Word
BUFFER
Byte/Half-word
IPS transfer error
Table 24-8. UART receiver scenarios
Scenario
Responses and suggestions
The software does not know (in advance) how many
bytes will be received.
Do not program UARTCR[RDFLRFC] in advance. When
this field is zero (as it is after reset), reception occurs on
a byte-by-byte basis. Therefore, the state machine will
move to IDLE state after each byte is received.
UARTCR[RDFLRFC] is programmed for a certain
number of bytes received, but the actual number of bytes
received is smaller.
The reception will hang. In this case, the software must
monitor the UARTSR[TO] field, and move to IDLE state
by setting LINCR1[SLEEP].
Содержание MPC5605BK
Страница 2: ...This page is intentionally left blank...
Страница 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Страница 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Страница 104: ...MPC5606BK Microcontroller Reference Manual Rev 2 104 Freescale Semiconductor This page is intentionally left blank...
Страница 243: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 243 Core platform modules...
Страница 244: ...MPC5606BK Microcontroller Reference Manual Rev 2 244 Freescale Semiconductor This page is intentionally left blank...
Страница 395: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 395 Communication modules...
Страница 396: ...MPC5606BK Microcontroller Reference Manual Rev 2 396 Freescale Semiconductor This page is intentionally left blank...
Страница 548: ...Chapter 24 LIN Controller LINFlexD MPC5606BK Microcontroller Reference Manual Rev 2 548 Freescale Semiconductor...
Страница 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Страница 646: ...MPC5606BK Microcontroller Reference Manual Rev 2 644 Freescale Semiconductor This page is intentionally left blank...
Страница 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Страница 716: ...MPC5606BK Microcontroller Reference Manual Rev 2 714 Freescale Semiconductor This page is intentionally left blank...
Страница 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Страница 788: ...MPC5606BK Microcontroller Reference Manual Rev 2 788 Freescale Semiconductor This page is intentionally left blank...
Страница 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Страница 894: ...MPC5606BK Microcontroller Reference Manual Rev 2 894 Freescale Semiconductor This page is intentionally left blank...
Страница 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...
Страница 944: ...MPC5606BK Microcontroller Reference Manual Rev 2 944 Freescale Semiconductor This page is intentionally left blank...