Renesas M16C FAMILY series Hardware Manual page 199

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
14.1.1.1 Counter Measure for Communication Error Occurs
If a communication error occurs while transmitting or receiving in clock synchronous serial I/O mode,
follow the procedures below.
•Resetting the UiRB register (i=0 to 2)
(1) Set the RE bit in the UiC1 register to "0" (reception disabled)
(2) Set the SMD2 to SMD0 bits in the UiMR register to "000
(3) Set the SMD2 to SMD0 bits in the UiMR register to "001
(4) Set the RE bit in the UiC1 register to "1" (reception enabled)
•Resetting the UiTB register (i=0 to 2)
(1) Set the SMD2 to SMD0 bits in the UiMR register to "000
(2) Set the SMD2 to SMD0 bits in the UiMR register to "001
(3) "1" is written to TE bit in the UiC1 register (reception enabled), regardless to the TE bit.
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
page 179
f o
3
8
5
" (Serial I/O disabled)
2
" (Clock synchronous serial I/O mode)
2
" (Serial I/O disabled)
2
" (Clock synchronous serial I/O mode)
2
14. Serial I/O

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents