English
Language : 

M16C30P_07 Datasheet, PDF (183/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
15. Serial Interface
15.1.6.2 Format
When direct format, set the PRYE bit in the U2MR register to “1”, the PRY bit to “1”, the UFORM bit in the
U2C0 register to “0” and the U2LCH bit in the U2C1 register to “0”. When data are transmitted, data set in the
U2TB register are transmitted with the even-numbered parity, starting from D0. When data are received,
received data are stored in the U2RB register, starting from D0. The even-numbered parity determines whether
a parity error occurs.
When inverse format, set the PRYE bit to “1”, the PRY bit to “0”, the UFORM bit to “1” and the U2LCH bit to
“1”. When data are transmitted, values set in the U2TB register are logically inversed and are transmitted with
the odd-numbered parity, starting from D7. When data are received, received data are logically inversed to be
stored in the U2RB register, starting from D7. The odd-numbered parity determines whether a parity error
occurs.
(1) Direct format
Transfer “H”
clcck “L”
TXD2 “H”
“L”
(2) Inverse format
Transfer “H”
clcck “L”
TXD2
“H”
“L”
D0 D1 D2 D3 D4 D5 D6 D7 P
P : Even parity
D7 D6 D5 D4 D3 D2 D1 D0 P
P : Odd parity
Figure 15.36 SIM Interface Format
Rev.1.22 Mar 29, 2007 Page 167 of 291
REJ09B0179-0122