跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

What is setting register when continuous receive operation isn't used?

Latest Updated:08/25/2010

Question:

What is the procedure for setting registers when continuous receive operation is not used in master receive mode?

Answer:

The procedure is described in the “I2C bus Interface” chapter of the hardware manual for your product. Please check the information which is given there.
The latest hardware manual is available from Documentation

The following provides additional information about the flow described in the manual. This should be read in conjunction with the manual.
When continuous receive operation is not used in master receive mode, set “RCVD bit ← 1”.

  1. After performing steps (1) and (2), skip steps (3) to (7) and then perform step (8).
    Step (8) is a dummy read of the ICDRR register.
  2. After performing step (9), return to step (8), and then repeat steps (8) and (9).
    It is not necessary to generate a stop condition until the last data is received.
  3. To read the receive data of (last byte - 1) in step (8), set the ACKBT bit in step (7) before performing step (8).
    Setting “RCVD bit ← 1” is not required here.
  4. After the data of the last byte has been received, perform the remaining steps according to the flow described in the hardware manual.

When using the I2C bus interface in master receive mode, also refer to Technical Update “TN-16C-A166A/E: Notes on I2Cbus interface in Master Receive Mode”.

Suitable Products
R8C/1A
R8C/1B
R8C/20
R8C/21
R8C/22
R8C/23
R8C/24
R8C/25
R8C/26
R8C/27
R8C/28
R8C/29
R8C/2A
R8C/2B
R8C/2C
R8C/2D
R8C/32C
R8C/33C
R8C/34C
R8C/35C
R8C/36C
R8C/38C
R8C/3GC
R8C/3JC
R8C/38A
R8C/L35C
R8C/L36C
R8C/L38C
R8C/L3AC