400
CHAPTER 20 UART2, UART3
■
UART2, UART3 as Slave Device
Figure 20.7-19 UART2, UART3 LIN Slave Flow Chart
YE
S
(reception)
NO (tr
a
n
s
mi
ss
ion)
S
TART
Reception prohi
b
ited
ICU interr
u
pt en
ab
led
S
ynch
b
re
a
k interr
u
pt en
ab
led
LBD=1
S
ynch
b
re
a
k interr
u
pt
S
ynch
b
re
a
k detection cle
a
r
ECCR2/ECCR
3
: LBD=0
S
ynch
b
re
a
k interr
u
pt prohi
b
ited
ICU interr
u
pt
ICU interr
u
pt
ICU d
a
t
a
re
a
d
ICU interr
u
pt fl
a
g cle
a
r
ICU d
a
t
a
re
a
d
B
au
d r
a
te reg
u
l
a
tion
Reception en
ab
led
ICU interr
u
pt fl
a
g cle
a
r
ICU interr
u
pt prohi
b
ited
LBD=1
S
ynch
b
re
a
k interr
u
pt
Identify field reception
*1
S
leep mode?
W
a
ke
u
p reception?
W
a
ke
u
p
tr
a
n
s
mi
ss
ion?
NO
YE
S
NO
YE
S
NO
YE
S
NO
YE
S
Witho
u
t error
Error proce
ss
ing
D
a
t
a
N reception
D
a
t
a
N re
a
d
Reception prohi
b
ited
D
a
t
a
1 reception
D
a
t
a
1 re
a
d
Tr
a
n
s
mi
ss
ion d
a
t
a
N
s
et
TDR2/TDR
3
=D
a
t
a
N
Tr
a
n
s
mi
ss
ion interr
u
pt
prohi
b
ited
Tr
a
n
s
mi
ss
ion d
a
t
a
1
s
et
TDR2/TDR
3
=D
a
t
a
1
Tr
a
n
s
mi
ss
ion interr
u
pt
en
ab
led
Reception prohi
b
ited
D
a
t
a
N reception
D
a
t
a
1 reception
RDRF=1
Reception interr
u
pt
RDRF=1
Reception interr
u
pt
TDRE=1
Tr
a
n
s
mi
ss
ion interr
u
pt
RDRF=1
Reception interr
u
pt
RDRF=1
Reception interr
u
pt
*2
*1
*1
*1
*1
D
a
t
a
field
reception?
Initi
a
l
s
etting :
S
et oper
a
tion mode
3
S
eri
a
l d
a
t
a
o
u
tp
u
t en
ab
led
B
au
d r
a
te
s
etting
S
ynch
b
re
a
k length
s
etting
TXE=1, TIE=0
RXE=0, RIE=1
Connection with UART
a
nd ICU
W
a
ke
u
p code tr
a
n
s
mi
ss
ion
*1: Perform
a
n error proce
ss
ing when
a
n error h
as
occ
u
rred.
*2: • If FRE
a
nd ORE
b
it
s
a
re "1", write "1" to the CRE
b
it in the
S
CR to cle
a
r the error fl
a
g.
• If LBD
b
it in the E
S
CR i
s
"1", exec
u
te UART re
s
et.
Note: Perform the error detection in e
a
ch proce
ss
a
nd give proper c
a
re.
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......