R01UH0092EJ0110 Rev.1.10
Page 489 of 807
Jul 31, 2012
M16C/64C Group
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Figure 23.18 I2C Mode Block Diagram
Figure 23.19 Internal Clock Configuration
Table 23.15
I/O Pin Functions in I
2
C Mode
Pin Name
I/O
Function
SCLi
I/O
Clock input or output
SDAi
I/O
Data input or output
Note:
1.
Set the port direction bit sharing pin to 0.
2.
Pins CLKi and
CTSi
/
RTSi
are not used (they can be used as I/O ports).
Delay
circuit
Transmission
register
SDAi
SCLi
Reception
register
CLK
control
Internal clock
UARTi
External
clock
Arbitration
Start condition
detection
Stop condition
detection
Port register
Falling edge
detection
D
T
Q
D
T
Q
D
T
Q
NACK
ACK
UARTi
UARTi
UARTi
R
UARTi transmit, NACKi
interrupt request
UARTi receive,
ACKi interrupt request,
DMA1, DMA3 request
9th bit
IICM = 1 and
IICM2 = 0
S
R
Q
Bus
busy
Start/stop condition
detection interrupt
request
ALS
R
S
SWC
8th bit falling edge
IICM = 1 and
IICM2 = 0
IICM2 = 1
IICM2 = 1
SWC2
SDHI
DMA0 to DMA3 request
This diagram applies when bits SMD2 to SMD0 in the UiMR register are 010b and the IICM bit in the UiSMR register is 1.
IICM: Bit in the UiSMR register
IICM2, SWC, ALS, SWC2, SDHI: Bits in the UiSMR2 register
STSPSEL, ACKD, ACKC: Bits in the UiSMR4 register
IICM = 0
IICM = 1
I/O port
DMA0, DMA2 request
STSPSEL=0
STSPSEL
= 1
STSPSEL = 1
STSPSEL = 0
SDA (STSP)
SCL (STSP)
ACKC = 1
ACKC = 0
ACKD bit
Q
Start and stop condition generation block
Noise
filter
Noise
filter
i = 0 to 2, 5 to 7
1/(n+1)
1/2
Sampling clock of
digital delay circuit
SCL clock
(internal clock)
UiBRG
UiBRG count source
n: UiBRG register setting value
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...