Users Manual
Table Of Contents
- 34. IrDA Interface
- 35. I2C-bus Interface (RIICa)
- 35.1 Overview
- 35.2 Register Descriptions
- 35.2.1 I2C-bus Control Register 1 (ICCR1)
- 35.2.2 I2C-bus Control Register 2 (ICCR2)
- 35.2.3 I2C-bus Mode Register 1 (ICMR1)
- 35.2.4 I2C-bus Mode Register 2 (ICMR2)
- 35.2.5 I2C-bus Mode Register 3 (ICMR3)
- 35.2.6 I2C-bus Function Enable Register (ICFER)
- 35.2.7 I2C-bus Status Enable Register (ICSER)
- 35.2.8 I2C-bus Interrupt Enable Register (ICIER)
- 35.2.9 I2C-bus Status Register 1 (ICSR1)
- 35.2.10 I2C-bus Status Register 2 (ICSR2)
- 35.2.11 Slave Address Register Ly (SARLy) (y = 0 to 2)
- 35.2.12 Slave Address Register Uy (SARUy) (y = 0 to 2)
- 35.2.13 I2C-bus Bit Rate Low-Level Register (ICBRL)
- 35.2.14 I2C-bus Bit Rate High-Level Register (ICBRH)
- 35.2.15 I2C-bus Transmit Data Register (ICDRT)
- 35.2.16 I2C-bus Receive Data Register (ICDRR)
- 35.2.17 I2C-bus Shift Register (ICDRS)
- 35.3 Operation
- 35.4 SCL Synchronization Circuit
- 35.5 SDA Output Delay Function
- 35.6 Digital Noise Filters
- 35.7 Address Match Detection
- 35.8 Automatic Low-Hold Function for SCL
- 35.9 Arbitration-Lost Detection Functions
- 35.10 Start Condition/Restart Condition/Stop Condition Generating Function
- 35.11 Bus Hanging
- 35.12 SMBus Operation
- 35.13 Interrupt Sources
- 35.14 Initialization of Registers and Functions When a Reset is Applied or a Condition is Detected
- 35.15 Event Link Function (Output)
- 35.16 Usage Notes
- 36. CAN Module (RSCAN)
R01UH0823EJ0110 Rev.1.10 Page 1133 of 1852
Nov 30, 2020
RX23W Group 35. I
2
C-bus Interface (RIICa)
35.2.5 I
2
C-bus Mode Register 3 (ICMR3)
Note 1. Write to the ACKBT bit only while the ACKWP bit is already 1. If it is attempted to write 1 to both the ACKWP and ACKBT bits at
the same time, the ACKBT bit will not be set to 1.
Note 2. The WAIT and RDRFS bits are valid only in receive mode (invalid in transmit mode).
NF[1:0] Bits (Noise Filter Stage Select)
These bits are used to select the number of stages in the digital noise filter.
For details on the digital noise filter function, refer to
section 35.6, Digital Noise Filters.
Note: Set the noise range to be filtered out by the noise filter within a range less than the SCL0 line high period or low
period. If the noise filter width is set to a value of [the shorter one of either SCL high width or SCL low width] –
{1.5 × t
IICcyc
(cycle time of internal reference clock (IICφ)) + 120 ns (pulse width suppressed by the analog noise
filter, a reference value)} or a greater value, the serial clock is regarded as noise by the noise filter function of the
RIIC, which may prevent the RIIC from operating normally.
Address(es): RIIC0.ICMR3 0008 8304h
b7 b6 b5 b4 b3 b2 b1 b0
SMBS WAIT RDRFS
ACKW
P
ACKBT ACKBR NF[1:0]
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b1, b0 NF[1:0] Noise Filter Stage Select
b1 b0
0 0: Noise of up to one IICφ cycle is filtered out (single-stage filter).
0 1: Noise of up to two IICφ cycles is filtered out (2-stage filter).
1 0: Noise of up to three IICφ cycles is filtered out (3-stage filter).
1 1: Noise of up to four IICφ cycles is filtered out (4-stage filter).
R/W
b2 ACKBR Received Acknowledge 0: 0 is received as the acknowledgment bit (ACK reception).
1: 1 is received as the acknowledgment bit (NACK reception).
R
b3 ACKBT Transmit Acknowledge 0: 0 is to be sent as the acknowledgment bit (ACK transmission).
1: 1 is to be sent as the acknowledgment bit (NACK transmission).
R/W*
1
b4 ACKWP ACKBT Write Protect 0: Modification of the ACKBT bit is disabled.
1: Modification of the ACKBT bit is enabled.
R/W*
1
b5 RDRFS RDRF Flag Set Timing
Select
0: The RDRF flag is set at the rising edge of the ninth SCL.
(The SCL0 line is not held low at the falling edge of the eighth clock
pulse.)
1: The RDRF flag is set at the rising edge of the eighth SCL.
(The SCL0 line is held low at the falling edge of the eighth clock pulse.)
Low-hold is released by writing a value to the ACKBT bit.
R/W*
2
b6 WAIT WAIT 0: No WAIT
(The period between ninth clock pulse and first clock pulse is not held
low.)
1: WAIT
(The period between ninth clock pulse and first clock pulse is held low.)
Low-hold is released by reading the ICDRR register.
R/W*
2
b7 SMBS SMBus/I
2
C-bus Select 0: The I
2
C-bus is selected.
1: The SMBus is selected.
R/W