Renesas RX62N Group Specifications

Browse online or download Specifications for Motherboards Renesas RX62N Group. Renesas RX62N Group Specifications User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 26
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
APPLICATION NOTE
R01AN0630EJ0100 Rev.1.00 Page 1 of 23
Sep 27, 2011
RX62N Group, RX621 Group
RIIC Multi-Master Communication
Introduction
This application note presents an example of communication in multi-master mode using the RIIC (I
2
C bus interface)
module provided by Renesas microcontrollers.
Target Devices
RX62N Group and RX621 Group devices
The sample program provided in this application note can also be used with other RX Family microcontrollers that have
the same I/O registers (peripheral control registers) as the RX62N Group and RX621 Group devices. Note, however,
that there are changes such as added functionality in certain sections, so users must check the corresponding manuals
carefully. Operation must be fully evaluated in advance if the code in this application note is used in an end product.
Contents
1. Specifications .................................................................................................................................... 2
2. Operation Verification Environment .................................................................................................. 3
3. Software Description ......................................................................................................................... 4
4. Sample Code................................................................................................................................... 22
5. Reference Documents..................................................................................................................... 22
R01AN0630EJ0100
Rev.1.00
Sep 27, 2011
Page view 0
1 2 3 4 5 6 ... 25 26

Summary of Contents

Page 1 - RX62N Group, RX621 Group

APPLICATION NOTE R01AN0630EJ0100 Rev.1.00 Page 1 of 23 Sep 27, 2011 RX62N Group, RX621 Group RIIC Multi-Master Communication Introduction Th

Page 2 - 1. Specifications

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 10 of 23 Sep 27, 2011 RiicStart Overview Starts master

Page 3

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 11 of 23 Sep 27, 2011 3.7 Flowcharts 3.7.1 Main Processi

Page 4 - 3.2 File Structure

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 12 of 23 Sep 27, 2011 3.7.2 Callback Function (Slave Mo

Page 5 - 3.4 Variables

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 13 of 23 Sep 27, 2011 3.7.5 RIIC Initialization Figure 6

Page 6 - 3.5 Functions

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 14 of 23 Sep 27, 2011 3.7.7 Start Master Mode Communica

Page 7 - 3.6 Function Specifications

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 15 of 23 Sep 27, 2011 3.7.9 RDRF Interrupt Handling Fig

Page 8

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 16 of 23 Sep 27, 2011 3.7.10 TDRE Interrupt Handling Fi

Page 9

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 17 of 23 Sep 27, 2011 3.7.11 TEND Interrupt Handling Fi

Page 10

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 18 of 23 Sep 27, 2011 3.7.12 Stop Condition Detection I

Page 11 - 3.7 Flowcharts

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 19 of 23 Sep 27, 2011 3.7.13 NACK Interrupt Handling Fi

Page 12

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 2 of 23 Sep 27, 2011 1. Specifications This sample progr

Page 13 - 3.7.5 RIIC Initialization

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 20 of 23 Sep 27, 2011 3.7.14 Arbitration Lost Detection

Page 14

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 21 of 23 Sep 27, 2011 3.7.15 Timeout Detection Interrup

Page 15

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 22 of 23 Sep 27, 2011 4. Sample Code The sample code can

Page 16 - Sep 27, 2011

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 23 of 23 Sep 27, 2011 Website and Support Renesas Elect

Page 17

A-1 Revision Record Description Rev. Date Page Summary 1.00 Sep.27.11 — First edition issued

Page 18

General Precautions in the Handling of MPU/MCU Products The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed

Page 19

Notice1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chan

Page 20

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 3 of 23 Sep 27, 2011 2. Operation Verification Environm

Page 21

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 4 of 23 Sep 27, 2011 3. Software Description 3.1 Operati

Page 22 - 5. Reference Documents

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 5 of 23 Sep 27, 2011 3.3 Constants Table 5 lists the con

Page 23 - Website and Support

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 6 of 23 Sep 27, 2011 3.5 Functions Table 8 lists the fun

Page 24 - Revision Record

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 7 of 23 Sep 27, 2011 3.6 Function Specifications The spe

Page 25

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 8 of 23 Sep 27, 2011 RiicIni Overview RIIC initializatio

Page 26 - SALES OFFICES

RX62N Group, RX621 Group RIIC Multi-Master Communication R01AN0630EJ0100 Rev.1.00 Page 9 of 23 Sep 27, 2011 RiicSlvStart Overview Starts slave

Comments to this Manuals

No comments