M16C/62P Group (M16C/62P, M16C/62PT)
17. Serial Interface
Rev.2.41
Jan 10, 2006
Page 231 of 390
REJ09B0185-0241
17.2.1
SI/Oi Operation Timing
Figure 17.41 shows the SI/Oi Operation Timing.
Figure 17.41
SI/Oi Operation Timing
17.2.2
CLK Polarity Selection
The SMi4 bit in the SiC register allows selection of the polarity of the transfer clock. Figure 17.42 shows the
Polarity of Transfer Clock.
Figure 17.42
Polarity of Transfer Clock
D7
D0
D1
D2
D3
D4
D5
D6
i= 3, 4
0.5 to 1.0 cycle (max.)
(3)
SI/Oi internal clock
CLKi output
Signal written to the
SiTRR register
SOUTi output
SINi input
SiIC register
IR bit
(NOTE 2)
NOTES :
1. This diagram applies to the case where the SiC register bits are set as follows:
SMi2=0 (SOUTi output), SMi3=1 (SOUTi output, CLKi function), SMi4=0 (transmit data output at the falling edge and receive data input at
the rising edge of the transfer clock), SMi5=0 (LSB first) and SMi6=1 (internal clock)
2. When the SMi6 bit = 1 (internal clock), the SOUTi pin is placed in the high-impedance state after the transfer finishes.
3. If the SMi6 bit=0 (internal clock), the serial I/O starts sending or receiving data a maximum of 0.5 to 1.0 transfer clock cycles after writing to the
SiTRR register.
"H"
"L"
"H"
"L"
"H"
"L"
"H"
"L"
"H"
"L"
"1"
"0"
(2) When the SMi4 bit = 1
(NOTE 3)
D1
D2
D3
D4
D5
D6
D7
D1
D2
D3
D4
D5
D6
D7
D0
D0
SINi
SOUTi
CLKi
(1) When the SMi4 bit in the SiC register = 0
NOTES:
1. This diagram applies to the case where the SiC register bits are set as follows:
SMi5=0 (LSB first) and SMi6=1 (internal clock)
2. When the SMi6 bit=1 (internal clock), a high level is output from the CLKi
pin if not transferring data.
3. When the SMi6 bit=1 (internal clock), a low level is output from the CLKi
pin if not transferring data.
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
D0
SINi
SOUTi
CLKi
(NOTE 2)
i=3 and 4
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655