Download R-IN32M3ーCL User`s Manual
Transcript
ASSP R-IN32M3 Series User’s Manual ・R-IN32M3-CL All information of mention is things at the time of this document publication, and Renesas Electronics may change the product or specifications that are listed in this document without a notice. Please confirm the latest information such as shown by website of Renesas Document number: R18UZ0005EJ0202 Issue date : Dec 25, 2014 Notice 1. 2. 3. 4. 5. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product. Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High Quality". The recommended applications for each Renesas Electronics product depends on the product's quality grade, as indicated below. "Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots etc. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; and safety equipment etc. Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics. 6. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. 7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or systems manufactured by you. 8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 9. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. 10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products. 11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries. (Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics. Instructions for the use of product In this section, the precautions are described for over whole of CMOS device. Please refer to this manual about individual precaution. When there is a mention unlike the text of this manual, a mention of the text takes first priority 1.Handling of Unused Pins Handle unused pins in accord with the directions given under Handling of Unused Pins in the manual. -The input pins of CMOS products are generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. Unused pins should be handled as described under Handling of Unused Pins in the manual. 2.Processing at Power-on The state of the product is undefined at the moment when power is supplied. -The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied. In a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3.Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited. -The reserved addresses are provided for the possible future expansion of functions. Do not access these addresses; the correct operation of LSI is not guaranteed if they are accessed. 4.Clock Signals After applying a reset, only release the reset line after the operating clock signal has become stable. When switching the clock signal during program execution, wait until the target clock signal has stabilized. -When the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. ・ARM, AMBA, ARM Cortex, Thumb and ARM Cortex-M3 are a trademark or a registered trademark of ARM Limited in EU and other countries. ・Ethernet is a registered trademark of Fuji Zerox Limited. ・IEEE is a registered trademark of the Institute of Electrical and Electronics Engineers, Inc. ・EtherCAT is a registered trademark of Beckhoff Automation GmbH, Germany. ・CC-Link and CC-Link IE Field are a registered trademark of CC-Link Partner Association (CLPA). ・Additionally all product names and service names in this document are a trademark or a registered trademark which belongs to the respective owners. ・Real-Time OS Accelerator and Hardware Real-Time OS is based on Hardware Real-Time OS of “ARTESSO” made in KERNELON SILICON Inc. How to use this manual 1. Purpose and target readers This manual is intended for users who wish to understand the functions of Industrial Ethernet network LSI “R-IN32M3-CL” (μPD60510F1-HN4-A) for designing application of it. It is assumed that the reader of this manual has general knowledge in the fields of electrical engineering, logic circuits, and microcontrollers. Particular attention should be paid to the precautionary notes when using the manual. These notes occur within the body of the text, at the end of each section, and in the Usage Notes section. The revision history summarizes the locations of revisions and additions. It does not list all revisions. Refer to the text of the manual for details. Literature Literature may be preliminary versions. Note, however, that the following descriptions do not indicate "Preliminary". Some documents on cores were created when they were planned or still under development. So, they may be directed to specific customers. Last four digits of document number(described as ****) indicate version information of each document. Please download the latest document from our web site and refer to it. The document related to R-IN32M3-CL Document name Document number R-IN32M3 series Datasheet R18DS0008EJ**** R-IN32M3-EC User’s Manual R18UZ0003EJ**** R-IN32M3series User’s Manual Peripheral function R18UZ0007EJ**** R-IN32M3 Series Proguraming Manual (OS edition) R18UZ0011EJ**** R-IN32M3 Series Proguraming Manual (Driver edition) R18UZ0009EJ**** R-IN32M3-CL User’s Manual This manual 2. Notation of Numbers and Symbols Weight in data notation: Left is high-order column, right is low-order column Active low notation: xxxZ (capital letter Z after pin name or signal name) or xxx_N or xxnx (capital letter _N after pin name or signal name) (pin name or signal name contains small letter n) Note: explanation of (Note) in the text Caution: Item deserving extra attention Remark: Supplementary explanation to the text Numeric notation: Binary … xxxx , xxxxB or n’bxxxx (n bits) Decimal … xxxx Hexadecimal … xxxxH or n’hxxxx (n bits) Prefixes representing powers of 2 (address space, memory capacity): K (kilo)… 210 = 1024 M (mega)… 220 = 10242 G (giga)… 230 = 10243 Data Type: Word … 32 bits Halfword … 16 bits Byte … 8 bits Contents 1. 2. Overview ........................................................................................................................................................ 1 1.1 Introduction......................................................................................................................................................... 1 1.2 Overview ............................................................................................................................................................ 2 1.3 INTERNAL BLOCK DIAGRAM ...................................................................................................................... 4 1.4 Pin Placement (Top View) .................................................................................................................................. 5 Signals by function ........................................................................................................................................ 6 2.1 Signals by function ............................................................................................................................................. 6 2.1.1 Ethernet Signals ......................................................................................................................................... 6 2.1.2 External Memory Interface Signals ........................................................................................................... 8 2.1.3 External MCU Interface Signals ............................................................................................................ 9 2.1.4 Port Signal, Real-time port Signals .......................................................................................................... 10 2.1.5 Serial Flash ROM Interface Signals ........................................................................................................ 14 2.1.6 DMA Interface Signals ............................................................................................................................ 14 2.1.7 External Interrupt Input Signals ............................................................................................................... 15 2.1.8 Timer I/O Signals .................................................................................................................................... 15 2.1.9 Watchdog Timer Output Signal ............................................................................................................... 15 2.1.10 Trace Signals ........................................................................................................................................... 16 2.1.11 CPU Power Control Signal ...................................................................................................................... 16 2.1.12 Serial Interface Signals ............................................................................................................................ 16 2.1.13 CC-Link IE Field Signals (Intelligent device station) .............................................................................. 17 2.1.14 CC-Link Signals (Intelligent device station) ........................................................................................... 18 2.1.15 CC-Link Signals (Remote device station) ............................................................................................... 19 2.1.16 System Signals ......................................................................................................................................... 20 2.1.17 Test Signals .............................................................................................................................................. 21 2.1.18 Operation mode Setting Signals............................................................................................................... 21 2.2 Port status ......................................................................................................................................................... 22 2.3 Operation mode monitor functions ................................................................................................................... 23 2.4 Buffer function conversion function ................................................................................................................. 23 2.5 Buffer Types and Recommended Connections for Unused Pins ...................................................................... 24 2.5.1 Ethernet Signals ....................................................................................................................................... 24 2.5.2 External Memory/ MCU Interface Signals .............................................................................................. 25 2.5.3 System Signals ......................................................................................................................................... 25 2.5.4 Test Signals .............................................................................................................................................. 26 2.5.5 Port Signals .............................................................................................................................................. 27 Comtents-1 2.5.6 Operation Mode Setting Signals .............................................................................................................. 28 2.5.7 CC-Link IE Field Signal (Intelligent device station) ............................................................................... 28 2.5.8 CC-Link Signal (Intelligent device station, Remote device station) ........................................................ 28 2.5.9 Trace Signals ........................................................................................................................................... 28 3. Memory Maps .............................................................................................................................................. 29 4. Exception handling function......................................................................................................................... 33 4.1 Exceptions list ................................................................................................................................................... 33 4.2 Interrupt list ...................................................................................................................................................... 34 5. Peripheral function ....................................................................................................................................... 38 6. CC-Link IE Field (Intelligent device station) Function ................................................................................. 39 6.1 7. CC-Link IE Field (Intelligent device station) control register .......................................................................... 39 6.1.1 CC-Link IE Field (Intelligent device station) clock gate register(CIECLKGTD) .............................. 40 6.1.2 CC-Link IE Field (Intelligent device station) wait delay register(CIEWAITDLY) ........................... 41 6.1.3 CC-Link IE Field (Intelligent device station) bus size control register (CIEBSC) .................................. 42 6.1.4 CC-Link IE Field (Intelligent device station) bus bridge control register (CIESMC) ............................. 42 Port function ................................................................................................................................................ 43 7.1 Features ............................................................................................................................................................. 43 7.2 Port configuration ............................................................................................................................................. 44 7.3 Registers ........................................................................................................................................................... 46 7.3.1 Port registers (P, RP) ............................................................................................................................... 52 7.3.2 Port mode registers (PM, RPM)............................................................................................................... 55 7.3.3 Port mode control register (PMC, RPMC)............................................................................................... 58 7.3.4 Port function control registers (PFC, RPFC) ........................................................................................... 61 7.3.5 Port function control expansion registers (PFCE, RPFCE) ..................................................................... 64 7.3.6 Port pin input registers (PIN, RPIN) ........................................................................................................ 67 7.4 Available combinations of alternate functions .................................................................................................. 70 7.5 Buffer function change registers (DRCTLP) .................................................................................................... 74 7.5.1 Port 0 buffer function change registers (DRCTLP0L, DRCTLP0H) ....................................................... 75 7.5.2 Port 1 Buffer function change register (DRCTLP1L, DRCTLP1H)........................................................ 76 7.5.3 Port 2 Buffer function change register (DRCTLP2L, DRCTLP2H)........................................................ 77 7.5.4 Port 3 Buffer function change register (DRCTLP3L, DRCTLP3H)..................................................... 78 7.5.5 Port 4 Buffer function change register (DRCTLP4L, DRCTLP4H)..................................................... 79 7.5.6 Port 5 Buffer function change register (DRCTLP5L, DRCTLP5H)..................................................... 80 7.5.7 Port 6 Buffer function change register (DRCTLP6L, DRCTLP6H)..................................................... 81 Comtents-2 7.5.8 Port 7 Buffer function change register 7.5.9 Real-time port 0 Buffer function change register 7.5.10 Real-time port 1 buffer function change registers (DRCTLRP1L, DRCTLRP1H) ................................. 84 7.5.11 Real-time port 2 Buffer function change register (DRCTLRP2L, DRCTLRP2H) .................................. 85 7.5.12 Real-time port 3 Buffer function change register 7.6 (DRCTLRP0L, DRCTLRP0H) ............................... 83 (DRCTLRP3L, DRCTLRP3H) ............................... 86 Operation of port functions ............................................................................................................................... 87 7.6.1 Reading and writing via I/O ports ............................................................................................................ 87 7.6.2 Alternate function pin output status in control mode ............................................................................... 87 7.7 8. (DRCTLP7L, DRCTLP7H)..................................................... 82 Trigger-synchronous ports (RP00 to RP37)...................................................................................................... 88 Electrical Specifications ............................................................................................................................... 89 Comtents-3 Contents of figures Figure 3.1 Memory map (ALL)............................................................................................................................ 29 Figure 3.2 Memory map (APB Peripheral registers area) .................................................................................... 30 Figure 3.3 Memory map (External memory area) ................................................................................................ 31 Figure 3.4 Memory map (CC-Link Master area).................................................................................................. 31 Figure 3.5 External MCU interface area .............................................................................................................. 32 Figure 6.1 Data sampling timing example............................................................................................................ 41 Figure 7.1 Basic port circuit configuration ........................................................................................................... 45 Figure 7.2 Port registers (in 8-bit notation) .......................................................................................................... 52 Figure 7.3 Port registers (in 16-bit notation) ........................................................................................................ 53 Figure 7.4 Port registers (in 32-bit notation) ........................................................................................................ 54 Figure 7.5 Port mode registers (in 8-bit notation) ................................................................................................ 55 Figure 7.6 Port mode registers (in 16-bit notation) .............................................................................................. 56 Figure 7.7 Port mode registers (in 32-bit notation) .............................................................................................. 57 Figure 7.8 Port mode control registers (in 8-bit notation) .................................................................................... 58 Figure 7.9 Port mode control registers (in 16-bit notation) .................................................................................. 59 Figure 7.10 Port mode control registers (in 32-bit notation) .................................................................................. 60 Figure 7.11 Port function control registers (in 8-bit notation)................................................................................ 61 Figure 7.12 Port function control registers (in 16-bit notation).............................................................................. 62 Figure 7.13 Port function control expansion registers (in 8-bit notation) .............................................................. 64 Figure 7.14 Port function control expansion registers (in 16-bit notation) ............................................................ 65 Figure 7.15 Port function control expansion registers (in 32-bit notation) ............................................................ 66 Figure 7.16 Port pin input registers (in 8-bit notation) ........................................................................................... 67 Figure 7.17 Port pin input registers (in 16-bit notation) ......................................................................................... 68 Figure 7.18 Configuration of Trigger-Synchronous Ports...................................................................................... 88 Comtents-4 Contents of tables Table2.1 Operation mode setting signals that can be confirmed ............................................................................ 23 Table4.1 Interrupt list ............................................................................................................................................. 34 Table 6.1 CC-Link IE Field outline specifications.................................................................................................. 39 Table 6.2 CC-Link IE Field (Intelligent device station) control registers overview ............................................ 39 Comtents-5 R18UZ0005EJ0202 R-IN32M3-CL User’s Manual 1. Overview 1.1 Introduction Dec 25, 2014 Ethernet communication continues to spread rapidly in the field of industrial automation as manufacturers seek to improve the capability, efficiency, and flexibility of their organizations. Modern Industrial Ethernet applications require high-speed real-time response, low power consumption, and high performance. These requirements are not necessarily met by traditional methods such as hard-wired Ethernet processors or dedicated high-speed CPUs. Renesas' R-IN32M3-CL of large-scale integrated circuits (LSI) are specifically tailored to meet the demands of Industrial Ethernet applications. Key features include: • • • • • • • • High-speed, real-time, deterministic, low-latency, low-jitter response for real-time applications Low power consumption Integrated ARM Cortex-M3 core for flexibility Integrated Real-Time OS Accelerator with support for μITRON version 4.0 Integrated Gigabit Ethernet MAC Dedicated, DMA controller and buffer for the network processor High performance with low CPU usage by offloading functions to Real-Time OS Accelerator Multiple timers, serial interfaces, general purpose I/O (GPIO), external memory interfaces R-IN32M3-CL User’s Manual 1.2 1. 0BOverview Overview Table1.1 Overview of R-IN32M3-CL(1/2) Product R-IN32M3-CL Item CPU cores ARM Cortex-M3 32-bit RISC CPU + Real-Time OS Accelerator (Hardware Real-Time OS, HW-RTOS) Operating frequency 100MHz Instruction set ThumbⓇ-2 instruction ARMv7-M architecture Instruction RAM 768KByte (RAM w/ECC) Data RAM 512KByte (RAM w/ECC) Buffer RAM 64KByte (RAM w/ECC) Internal System Bus - 32-bit system bus at 100MHz - 128-bit communication bus at 100MHz DMA Bus - 4 channels + 1 channel (for Real-time port) (System Bus Side) - Supports software and various interrupt-triggered DMA Boot options - Serial Flash ROM Boot - External Memory Boot - External MCU Boot External Memory Support - 16-bit or 32-bit bus interface - Page ROM / ROM / SRAM interface - Synchronous burst memory interface - Four chip selects for external SRAM - 256MByte (max) external memory space - Programmable wait function External MCU interface - 16-bit or 32-bit bus interface - General-purpose interface for static memory - Address space:2MByte (Instruction RAM, Data RAM, Register area) Serial Flash ROM Memory Controller - Support serial interface compatible with SPI of the companies - Support direct boot from serial memory device - Support Fast Read, Fast Read Dual Output, Fast Read Dual I/O mode - Direct layout in memory space Interrupt - 29 external interrupt ports Internal Peripheral Circuit I/O Ports CMOS I/O:96ports(max) System Timers - Internal timer of Hardware RTOS - internal timer of CPU - 4channel timer array - 32bit counter & 32bit data register - counter by external signal R18UZ0005EJ0202 Dec 25, 2014 Page 2 of 89 R-IN32M3-CL User’s Manual Table1.1 1. 0BOverview Overview of R-IN32M3-CL(2/2) Product R-IN32M3-CL Item Internal Peripheral Circuit Watchdog Timer - 1 channel - Software-triggered start mode - Watchdog error response options: - Generate Non-Maskable Interrupt (NMI) - Generate Reset Asynchronous serial interface - 2 channels - Full duplex - FIFOs: 10-bit x 16 receive and 8-bit x 16 transmit - Support output of receive errors and status - Character length: 7 or 8-bit - Parity bit options: odd, even, 0- , none - Transmit stop bits: 1 or 2-bit I2C Serial interface - 2 channels - Operation modes: normal or high-speed - Transfer modes: single-transfer mode, or continuous-transfer mode - Transmission data length: 8-bit CAN controller - 2 channels - Conforming to ISO11898 - Support to transfer and receive normal frame and expand frame - Transmission speed: 1Mbps (max) Clock Synchronized Serial - 2 channels Interface - Synchronized Serial data transmission by three-wire system - Selectable Master mode or Slave mode - Built-in Baud-rate generator - Transmission data length: 7bit - 16bit CC-Link - Intelligent device station Note3 <R> - Remote device station 10/100/1000Mbps Ether MAC Note1 - 1 channel - Built-in 2-port switch - GMII / MII interface CC-Link IE CC-Link IE Field (Intelligent device station) On-chip debug function - Select serial wire or JTAG - Support Full Trace(Built-in ETM) Internal PLL Generates various clocks from 25MHz input clock Power supply voltage I/O:VDD33 = 3.3±0.3V Internal circuit :VDD10 = 1.0±0.1V Note. Please ask us about a detail for support. R18UZ0005EJ0202 Dec 25, 2014 Page 3 of 89 R18UZ0005EJ0202 Dec 25, 2014 CPU System S DMAC _RTPORT M S DMAC M HOST_CPU DMAC_RTPORT DMAC CPU I-Code CPU D-Code S S MUX S Serial Flash ROM MEMC S M M M NVIC Debug S GPIO S S MUX S S MUX Real-Time GPIO S Hardware Real-Time OS Bridge OS S Hardware Function Control S S Buffer Allocator MEMC S S MUX S Selector S MUX S S S S S MUX S M MAC_DMA M Ext_ Micon Interface S S S APB Ether SWITCH Gigabit Ether Buffer ID S AHB_APB Bridge S S MUX MUX S S MAC_TOP CC-Link IE Field Network INT_DMA M Instruction RAM 768KB(ECC) S S MUX S S AHB2DMA M 128bit Communication Bus Buffer RAM 64KB(ECC) S Data RAM 512KB(ECC) Header Endec M M 128bit Hardware Function Bus DMAC CPU I-Code CC-Link S HOST_CPU DMAC_RTPORT S S MUX Bridge S CPU System CPU D-Code PHY PHY 1.3 Cortex-M3 CPU R-IN32M3-CL R-IN32M3-CL User’s Manual 1. 0BOverview INTERNAL BLOCK DIAGRAM Timer Array UART × 2ch I2C × 2ch CAN × 2ch CSI × 2ch WDT Page 4 of 89 R18UZ0005EJ0202 Dec 25, 2014 RP33 RP37 RP14 RP10 RP04 D2 D6 D10 D14 RP23 RP25 RP26 RP32 RP36 RP13 RP17 RP05 RP02 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 RP27 D0 16 C D ETH0_ GTXC CLKOUT ETH0_ 25M0 TXD4 GND B ETH0_ TXD1 ETH0_ TXD5 ETH0_ TXD7 RP00 A ETH0_ TXD2 ETH0_ TXD6 RP01 E ETH0_ RXC ETH0_ TXER ETH0_ TXEN ETH0_ TXD0 ETH0_ TXD3 GND GND GND GND GND GND GND GND GND A8 A7 RP03 RP16 RP12 RP35 RP31 RP20 TMC1 D11 D7 D3 A12 A11 A6 A5 E GND RP07 RP15 RP11 RP34 RP30 RP21 D15 D12 D8 D4 A16 A15 A10 A9 D RP06 RP24 RP22 D13 D9 D5 D1 A19 A14 A13 C F ETH0_ TXC ETH_ MDIO ETH0_ COL ETH0_ CRS GND GND VDD33 GND VDD33 GND GND VDD33 GND GND A4 A3 A2 WRZ1 F G ETH0_ RXDV ETH0_ RXER ETH0_ GE_INT ETH_ MDC H ETH0_ RXD3 ETH0_ RXD2 ETH0_ RXD1 ETH0_ RXD0 VDD33 GND VDDQ_ MII GND VDD10 GND GND GND GND VDD10 GND GND P40 P41 P42 BUSCLK H GND VDD10 VDD10 VDD10 VDD10 GND VDD33 GND WRZ0 WRSTBZ CSZ0 RDZ G J ETH0_ RXD7 ETH0_ RXD6 ETH0_ RXD5 ETH0_ RXD4 GND GND VDD10 GND GND GND GND VDD10 VDD33 GND P46 P45 P44 P43 J P75 P74 P73 GND L P61 P60 P77 P76 M P65 P64 P63 P62 N K ETH1_ TXD7 ETH1_ TXD6 ETH1_ TXD5 ETH1_ TXD4 GND VDDQ_ MII VDD10 GND GND GND GND VDD10 GND L ETH1_ TXD3 ETH1_ TXD2 ETH1_ TXD1 ETH1_ TXD0 VDD33 GND VDD10 GND GND GND GND VDD10 GND M ETH1_ GTXC ETH1_ TXEN ETH1_ TXER TCK GND VDDQ_ MII GND VDD10 VDD10 VDD10 VDD10 GND VDD33 N ETH1_ TXC ETH1_ GE_INT ETH1_ COL TRSTZ GND GND VDD33 GND GND VDD33 GND VDD33 GND P04 MEMC SEL P ETH1_ RXC ETH1_ CRS ETH1_ RXER ETH1_ RXDV OSCTH R ETH1_ RXD0 ETH1_ RXD1 ETH1_ RXD2 ETH1_ RXD3 TDO TMS TDI PLL_ VDD PLL_ GND P12 P13 GND ETH1_ RXD7 P37 T U ETH1_ CLKOUT RXD4 25M1 ETH1_ RXD5 ETH1_ RXD6 P35 P33 P34 P15 P11 P25 P22 P06 P02 BOOT0 P30 P36 RESETZ V GND XT1 XT2 GND P32 P17 P14 P10 P24 P23 P07 P03 CCM_CL K80M 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 TRACE CLK TRACE DATA2 18 GND V HWRZ CCI_CLK SEL 2_097M P31 P16 P26 P21 P05 P27 GND P20 P00 ADMUX MODE GND BOOT1 HIF SYNC TMC2 P01 MEMIF SEL JTAG SEL TRACE DATA3 RST OUTZ TRACE DATA1 TRACE DATA0 P56 P53 U NMIZ P54 T P55 P57 P52 R PONRZ P51 P50 P67 P66 P TMODE TMODE TMODE HOT BUS32 2 1 0 RESETZ EN P72 P71 P70 P47 K 1.4 A18 A20 17 A17 B GND A 18 R-IN32M3-CL User’s Manual 1. 0BOverview Pin Placement (Top View) Page 5 of 89 R-IN32M3-CL User’s Manual 2. Signals by function 2.1 Signals by function 2.1.1 (1) 2. 1BSignals by function Ethernet Signals PHY Interface Pin Name I/O Function Active Level during reset & Level after reset ETH0_TXC I Ethernet 0 10M/100M Transmit clock port ↑ - (2.5MHz/25MHz) ETH0_GTXC O Ethernet 0 1G Transmit clock port (125MHz) ↑ - ETH0_TXEN O Ethernet 0 Transmit enable port High Low ETH0_TXER O Ethernet 0 Transmit error port High Low ETH0_TXD0- O Ethernet 0 Transmit data port - Low ETH0_GE_INT I Ethernet 0 PHY interrupt port High/Low - ETH0_RXC I Ethernet 0 Receive clock port ↑ - ETH0_RXDV I Ethernet 0 Receive enable port High - ETH0_RXER I Ethernet 0 Receive error port High - ETH0_RXD0- I Ethernet 0 Receive data port - - I Ethernet 0 Carrier sense port High - Note ETH0_TXD7 ETH0_RXD7 ETH0_CRS ETH0_COL I Ethernet 0 Collision port High - ETH1_TXC I Ethernet 1 10M/100M Transmit clock port ↑ - (2.5MHz/25MHz) ETH1_GTXC O Ethernet 1 1G Transmit clock port (125MHz) ↑ - ETH1_TXEN O Ethernet 1 Transmit enable port High Low ETH1_TXER O Ethernet 1 Transmit error port High Low ETH1_TXD0- O Ethernet 1 Transmit data port - Low ETH1_GE_INT I Ethernet 1 PHY interrupt port High/Low - ETH1_RXC I Ethernet 1 Receive clock port ↑ - ETH1_RXDV I Ethernet 1 Receive enable port High - ETH1_RXER I Ethernet 1 Receive error port High - ETH1_RXD0- I Ethernet 1 Receive data port - - ETH1_CRS I Ethernet 1 Carrier sense port High - ETH1_COL I Ethernet 1 Collision port High - ETH_MDC O Ethernet Serial management interface clock ↑ Low ETH_MDIO I/O Ethernet Serial management interface data input/output - Hi-Z Note ETH1_TXD7 ETH1_RXD7 Note. Out put the 125MHz clock. R18UZ0005EJ0202 Dec 25, 2014 Page 6 of 89 R-IN32M3-CL User’s Manual (2) 2. 1BSignals by function Other Signals Pin Name I/O Function Shared Active Port PHYLINK0, I PHYLINK1 ETHSWSECOUT R18UZ0005EJ0202 Dec 25, 2014 PHY Link port P06-P07 Level after reset High (for EtherSwitch) O EtherSwitch Event par 1sec output port Level during reset & Hi-Z With internal P24 High pull-up resistor Page 7 of 89 R-IN32M3-CL User’s Manual 2.1.2 2. 1BSignals by function External Memory Interface Signals Pin Name I/O Function Shared Shared Signal port Active Level during Level after reset reset BUSCLK O Bus clock output port - - - - CSZ0 O Chip select signal HCSZ - Low Hi-Z CSZ1 O output port HPGCSZ P44 With internal pull-up CSZ2 O - P51 resistor CSZ3 O - P50 A1 O HA1 P40 Address output port - Hi-Z Low With internal pull-up resistor A2-A20 O HA2-HA20 - Hi-Z A21-A27 O - RP21- With Hi-Z RP27 internal With - pull-down internal resistor pull-down D0-D15 Note1 I/O Data bus port HD0-HD15 resistor D16-D31 Note1 I/O HD16-HD31 RP30- - Hi-Z RP37 With internal pull-up RP10- resistor RP17 RDZ O Read strobe output port HRDZ - Low Hi-Z WRSTBZ O Write strobe output port HWRSTBZ - Low With WRZ0, WRZ1/ O Effectively Byte lane HWRZ0, HWRZ1/ - Low internal strobe output port HBENZ0, HBENZ1 BENZ0, BENZ1 WRZ2, WRZ3/ O BENZ2, BENZ3 WAITZ I Wait signal input port WAITZ1-WAITZ3 High pull-up HWRZ2, HWRZ3/ RP06, HBENZ2, HBENZ3 RP07 HWAITZ P41 - P45-P47 resistor Low Hi-Z With internal pull-up Note2 resistor BCYSTZ / ADVZ Note3 O Address valid output HBCYSTZ RP20 Low port Hi-Z With internal pull-up resistor Remark External Memory Interface Signal expects BUSCLK is an input signal while the internal reset signal (HRESETZ) is active. Note1. When using synchronous burst access MEMC this port is shared with Address port when ADMUXMODE is high. 2. This port is available only when using synchronous burst access MEMC. 3. This port functions as BCYSTZ when using asynchronous SRAM MEMC, it functions as ADVZ when using synchronous burst access MEMC R18UZ0005EJ0202 Dec 25, 2014 Page 8 of 89 R-IN32M3-CL User’s Manual 2.1.3 2. 1BSignals by function External MCU Interface Signals Pin Name HBUSCLK I/O I Function Bus clock for Host MCU Shared Signal INTPZ11 Shared port P43 Active - output port HCSZ I Chip select signal input Level during reset & Level after reset Hi-Z With internal CSZ0 - Low CSZ1 P44 Low pull-up resistor port HPGCSZ I Pogrom mode Chip select signal input port HWAITZ O Wait signal output port WAITZ P41 Low HA1 I Address input port A1 P40 - Hi-Z With internal pull-up resistor HA2-HA20 I HD0-HD15 I/O Data bus port A2-A20 - D0-D15 - Hi-Z - With internal pull-down resistor HD16-HD31 I/O D16-D31 RP30- Hi-Z RP37 With internal RP10- pull-up resistor RP17 HRDZ I Read strobe input port RDZ - Low Hi-Z HWRSTBZ HWRZ0, HWRZ1/ I Write strobe output port WRSTBZ - Low With internal I Effectively Byte lane WRZ0, WRZ1/ - Low pull-up resistor strobe input port BENZ0, BENZ1 HBENZ0,HBENZ1 HWRZ2, HWRZ3/ I HBENZ2,HBENZ3 HERROUTZ O Error interrupt output WRZ2, WRZ3/ RP06, BENZ2, BENZ3 RP07 SLEEPING P42 Low High BCYSTZ / ADVZ RP20 Low Hi-Z port HBCYSTZ I Bus cycle input port With internal pull-up resistor Caution When you use asynchronous mode, please input Low into a HBUSCLK pin.. Remark External MCU interface signals operate as an External MCU interface durinug reset. R18UZ0005EJ0202 Dec 25, 2014 Page 9 of 89 R-IN32M3-CL User’s Manual 2.1.4 2. 1BSignals by function Port Signal, Real-time port Signals Port Signals and Real-time port Signals are configured as 12 sets of 8-bit ports. They are able to realize 32-bit access by grouping 4 ports; i.e. Ports 0-3, Ports 4-7 or Real-time ports 0-3. (1/4) Port P0 P1 Level during reset & Mode 1 Mode 2 Mode 3 Mode 4 P00 INTPZ0 - CCI_RUNLEDZ - Hi-Z P01 INTPZ1 - - - With internal pull-up P02 INTPZ2 - CCI_DLINKLEDZ - resistor P03 INTPZ3 - CCI_ERRLEDZ CCS_MON5 P04 INTPZ4 - CCI_LERR1LEDZ CCS_MON6 P05 INTPZ5 - CCI_LERR2LEDZ CCS_MON7 P06 PHYLINK0 - CCI_SDLEDZ CCS_MON0 P07 PHYLINK1 - CCI_RDLEDZ CCS_RESOUT - CCS_REFSTB - - Name P10 Level after reset Hi-Z With internal pull-up resistor P11 - - - CCS_MON4 Hi-Z With internal pull-down resistor P12 INTPZ6 - CCI_NMIZ - Hi-Z P13 INTPZ7 - CCI_WDTIZ / - With internal pull-up resistor CCS_WDTZ / CCM_WDTENZ P2 P14 SMSCK - - - P15 SMSI - - - P16 SMSO - - - P17 SMCSZ - - - P20 RXD0 - CCM_LINKERRZ - Hi-Z P21 TXD0 - CCM_ERRZ - With internal pull-up P22 INTPZ8 - CCS_IOTENSU - resistor P23 INTPZ9 - CCS_SENYU0 - P24 INTPZ10 ETHSWSECOUT CCS_SENYU1 - P25 WDTOUTZ - CCS_ERRZ - P26 TIN1 TOUT1 CCM_RUNZ / - CCS_RUNZ P27 TIN0 R18UZ0005EJ0202 Dec 25, 2014 TOUT0 - - Page 10 of 89 R-IN32M3-CL User’s Manual 2. 1BSignals by function (2/4) Port Mode 1 Name P3 P4 P5 Mode 2 Mode 3 Mode 4 Level during reset & Level after reset P30 RXD1 - - - Hi-Z P31 TXD1 - - - With internal pull-up P32 DMAREQZ1 - - CCS_MON1 resistor P33 DMAACKZ1 CCI_ WAITEDGEH - CCS_MON2 P34 DMATCZ1 CCI_WRLENH - CCS_MON3 P35 CSISCK1 INTPZ22 CCM_IRZ - P36 CSISI1 INTPZ23 CCS_FUSEZ - P37 CSISO1 INTPZ24 CCM_MSTZ - P40 A1 HA1 - - Hi-Z P41 WAITZ HWAITZ - - 内蔵 Pull-up 抵抗に P42 SLEEPING HERROUTZ CCM_SDGCZ - より P43 INTPZ11 HBUSCLK - - ハイ・レベル P44 CSZ1 HPGCSZ - - P45 CSISCK0 WAITZ1 - - P46 CSISI0 WAITZ2 - - P47 CSISO0 WAITZ3 - - P50 CSZ3 - CCM_LNKRUNZ / - CCS_LNKRUNZ P51 CSZ2 - CCM_RDLEDZ / P52 TIN3 TOUT3 CCS_SDGATEON - CCS_RDLEDZ - Hi-Z With internal pull-down resistor P53 CRXD0 CCS_RD CCM_RD - Hi-Z P54 CTXD0 CCS_SD CCM_SD - With internal pull-up P55 CRXD1 - - - resistor P56 CTXD1 - CCI_PHYREZ1 - P57 TIN2 TOUT2 CCI_PHYREZ0 - R18UZ0005EJ0202 Dec 25, 2014 Page 11 of 89 R-IN32M3-CL User’s Manual 2. 1BSignals by function (3/4) Port Mode 1 Name P6 P7 Mode 2 Mode 3 Mode 4 Level during reset & Level after reset P60 SCL0 - - - Hi-Z P61 SDA0 - - - With internal P62 RTDMAREQZ - CCM_MDIN0 - pull-up resistor P63 RTDMAACKZ - CCM_MDIN1 - P64 RTDMATCZ - CCM_MDIN2 - P65 DMAREQZ0 - CCM_MDIN3 - P66 DMAACKZ0 - CCI_INTZ - P67 DMATCZ0 - - - P70 CSICS00 - CCS_STATION_NO_0 / - P71 CSICS01 - CCS_STATION_NO_1 / P72 CSICS10 - CCS_STATION_NO_2 / CCM_SNIN0 - CCM_SNIN1 - CCM_SNIN2 P73 CSICS11 - CCS_STATION_NO_3 / - CCM_SNIN3 P74 INTPZ12 - CCS_STATION_NO_4 / - CCM_SNIN4 P75 INTPZ13 - CCS_STATION_NO_5 / - CCM_SNIN5 P76 INTPZ14 - CCS_STATION_NO_6 / - CCM_SNIN6 P77 INTPZ15 - CCS_STATION_NO_7 / - CCM_SNIN7 R18UZ0005EJ0202 Dec 25, 2014 Page 12 of 89 R-IN32M3-CL User’s Manual 2. 1BSignals by function RP0x-RP3x are Real-time ports which can transfer data via a dedicated DMA comtroller, and are unaffected by bus congestion. They are able to perform input and output of the port by 32 bit unit in sync with DMA transfer trigger by DMA Controller for exclusive use of the Real-time port. (4/4) Port Mode 1 Name RP0 RP00 INTPZ16 Mode 2 SCL1 Mode 3 CCM_SDLEDZ / Mode 4 - RP2 Level after reset Hi-Z With internal pull-up CCS_SDLEDZ RP1 Level during reset & RP01 INTPZ17 SDA1 CCM_SMSTZ - RP02 INTPZ18 - CCS_BS1 - RP03 INTPZ19 - CCS_BS2 - RP04 INTPZ20 - CCS_BS4 - RP05 INTPZ21 - CCS_BS8 - RP06 WRZ2/BENZ2 HWRZ2/HBENZ2 - - RP07 WRZ3/BENZ3 HWRZ3/HBENZ3 - - RP10 D24/HD24 - - - RP11 D25/HD25 - - - With internal pull-up RP12 D26/HD26 - - - resistor RP13 D27/HD27 - - - RP14 D28/HD28 - - - RP15 D29/HD29 - - - RP16 D30/HD30 - - - RP17 D31/HD31 - - - RP20 BCYSTZ / ADVZ HBCYSTZ - - resistor Hi-Z Hi-Z With internal pull-up resistor RP3 RP21 A21 - - - Hi-Z RP22 A22 - - - With internal pull-down RP23 A23 - - - resistor RP24 A24 INTPZ25 - - RP25 A25 INTPZ26 - - RP26 A26 INTPZ27 - - RP27 A27 INTPZ28 - - RP30 D16/HD16 - - - Hi-Z RP31 D17/HD17 - - - With internal pull-up RP32 D18/HD18 - - - resistor RP33 D19/HD19 - - - RP34 D20/HD20 - - - RP35 D21/HD21 - - - RP36 D22/HD22 - - - RP37 D23/HD23 - - - R18UZ0005EJ0202 Dec 25, 2014 Page 13 of 89 R-IN32M3-CL User’s Manual 2.1.5 2. 1BSignals by function Serial Flash ROM Interface Signals The Serial Flash ROM Interface supports Fast Read, Fast Read Dual Output and Fast Read Dual I/O mode. Pin Name I/O Function Shared Port Active Level during reset & Level after reset SMSCK O Serial clock output port for serial P14 ↑/↓ flash ROM SMSI I/O SMSO I/O SMCSZ O Hi-Z With internal Serial data port for serial flash ROM P15 High P16 High Chip select output port for serial flash P17 Low pull-up resistor (Connect to SO of serial flash ROM) Serial data port for serial flash ROM (Connect to SI of serial flash ROM) ROM 2.1.6 DMA Interface Signals There are two DMA Controllers: one with four internal channels but only two external interfaces, and one with one internal channel and one external interce as real-time DMA controller. Pin Name I/O Function Shared Port Active Level during reset & Level after reset RTDMAREQZ I RTDMAC DMA transfer request port P62 Low Hi-Z RTDMAACKZ O RTDMAC DMA acknowledge output P63 Low With internal pull-up resistor port RTDMATCZ O RTDMAC terminal count output port P64 Low DMAREQZ0 I DMA transfer request port 0 P65 Low DMAACKZ0 O DMA acknowledge output port 0 P66 Low DMATCZ0 O DMA Terminal count output port 0 P67 Low DMAREQZ1 I DMA transfer request port 1 P32 Low Hi-Z DMAACKZ1 O DMA acknowledge output port 1 P33 Low With internal DMATCZ1 O DMA Terminal count output port 1 P34 Low pull-up resistor Caution Each DMA interface is assigned to a specific DMA channel. DMA channel 0 = interface 0 (DMAREQZ0, DMAACKZ0, DMATCZ0) DMA channel 1 = interface 1 (DMAREQZ1, DMAACKZ1, DMATCZ1) DMA channels 2, 3 = no external interface R18UZ0005EJ0202 Dec 25, 2014 Page 14 of 89 R-IN32M3-CL User’s Manual 2.1.7 2. 1BSignals by function External Interrupt Input Signals Pin Name I/O Function Shared Port Active Level during reset & Level after reset NMIZ I Non-maskable external interrupt - Low input port Hi-Z High level by P00-P05 Low internal Pull-up INTPZ6, INTPZ7 P12,P13 Low resistor INTPZ8-INTPZ10 P22-P24 Low INTPZ11 P43 Low INTPZ12-INTPZ15 P74-P77 Low INTPZ16-INTPZ21 RP00-RP05 Low INTPZ22-INTPZ24 P35-P37 Low INTPZ25-INTPZ28 RP24-RP27 Low INTPZ0-INTPZ5 I External interrupt input port Hi-Z With internal pull-down resistor 2.1.8 Timer I/O Signals Pin Name I/O Function Shared Port Active Level during reset & Level after reset TIN0 / TOUT0 I/O Timer TAUJ0 port P27 - Hi-Z TIN1 / TOUT1 I/O Timer TAUJ1 port P26 - With internal pull-up resistor TIN2 / TOUT2 I/O Timer TAUJ2 port P57 - Hi-Z With internal pull-up resistor TIN3 / TOUT3 I/O Timer TAUJ3 port P52 - Hi-Z With internal pull-down resistor 2.1.9 Watchdog Timer Output Signal Pin Name I/O Function Shared Port Active Level during reset & Level after reset WDTOUTZ O Watch Dog Timer output port P25 Low Hi-Z With internal pull-up resistor R18UZ0005EJ0202 Dec 25, 2014 Page 15 of 89 R-IN32M3-CL User’s Manual 2.1.10 2. 1BSignals by function Trace Signals Pin Name I/O Function Active Level during reset & Level after reset TRACECLK O Trace port clock output port - TRACEDATA3- O Trace port data output port - Low TRACEDATA0 2.1.11 CPU Power Control Signal Pin Name I/O Function Shared Port Active Level during reset & Level after reset SLEEPING O CPU SLEEP mode output port P42 High Hi-Z With internal pull-up resistor 2.1.12 Serial Interface Signals Pin Name I/O Function Shared Port Active Level during reset & Level after reset TXD0 O UART0 serial data output port P21 - Hi-Z RXD0 I UART0 serial data input port P20 - With internal TXD1 O UART1 serial data output port P31 - pull-up resistor RXD1 I UART1 serial data input port P30 - CSISCK0 I/O CSI0 serial clock port P45 - CSISI0 I CSI0 serial data input port P46 - CSISO0 O CSI0 serial data output port P47 - CSICS00,CSICS01 O CSI0 chip select 0,1 port P70, P71 Low CSISCK1 I/O CSI1 serial clock port P35 - CSISI1 I CSI1 serial data input port P36 - CSISO1 O CSI1 serial data output port P37 - CSICS10,CSICS11 O CSI1 chip select 0,1 port P72, P73 Low SCL0 I/O I2C0 serial clock port P60 - SDA0 I/O I2C0 serial data port P61 - SCL1 I/O I2C1 serial clock port RP00 - SDA1 I/O I2C1 serial data port RP01 - CRXD0 I CAN0 receive data port P53 - CAN0 transfer data port P54 - CAN1 receive data port P55 - P56 - (5V-Tolerant buffer) CTXD0 O CRXD1 I (5V-Tolerant buffer) CTXD1 R18UZ0005EJ0202 Dec 25, 2014 O CAN1 transfer data port Page 16 of 89 R-IN32M3-CL User’s Manual 2.1.13 2. 1BSignals by function CC-Link IE Field Signals (Intelligent device station) Pin Name I/O Function Shared Active Level during reset & Port Level after reset CCI_RUNLEDZ O RUN LED control port P00 Low Hi-Z CCI_DLINKLEDZ O Cyclic communication status check P02 Low With internal CCI_ERRLEDZ O Field Network Error LED control port P03 Low CCI_LERR1LEDZ O Link error LED control port 1 P04 Low CCI_LERR2LEDZ O Link error LED control port 2 P05 Low CCI_SDLEDZ O Transfer data LED control port P06 Low CCI_RDLEDZ O Receive data LED control port P07 Low CCI_NMIZ O Output NMI interrupt to MCU P12 Low Hi-Z CCI_WDTIZ I Input from Watchdog Timer P13 Low With internal Wait Synchronized edge setting P33 - pull-up resistor P34 - pull-up resistor LED control port CCI_WAITEDGEH Note I/O 0:rise edge mode 1:low edge mode CCI_WRLENH Note I/O WRL enable setting 0:byte write enable mode 1:byte enable mode CCI_PHYREZ1 O PHY reset output 1 port P56 Low CCI_PHYREZ0 O PHY reset output 0 port P57 Low CCI_INTZ O Output Interrupt signal to MCU P66 Low CCI_CLK2_097M I 2.097152MHz clock - - - Note. When user does boot with the external memory boot mode, external serial flash ROM boot mode and instruction RAM boot mode, please input high level to P33 and P34 pin during reset. If you enter a low-level to P33, P34 pin during reset, you can not access the CC-Link IE Field from the CPU of the R-IN32M3. R18UZ0005EJ0202 Dec 25, 2014 Page 17 of 89 R-IN32M3-CL User’s Manual 2.1.14 2. 1BSignals by function CC-Link Signals (Intelligent device station) Pin Name I/O Function Shared Active Level during reset & Port Level after reset CCM_LINKERRZ O Link error LED control port P20 Low Hi-Z CCM_ERRZ O Error LED control port P21 Low With internal CCM_RUNZ O RUN LED control port P26 Low pull-up resistor CCM_MDIN0- I Mode setting switch input port P62-P65 - I Station No. setting switch port P70-P77 - CCM_LNKRUNZ O Link RUN LED control port P50 Low Hi-Z CCM_RDLEDZ O Receive data LED control port P51 Low With internal CCM_SDLEDZ O Transfer data LED control port RP00 Low pull-up resistor CCM_IRZ O Interrupt output port P35 Low CCM_WDTENZ I Watchdog Timer error input port P13 Low CCM_MSTZ O Operation check LED port P37 Low CCM_SMSTZ O Stand-by master LED control port RP01 Low CCM_RD I Data receive port P53 - CCM_SD O Data transfer port P54 - CCM_SDGCZ O Transfer data & gate control port P42 Low CCM_CLK80M I CC-Link Clock - - CCM_MDIN3 CCM_SNIN0CCM_SNIN7 R18UZ0005EJ0202 Dec 25, 2014 - Page 18 of 89 R-IN32M3-CL User’s Manual 2.1.15 2. 1BSignals by function CC-Link Signals (Remote device station) Caution To use a remote device station, it is necessary to connect a CCS_REFSTB terminal to an external interrupt terminal (INTPZ). Pin Name I/O Function Shared Active Level during reset & Port CCS_MON1- O Monitor port P32-P34 Level after reset - CCS_MON3 Hi-Z With internal pull-up resistor CCS_MON4 O Monitor port P11 - Hi-Z With internal pull-down resistor CCS_MON0 O Monitor port P06 - Hi-Z CCS_MON5- O Monitor port P03-P05 - With internal CCS_RESOUT O reset port P07 High CCS_IOTENSU I Initial setting port P22 - CCS_SENYU0 I Initial setting port P23 - CCS_SENYU1 I Initial setting port P24 - CCS_ERRZ O Operation check LED port P25 Low CCS_RUNZ O Operation check LED port P26 Low CCS_STATION_NO_0- I Station No. setting switch port P70-P77 - CCS_LNKRUNZ O Link RUN LED control port P50 Low Hi-Z CCS_REFSTB O Interrupt port P10 High With internal CCS_WDTZ I Watchdog Timer port P13 Low pull-up resistor CCS_RDLEDZ O Receive data LED control port P51 Low CCS_RD I Data receive port P53 - CCS_SD O Data transfer port P54 - CCS_SDLEDZ O Operation check LED port RP00 Low CCS_SDGATEON O Transfer data & gate control port P52 High pull-up resistor CCS_MON7 CCS_STATION_NO_7 Hi-Z With internal pull-down resistor CCS_BS1 I Baud rate setting switch port RP02 - Hi-Z CCS_BS2 I Baud rate setting switch port RP03 - With internal CCS_BS4 I Baud rate setting switch port RP04 - pull-up resistor CCS_BS8 I Baud rate setting switch port RP05 - CCS_FUSEZ I Fuse cutting signal port P36 Low CCM_CLK80M I CC-Link clock - - R18UZ0005EJ0202 Dec 25, 2014 - Page 19 of 89 R-IN32M3-CL User’s Manual 2.1.16 2. 1BSignals by function System Signals Pin Name I/O Function Active Level during reset & Level after reset XT1 XT2 I Crystal Oscillator ports for system clock - - I/O *Oscillator output connects to X2 for direct - - connection. RESETZ I Reset input port Low - HOTRESETZ I Hot reset Input port Low - PONRZ I Internal RAM Power on reset input port Low - OSCTH I Input High level when external clock input mode - - JTAGSEL I JTAG Operation mode setting port - - RSTOUTZ O Reset to external circuit output port Low - CLKOUT25M0 O PHY clock output port - - CLKOUT25M1 O PHY clock output port - - PLL_VDD - PLL power supply (1.0V) - - PLL_GND - PLL power Ground supply (GND) - - VDD33 - I/O power supply (3.3V) - - VDD10 - Internal power supply (1.0V) - - GND - Ground supply (GND) - - VDDQ_MII - Ethernet I/O power supply (3.3V) - - R18UZ0005EJ0202 Dec 25, 2014 Page 20 of 89 R-IN32M3-CL User’s Manual 2.1.17 2. 1BSignals by function Test Signals Pin Name I/O Function Active Level during reset & Level after reset TMODE0-TMODE2 I Test mode select port - - TMS I/O JTAG mode select port - - TDI I JTAG serial data input port - - TDO O JTAG serial data output port - - TRSTZ I JTAG reset port Low - TCK I JTAG clock input port - - TMC1 I Renesas test ports - - TMC2 I - - 2.1.18 Operation mode Setting Signals Pin Name I/O Function Active Level during reset & Level after reset BOOT1-BOOT0 I Boot mode select port 00 : External memory boot 01 : External serial flash ROM boot - - - - - - - - - - - - - - 10 : External MCU boot 11 : Instruction RAM boot( debugger used ONLY) MEMIFSEL I External Memory Interface select port 0 : Slave memory Interface 1 : External MCU Interface BUS32EN I External Memory Interface Bus width select port 0 : 16bit bus 1 : 32bit bus HIFSYNC I External MCU I/F Operation mode select port 0 : asynchronous SRAM Interface 1 : synchronous SRAM Interface HWRZSEL I External MCU Interface HWRZ/HBENZ select port 0 : HBENZ use 1 : HWRZ use MEMCSEL I Internal Memory Controller select port 0 : asynchronous SRAM MEMC 1 : synchronous burst access MEMC ADMUXMODE I Multiplex of Address / Data port 0 : Separate Note 1 : Multiplex of Address / Data Note. ADMUXMODE port is only available when MEMCSEL port is High (which selects synchronous burst access MEMC). The asynchronous SRAM MEMC does not support address/data multiplexing. R18UZ0005EJ0202 Dec 25, 2014 Page 21 of 89 R-IN32M3-CL User’s Manual 2.2 2. 1BSignals by function Port status The initial status of Port function after the reset cancellation varies according to the status of the operation mode setting signal. Port Name External memory boot Asynchronous MEMC External MPU boot External Serial Flash ROM boot Synchronous burst MEMC 16bit 32bit 16bit 32bit 16bit 32bit P14 P14 P14 P14 P14 P14 P14 SMSCK P15 P15 P15 P15 P15 P15 P15 SMSI P16 P16 P16 P16 P16 P16 P16 SMSO P17 P17 P17 P17 P17 P17 P17 SMCSZ P40 A1 P40 A1 P40 HA1 P40 P40 P41 P41 P41 P41 P41 HWAITZ HWAITZ P41 P42 P42 P42 P42 P42 HERROUTZ HERROUTZ P42 P43 P43 P43 P43 P43 HBUSCLK HBUSCLK P43 P44 P44 P44 P44 P44 HPGCSZ HPGCSZ P44 RP06 RP06 WRZ2/ RP06 WRZ2/ RP06 HWRZ2/ RP06 BENZ RP07 RP07 note1 WRZ3/ BENZ BENZ RP07 note1 note1 WRZ3/ BENZ HBENZ RP07 note1 note2 HWRZ3/ HBENZ RP07 note2 RP20 RP20 RP20 ADVZ ADVZ HBCYSTZ HBCYSTZ RP20 RP10- RP10- D24-D31 RP10- D24-D31 RP10- HD24- RP10-RP17 RP17 RP17 RP17 HD31 RP30- RP30- RP30- HD16- RP37 RP37 RP37 HD23 RP17 D16-D23 RP30RP37 D16-D23 RP30-RP37 Note1. When using asynchronous SRAM MEMC, WRZ[3:0] and BENZ[3:0] are converted by WREN register. In addition, when using synchronous burst MEMC, WRZ[3:0] and BENZ[3:0] are converted by OPMODE register. Note2. HWRZ[3:0] and HBENZ[3:0] are converted by the level of HWRZSEL port. R18UZ0005EJ0202 Dec 25, 2014 Page 22 of 89 R-IN32M3-CL User’s Manual 2.3 2. 1BSignals by function Operation mode monitor functions Operation mode setting signals can confirm a setting state by operation mode monitor register. Operation mode setting signals that can be confirmed are shown below.. Please refer to “R-IN32M3 User’s Manual Peripheral functions edition” for the detail of operation mode monitor register. Table2.1 Operation mode setting signals that can be confirmed Pin Name Function BUS32EN Select bus width in case of starting external memory I/F MEMIFSEL Select a kind of external memory I/F HIFSYNC Set operation mode of external MCU I/F HWRZSEL Select HWRZ / HBENZ port of external MCU I/F JTAGSEL Set operation mode of JTAG port OSCTH Input High level in case of external clock input mode¥ BOOT0、BOOT1 Select boot mode MEMCSEL Selection of internal memory controller ADMUXMODE Set Multiplex of address and data 2.4 Buffer function conversion function Real-time port signal and apart of port signal can select the drive capability and pulling up / pull-down resistor or not of interface buffer programmably. This function provides stable operation in system of big load capacity by raising the drive capability. Please set the buffer function conversion register (DRCTL) to convert the buffer function.. Please refer to “R-IN32M3 User’s Manual Peripheral functions edition” for the detail of buffer function conversion register (DRCTL). R18UZ0005EJ0202 Dec 25, 2014 Page 23 of 89 R-IN32M3-CL User’s Manual 2.5 Buffer Types and Recommended Connections for Unused Pins 2.5.1 (1) 2. 1BSignals by function Ethernet Signals PHY Interface Signals Pin Name I/O Interface Recommended connection when not in use ETH0_TXC I Input Buffer (3.3V) Connect to GND ETH0_GTXC O BID_BUF(3.3V_GMII_MII)_with_IOLH_Control Open ETH0_GE_INT I Input Buffer (3.3V) Connect to GND ETH0_RXC I BID_BUF(3.3V_GMII_MII)_with_IOLH_Control Connect to GND I Input Buffer (3.3V) Connect to GND O BID_BUF(3.3V_GMII_MII)_with_IOLH_Control Open ETH1_GE_INT I Input Buffer (3.3V) Connect to GND ETH1_RXC I BID_BUF(3.3V_GMII_MII)_with_IOLH_Control Connect to GND I Input Buffer (3.3V) Connect to GND ETH_MDC O Output Buffer (3.3V) 6mA Open ETH_MDIO I/O I/O Buffer (3.3V) 6mA Connect to GND ETH0_TXEN ETH0_TXER ETH0_TXD0ETH0_TXD7 ETH0_RXDV ETH0_RXER ETH0_RXD0ETH0_RXD7 ETH0_CRS ETH0_COL ETH1_TXC ETH1_GTXC ETH1_TXEN ETH1_TXER ETH1_TXD0ETH1_TXD7 ETH1_RXDV ETH1_RXER ETH1_RXD0ETH1_RXD7 ETH1_CRS ETH1_COL R18UZ0005EJ0202 Dec 25, 2014 Page 24 of 89 R-IN32M3-CL User’s Manual 2.5.2 2. 1BSignals by function External Memory/ MCU Interface Signals Pin Name I/O Interface Recommended connection when not in use BUSCLK O Output Buffer (3.3V) 9mA Open CSZ0 / HCSZ I/O I/O Buffer (3.3V) 6mA 50kΩ Pull-up Open A2-A20 / HA2-HA20 I/O I/O Buffer (3.3V) 6mA 50kΩ Pull-down Open I/O I/O Buffer (3.3V) 6mA 50kΩ Pull-up Open D0-D15 / HD0-HD15 RDZ / HRDZ WRSTBZ / HWRSTBZ WRZ0, WRZ1 / BENZ0, BENZ1 / HWRZ0, HWRZ1 2.5.3 System Signals Pin Name I/O Interface Recommended connection when not in use NMIZ I Input Buffer (3.3V) Schmitt in Connect to VDD33(3.3V) XT1 I XT2 - RSTOUTZ O Output Buffer (3.3V) 6mA Open RESETZ I Input Buffer (3.3V) Schmitt in - I Input Buffer (3.3V) Schmitt in, O Output Buffer (3.3V) 6mA 50kΩ Pull-up Oscillator with EN Connect to GND - PONRZ HOTRESETZ OSCTH Connect to VDD33(3.3V) 50kΩ Pull-down JTAGSEL CLKOUT25M0 Open CLKOUT25M1 R18UZ0005EJ0202 Dec 25, 2014 Page 25 of 89 R-IN32M3-CL User’s Manual 2.5.4 2. 1BSignals by function Test Signals Pin Name I/O Interface Required Connection when not in use TMODE0-TMODE2 I Input Buffer (3.3V) Schmitt in, Connect to GND 50kΩ Pull-down TMS I/O I/O Buffer (3.3V) 6mA 50kΩ Pull-up Open TDI I Input Buffer (3.3V) , 50kΩ Pull-up Open TDO O 3-state Output Buffer (3.3V) 6mA Open TRSTZ I Input Buffer (3.3V) Schmitt in Open 50kΩ Pull-up TCK I Input Buffer (3.3V) , Open 50kΩ Pull-down TMC1 I (TMC1) Input Buffer (3.3V) for TMC Terminal Connect to GND TMC2 I (TMC2) Input Buffer (3.3V) for TMC Terminal Connect to GND R18UZ0005EJ0202 Dec 25, 2014 Page 26 of 89 R-IN32M3-CL User’s Manual 2.5.5 2. 1BSignals by function Port Signals (1/2) Pin Name I/O Interface Recommended connection when not in use P00-P07 I/O Programmable I/O Buffer (3.3V) Open Load Drive select function (6mA, 12mA) P10 Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P11-P17,P22-P24,P27 I/O Programmable I/O Buffer (3.3V)(6mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P20,P21,P25,P26 I/O Programmable I/O Buffer (3.3V) Load Drive select function (6mA, 12mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P30-P36 I/O Programmable I/O Buffer (3.3V)(6mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P37 I/O Programmable I/O Buffer (3.3V) Load Drive select function (6mA, 12mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P40-P47 I/O Programmable I/O Buffer (3.3V)(6mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P50-P51 I/O Programmable I/O Buffer (3.3V) Load Drive select function (6mA, 12mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P52 I/O Programmable I/O Buffer (3.3V)(6mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) P53-P56 I/O 5V-tolerant I/O Buffer 4mA 50kΩ Pull-up P57 P60-P67 I/O Programmable I/O Buffer (3.3V)(6mA) Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) R18UZ0005EJ0202 Dec 25, 2014 Page 27 of 89 R-IN32M3-CL User’s Manual 2. 1BSignals by function (2/2) Pin Name I/O Interface Recommended connection when not in use P70-P77 I/O Programmable I/O Buffer (3.3V)(6mA) Open Resistor select function (50kΩ Pull-up or 50kΩ Pull-down or less) RP00-RP07 I/O Programmable I/O Buffer (3.3V) RP10-RP17 Load Drive select function (6mA, 12mA) RP20-RP27 Resistor select function RP30-RP37 (50kΩ Pull-up or 50kΩ Pull-down or less) 2.5.6 Operation Mode Setting Signals Pin Name I/O Interface Recommended connection when not in use BOOT0, BOOT1 I Input Buffer (3.3V) Schmitt in - MEMIFSEL BUS32EN HIFSYNC HWRZSEL MEMCSEL ADMUXMODE 2.5.7 CC-Link IE Field Signal (Intelligent device station) Pin Name I/O Interface Recommended connection when not in use CCI_CLK2_097M I Input Buffer (3.3V) 2.097152MHz clock input Caution This pin is needed clock input even if user does not use CC-Link IE Field function. 2.5.8 CC-Link Signal (Intelligent device station, Remote device station) Pin Name I/O Interface Recommended connection when not in use CCM_CLK80M 2.5.9 I Input Buffer (3.3V) Connect to GND Trace Signals Pin Name I/O Interface Recommended connection when not in use TRACECLK O Output Buffer (3.3V) 6mA Open TRACEDATA[3:0] R18UZ0005EJ0202 Dec 25, 2014 Page 28 of 89 R-IN32M3-CL User’s Manual 3. 3. 2BMemory Maps Memory Maps FFFF FFFFH E000 0000H DFFF FFFFH 4400 0000H 43FF FFFFH 4200 0000H 400A FFFFH Cortex-M3 System level area ( 512Mbyte) 400A 8000H Reserved 400A 4800H bitband alias area ( 32Mbyte) 400A 4400H 4010 0000H 400F C000H 400F BFFFH 400F B000H 400F AFFFH 400F A000H 400F 9FFFH 400F 8000H 400F 7FFFH 400B 0000H 400A FFFFH 4008 0000H 4007 FFFFH 4000 0000H Reserved CC-Link( Master/ Slave) Bridge control registers ( 1Kbyte) 400A 4000H 400A 3400H Real-time port ( 1Kbyte) 400A 3000H GPIO ( 1Kbyte) Reserved CC-Link IE Field Network area ( 256Kbyte) Reserved CC-Link Slave area ( 4Kbyte) DMA controller RTPORT 400A 2C00H control registers area( 1Kbyte) DMA controller 400A 2800H control registers area( 1Kbyte) CC-Link Master I/O area ( 4Kbyte) CC-Link Master memory area ( 8Kbyte) Reserved Synchronous burst access MEMC control registers area ( 8Kbyte) CC-Link IE Field Network Bridge control registers ( 1Kbyte) Reserved 4014 0000H 4013 FFFFH Reserved Serial flash ROM memory contoroller 400A 2400H control registers area( 1Kbyte) Asynchronous SRAM MEMC 400A 2000H control registers area( 1Kbyte) System area AHB Peripheral registers area ( 192Kbyte) APB Peripheral registers area ( 512Kbyte) 4009 2000H Reserved 4009 1000H QINT BUFID ( 4Kbyte) 4009 0000H Giga bit Ether ( 4Kbyte) 4008 0000H HW-RTOS ( 64Kbyte) Reserved 22FF FFFFH 2200 0000H 2008 0000H 2007 FFFFH 2000 0000H 1FFF FFFFH 1000 0000H 0FFF FFFFH 0800 0000H 040C 0000H 040B FFFFH 0400 0000H 03FF FFFFH 0200 0000H 000C 0000H 000B FFFFH 0000 0000H bitband alias area ( 16Mbyte) Reserved Data RAM area ( 512Kbyte) External memory area ( 256Mbyte) Buffer memory area ( 128Mbyte) Reserved Instruction RAM mirror area ( 768Kbyte) iCode, dCode area Serial flash ROM area ( 32Mbyte) Reserved Instruction RAM area ( 768Kbyte) Figure 3.1 Memory map (ALL) R18UZ0005EJ0202 Dec 25, 2014 Page 29 of 89 R-IN32M3-CL User’s Manual 3. 2BMemory Maps 4007 FFFFH 4007 0000H ETHER SWITCH control register area(64Kbyte) Reserved 4004 0000H 4002 0000H 4001 0000H CAN1 area (128Kbyte) CAN0 area (128Kbyte) System register area (64Kbyte) Reserved 4000 0700H Watchdog timer (16byte) Reserved 4000 0600H IIC1 (64byte) Reserved 4000 0500H IIC0 (64byte) Reserved 4000 0400H UART1 (128byte) Reserved 400B 0000H 400A FFFFH 4008 0000H 4007 FFFFH 4000 0000H 4000 0300H UART0 (128byte) AHB Peripheral registers area (192Kbyte) 4000 0200H CSI1 (256byte) APB Peripheral registers area (512Kbyte) 4000 0100H CSI0 (256byte) Reserved 4000 0000H Timer(TAUJ) (256byte) Reserved Figure 3.2 Memory map (APB Peripheral registers area) R18UZ0005EJ0202 Dec 25, 2014 Page 30 of 89 R-IN32M3-CL User’s Manual 3. 2BMemory Maps 1FFF FFFFH CSZ3 area ( 64Mbyte) 1C00 0000H 1BFF FFFFH 2008 0000H 2007 FFFFH 2000 0000H 1FFF FFFFH 1000 0000H 0FFF FFFFH 0800 0000H CSZ2 area ( 64Mbyte) Reserved Data RAM area ( 512Kbyte) External memory area ( 256Mbyte) Buffer memory area ( 128Mbyte) 1800 0000H 17FF FFFFH CSZ1 area ( 64Mbyte) 1400 0000H 13FF FFFFH CSZ0 area ( 64Mbyte) 1000 0000H Reserved Figure 3.3 Memory map (External memory area) 400F AFFFH Reserved 400F A37FH CC-Link Master I/O area( 4Kbyte) 400F A100H Reserved 400F 9CFFH 400F 9000H Reserved 400F BFFFH 400F B000H 400F AFFFH 400F A000H 400F 9FFFH 400F 8000H CC-Link Slave area ( 4Kbyte) CC-Link Master I/O area ( 4Kbyte) CC-Link Master memory area( 8Kbyte) CC-Link Master memory area receive buffer ( 3328byte) Reserved CC-Link Master memory area PAT1 (256byte) 400F 8C00H Reserved 400F 8B9FH CC-Link Master memory area 400F 8800H transmit buffer2 ( 924byte) Reserved 400F 84FFH CC-Link Master memory area PAT0 (256byte) 400F 8400H Reserved 400F 839FH CC-Link Master memory area transmit buffer1( 924byte) 400F 8000H Reserved Figure 3.4 Memory map (CC-Link Master area) Caution1. CC-Link Master shows function block of Intelligent station. 2. CC-Link Slave shows function block of remote device station. R18UZ0005EJ0202 Dec 25, 2014 Page 31 of 89 R-IN32M3-CL User’s Manual 3. 2BMemory Maps Internal SRAM area 1F FFFFH CC-Link IE Field Network area ( 256Kbyte) 13 FFFFH 2Mbyte 10 0000H 00 0000H MCU area 1F FFFFH 18 0000H 17 FFFFH Internal AHB area FFFF FFFFH Data RAM area ( 512Kbyte) Reserved 14 0000H 13 FFFFH 10 0000H 0F FFFFH 0F FF00H 0F C000H 0F BFFFH 0F B000H 0F AFFFH 2Mbyte 0F A000H 0F 9FFFH 0F 8000H 0F 7FFFH 0E 0000H 0D FFFFH 0D 0000H 0C FFFFH 0C 3000H 0C 0000H 0B FFFFH 00 0000H CC-Link IE Field Network area ( 256Kbyte) Reserved HOSTIF registers area ( 256byte) Reserved CC-Link Slave area ( 4Kbyte) CC-Link Slave area ( 4Kbyte) ) CC-Link Master I/O area ( 4Kbyte) CC-Link Master I/O area ( 4Kbyte) CC-Link Master momory area ( 8Kbyte) CC-Link Master memory area ( 8Kbyte) Reserved Reserved 400F C000H 400F BFFFH 400F B000H 400F AFFFH 400F A000H 400F 9FFFH 400F 8000H 400F 7FFFH 4Gbyte 400E 0000H System registers area ( 64Kbyte) AHB Peripheral area ( Upper 52Kbyte) AHB Peripheral area ( Upper 52Kbyte) 400A FFFFH System registers area ( 64Kbyte) 4001 FFFFH 400A 3000H Reserved Instruction RAM area ( 768Kbyte) Data RAM area ( 512Kbyte) Reserved Instruction RAM area ( 768Kbyte) 4001 0000H 2007 FFFFH 2000 0000H 000D 2FFFH 000C 0000H 000B FFFFH 0000 0000H Figure 3.5 External MCU interface area R18UZ0005EJ0202 Dec 25, 2014 Page 32 of 89 R-IN32M3-CL User’s Manual 4. 4. 3BException handling function Exception handling function R-IN32M3 use the Interrupt Controller built-in to Cortex-M3 Please refer to the following URL of ARM for Exceptions handling operation of Cortex-M3. http://infocenter.arm.com/help/topic/com.arm.doc.set.cortexm/index.html 4.1 Exceptions list Exception No.1-15 is system exception of Cortex-M3 CPU. The interrupt from the internal hardware of R-IN32M3 and External port is assigned after Exception No.16. Exception Exception type Priority Remark No. 1 Reset -3 -Reset port (RST_B) input (most significant) -Reset from Watchdog Timer -Set (1) the SYSRESETREQ bit of NVIC built-in Cortex-M3 CPU 2 NMI -2 -NMI port input -Generate NMI from Watchdog Timer 3 Hard fault -1 Using to the promotion of exception fault of all class that can be operated by other exceptions. 4 Memory manage fault programmable Exception from MPU 5 Bus fault programmable Bus error of bus access to the area that is not controlled by MPU 6 Use fault programmable Error about operating instruction including undefined instruction 7~10 Reserved - - 11 SVCall programmable Call of system service by SVC interrupt 12 Debug Monitor programmable Debug Monitor 13 Reserved - - 14 PendSV programmable Request to system service that can be reserved 15 SysTick programmable Indication from system timer 16~ R-IN32M3 specific Interrupt programmable Interrupt from the internal hardware of R-IN32M3 and external port. R18UZ0005EJ0202 Dec 25, 2014 Page 33 of 89 R-IN32M3-CL User’s Manual 4.2 4. 3BException handling function Interrupt list These interrupts are exceptions(interrupt) after the Exception No.16 that are assigned NVIC of Cortex-M3 CPU. In R-IN32M3, the interrupts from the internal hardware of R-IN32M3 and external port connect to not only NVIC of Cortex-M3 but also the internal Hardware Real-time OS, starting trigger of internal DMAC and timer. R-IN32M3 supports the following interrupts. Table4.1 Interrupt list (1/4) Connection Exce ption Name Cause group No. NVIC HWRTOS Real DMAC Time Timer Port 16 INTTAUJ2I0 Timer array TAUJ2 channel 0 interrupt 17 INTTAUJ2I1 Timer array TAUJ2 channel 1 interrupt 18 INTTAUJ2I2 Timer array TAUJ2 channel 2 interrupt 19 INTTAUJ2I3 Timer array TAUJ2 channel 3 interrupt 20 INTUAJ0TIT UARTJ0 transmission interrupt 21 INTUAJ0TIR UARTJ0 reception interrupt 22 INTUAJ1TIT UARTJ1 transmission interrupt 23 INTUAJ1TIR UARTJ1 reception interrupt 24 INTCSIH0IC CSIH0 communication status interrupt 25 INTCSIH0IR CSIH0 reception status interrupt 26 INTCSIH0IJC CSIH0 end of job interrupt 27 INTCSIH1IC CSIH1 communication status interrupt 28 INTCSIH1IR CSIH1 reception status interrupt 29 INTCSIH1IJC CSIH1 end of job interrupt 30 INTIICB0TIA IICB0 transmission/reception interrupt request 31 INTIICB1TIA IICB1 transmission/reception interrupt request 32 INTFCN0REC FCN0 reception completion 33 INTFCN0TRX FCN0 transmission completion 34 INTFCN0WUP FCN0 sleep and wakeup / transmission 35 INTFCN1REC FCN1 reception completion 36 INTFCN1TRX FCN1 transmission completion 37 INTFCN1WUP FCN1 sleep and wakeup / transmission suspension suspension 38 INTDMA00 DMAC channel0 transfer completion interrupt 39 INTDMA01 DMAC channel1 transfer completion interrupt 40 INTDMA02 DMAC channel2 transfer completion interrupt 41 INTDMA03 DMAC channel3 transfer completion interrupt 42 INTRTDMA RTDMAC transfer completion interrupt 43 - Reserve - - - - - 44 - Reserve - - - - - 45 - Reserve - - - - - R18UZ0005EJ0202 Dec 25, 2014 Page 34 of 89 R-IN32M3-CL User’s Manual 4. 3BException handling function (2/4) Connection Exce ption Name Cause group No. NVIC HWRTOS Real DMAC Time Timer Port 46 - Reserve - - - - - 47 - Reserve - - - - - 48 INTBUFDMA Inter-Buffer DMA transfer completion 49 INTPHY0 Ether PHYinterrupt0 50 INTPHY1 Ether PHYinterrupt1 51 INTETHMII Ether MII management access completion interrupt 52 INTETHPAUSE Ether pause packet transmission completion 53 INTETHTX Ether transmission completion interrupt 54 INTETHSW Ether SWITCH interrupt 55 INTETHSWDLR Ether SWITCH DLR interrupt 56 INTETHSWSEC Ether SWITCH SEC interrupt 57 INTETHRXFIFO RX FIFO overflow - - - 58 INTETHTXFIFO TX FIFO underflow - - - 59 INTETHRXDMA Ether MACDMA reception completion 60 INTETHTXDMA Ether MACDMA transmission completion 61 INTMACDMARX receive frame successfully interrupt FRM 62 INTHOSTIF External MCU I/F interrupt 63 INTPZ0 INTPZ0 input 64 INTPZ1 INTPZ1 input 65 INTPZ2 INTPZ2 input 66 INTPZ3 INTPZ3 input 67 INTPZ4 INTPZ4 input 68 INTPZ5 INTPZ5 input 69 INTPZ6 INTPZ6 input 70 INTPZ7 INTPZ7 input 71 INTPZ8 INTPZ8 input 72 INTPZ9 INTPZ9 input 73 INTPZ10 INTPZ10 input 74 INTPZ11 INTPZ11 input 75 INTPZ12 INTPZ12 input 76 INTPZ13 INTPZ13 input 77 INTPZ14 INTPZ14 input 78 INTPZ15 INTPZ15 input 79 INTPZ16 INTPZ16 input 80 INTPZ17 INTPZ17 input 81 INTPZ18 INTPZ18 input 82 INTPZ19 INTPZ19 input R18UZ0005EJ0202 Dec 25, 2014 Page 35 of 89 R-IN32M3-CL User’s Manual 4. 3BException handling function (3/4) Connection Exce ption Name Cause group No. NVIC HWRTOS Real DMAC Time Timer Port 83 INTPZ20 INTPZ20 input 84 INTPZ21 INTPZ21 input 85 INTPZ22 INTPZ22 input 86 INTPZ23 INTPZ23 input 87 INTPZ24 INTPZ24 input 88 INTPZ25 INTPZ25 input 89 INTPZ26 INTPZ26 input 90 INTPZ27 INTPZ27 input 91 INTPZ28 INTPZ28 input 92 INTHWRTOS HW-RTOS interrupt - - - - 93 INTBRAMERR Buffer RAM area access error - - - 94 INTIICB0TIS I2C0 status interrupt - - - 95 INTIICB1TIS I2C1 status interrupt - - - 96 - Reserve - - - - - 97 INTSFLASH Serial Flash ROM controller error interrupt - - - 98 INTUAJ0TIS UARTJ0 status interrupt - - - 99 INTUAJ1TIS UARTJ1 status interrupt - - - 100 INTCSIH0IRE CSIH0 communication error interrupt - - - 101 INTCSIH1IRE CSIH1 communication error interrupt - - - 102 INTFCN0ERR FCN0 error detection - - - 103 INTFCN1ERR FCN1 error detection - - - 104 INTDERR0 DMAC error response interrupt - - - 105 INTDERR1 RTDMAC error response interrupt - - - 106 INTETHTXFIFOERR TX-FIFO error interrupt - - - 107 INTETHRXERR Ether receive flame error - - - 108 INTETHRXDERR MACDMA reception error interrupt - - - 109 INTETHTXDERR MACDMA transmission error interrupt - - - 110 INTBUFDMAERR Internal Buffer DMA error - - - 111 - Reserve - - - - - 112 - Reserve - - - - - 113 - Reserve - - - - - 114 - Reserve - - - - - 115 - Reserve - - - - - 116 - Reserve - - - - - 117 - Reserve - - - - - 118 - Reserve - - - - - 119 - Reserve - - - - - R18UZ0005EJ0202 Dec 25, 2014 Page 36 of 89 R-IN32M3-CL User’s Manual 4. 3BException handling function (4/4) Connection Exce ption Name Cause group No. NVIC HWRTOS Real DMAC Time Timer Port 120 - Reserve - - - - - 121 INTCCISYCO CC-Link IE Synco interrupt 122 INTCCISYNCI CC-Link IE Synci interrupt 123 INTCCINMIZ CC-Link IE NMIZ interrupt 124 INTCCIWDTZ CC-Link IE WDTZ interrupt 125 INTCCIINTZ CC-Link IE INTZ interrupt 126 INTCCICLKLOSSZ CC-Link IE CLKLOSSZ interrupt 127 INTCCIMON0 CC-Link IE MON0 interrupt 128 INTCCIMON1 CC-Link IE MON1 interrupt 129 INTCCIMON2 CC-Link IE MON2 interrupt 130 INTCCIMON3 CC-Link IE MON3 interrupt 131 INTCCMRQ CC-Link INTRQ interrupt 132 INTCCSRFSTB CC-Link RFSTB interrupt 133 INTCCSMON3 CC-Link MON3 interrupt Note To use a CC-Link remote device station(V2.0), INTCCSRFSTB can not be used. It is necessary to connect a CCS_REFSTB(P10) terminal to an external interrupt terminal (INTPZ). R18UZ0005EJ0202 Dec 25, 2014 Page 37 of 89 R-IN32M3-CL User’s Manual 5. 5. 4BPeripheral function Peripheral function Please refer to “R-IN32M3 User’s Manual Peripheral functions edition” for the detail of following peripheral functions. - Clock function - CPU - Bus structure - Hardware Real-time OS - Giga bit Ethernet I/F - Asynchronous SRAM MEMC - Synchronous burst access MEMC - Serial Flash ROM MEMC - DMA function - Timer Array Unit J (TAUJ) - Window Watchdog Timer A (WDTA) - Asynchronous Serial Interface J (UARTJ) - Clocked Serial Interface H (CSIH) - I2C BUS (IICB) - CAN Controller (FCN) - CC-Link (Intelligent device station) - CC-Link (Remote device station) - Other I/F control - Debug function R18UZ0005EJ0202 Dec 25, 2014 Page 38 of 89 R-IN32M3-CL User’s Manual 6. 6. 5BCC-Link IE Field (Intelligent device station) Function CC-Link IE Field (Intelligent device station) Function The outline specifications of CC-Link IE Field are as follows. Please refer to the following URL of CLPA for additional details and specifications for the CC-Link IE Field core. http://www.cc-link.org/jp/cclink/cclinkie/index.html Table 6.1 CC-Link IE Field outline specifications Item Specification Ethernet Standards IEEE802.3ab (1000BASE-T) compliant Communication speed 1Gbps Topology Line, star, ring Maximum number of connected units 254 modules (total of master and slave stations) Maximum station-to-station distance 6.1 100m CC-Link IE Field (Intelligent device station) control register This register is the control register to adjust the access timing from CPU to CC-Link IE Field core. Table 6.2 CC-Link IE Field (Intelligent device station) control registers Register name overview Shortcut Address CC-Link IE Field (Intelligent device station) clock gata register CIECLKGTD 4001 0938H CC-Link IE Field (Intelligent device station) wait delay register CIEWAITDLY 4001 093CH CC-Link IE Field (Intelligent device station) bus size control register CIEBSC 400A 4004H CC-Link IE Field (Intelligent device station) bus bridge control register CIESMC 400A 4008H R18UZ0005EJ0202 Dec 25, 2014 Page 39 of 89 R-IN32M3-CL User’s Manual 6.1.1 6. 5BCC-Link IE Field (Intelligent device station) Function CC-Link IE Field (Intelligent device station) clock gate register(CIECLKGTD) CIECLKGTD register is used to temporarily stop the supply of the bus clock to prevent a clock glitch that occurs to the bus clock switching when the CC-Link IE Field Network. Stop the bus clock by writing 1 to this register, and then restart the bus clock by writing 0. The case of switching to enable the SRAM bus path from the external microcomputer, to switch shown to first stop bus clock in this register always. • Access This register can be read and written in 32-bit or 16-bit units. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address CIECLKGTD 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W 0 0 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit name CIECLKGTD 0 0 0 0 0 0 0 0 0 0 0 0 CIECLKGTD 4001 0938H Initial Value 0000 0000H 0 R/W Function Stop the bus clock of the CC-Link IE Field Network. 0:Provide operation bus clock 1:Stop operation bus clock R18UZ0005EJ0202 Dec 25, 2014 Page 40 of 89 R-IN32M3-CL User’s Manual 6.1.2 6. 5BCC-Link IE Field (Intelligent device station) Function CC-Link IE Field (Intelligent device station) wait delay register(CIEWAITDLY) CIEWAITDLY register is used to extend the wait period cycle to the bus of the CC-Link IE Field Network. Can be set up to 4 cycles from 0 cycle. The setting of this register should be set before the start accessing the CC-Link IE Field Network. • Access This register can be read and written in 32-bit or 16-bit units. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address CIEWAITDLY 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W 0 0 0 Bit position 2-0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit name WAITDLY2-0 0 0 0 0 0 0 0 0 0 WAITDLY2 WAITDLY1 WAITDLY0 4001 093CH Initial Value 0000 0000H 0 R/W R/W R/W Function Sets a the wait period cycle to the bus of the CC-Link IE Field Network. 000 : 4 X HBUSCLK ( initial value ) 001 : 3 X HBUSCLK 010 : 2 X HBUSCLK 011 : 1 X HBUSCLK 100 : 0 X HBUSCLK ( through ) Other : It is the forbidden BUSCLK. HBUSCLK WAITDLY2-0 = 100b WAITDLY2-0 = 011b WAITDLY2-0 = 010b WAITDLY2-0 = 001b WAITDLY2-0 = 000b Delay time Delay time Delay time Delay time DATA Sampling timing of data Figure 6.1 Data sampling timing example R18UZ0005EJ0202 Dec 25, 2014 Page 41 of 89 R-IN32M3-CL User’s Manual 6.1.3 6. 5BCC-Link IE Field (Intelligent device station) Function CC-Link IE Field (Intelligent device station) bus size control register (CIEBSC) CIEBSC register set the data bus width to access CC-Link IE Field (Intelligent device station) core. This register must be fixed to 0000 5555H • in case of using CC-Link IE Field (Intelligent device station). Access This register can be read/written in 32-bit units. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 4004H CCBSC 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Initial Value 0000 5555H R/W 0 0 Bit position 31-0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 Bit name 0 1 0 1 0 1 0 1 0 1 0 1 Function - 6.1.4 0 This register must be fixed to 0000 5555H. CC-Link IE Field (Intelligent device station) bus bridge control register (CIESMC) CIESMC register controls to access. This register must be fixed to 0000 1151H in case of using CC-Link IE Field (Intelligent device station).. • Access This register can be read/written in 32-bit units. 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 4008H CIESMC 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 Initial Value 0000 FFFFH R/W 0 0 Bit position 31-0 0 0 0 Bit name - R18UZ0005EJ0202 Dec 25, 2014 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 Function This register must be fixed to 0000 1151H Page 42 of 89 R-IN32M3-CL User’s Manual 7. Port function 7.1 Features Number of I/O ports: 96 Can function alternately as the I/O pins of other peripheral functions. Input or output can be specified by bit unit. 7. 6BPort function Caution 1. If a signal from a peripheral function pin that functions alternately as a port pin is switched to port mode by changing the PMCn register setting, a spike might occur, depending on the pin status at that time. The following general countermeasure for spikes should therefore be implemented by software. Switch the pin function while the peripheral function is stopped. For pins that function alternately as interrupt signal pins, clear the interrupt request flag, and then cancel masking of the interrupt. Wait until the output value stabilizes and then switch the mode. 2. Do not externally input an intermediate voltage to input buffers because these buffers do not implement through-current countermeasures. R18UZ0005EJ0202 Dec 25, 2014 Page 43 of 89 R-IN32M3-CL User’s Manual 7.2 7. 6BPort function Port configuration The R-IN32M3-CL incorporates eight ports of 3-state I/O port and four real-time control ports. Input or output mode can be specified for ports in 1-bit units. Each port basically consists of 8 bits, but ports 0 to 3 can also be aligned to enable reading and writing in 32-bit units. The real-time ports (RP00 to RP37) can be used for I/O in synchronization with interrupt signals. Each port has the registers shown below, each of which is used to set the I/O mode and specify the use of the alternate function of the port. The basic circuit configuration is shown in Figure 7.1. Register name Purpose and operation Read Port registers (Pn, RPm) Used to read the value of the output Write Used to set a value to the output latch. latch. Port mode registers (PMn, RPMm) Used to read whether the port is in Used to set the port to input or output input or output mode. mode. Port mode control registers (PMCn, Used to read whether the port is used Used to specify whether to use a port RPMCm) as a port or as an alternate function as a port or for an alternate function. pin. Port function control registers (PFCn, Used to read which alternate function Used to specify which alternate RPFCm) of the port is selected, if the port has function of the port to be selected, if more than one alternate function. the port has more than one alternate function. Port function control expansion Used to read which alternate function Used to specify which alternate registers (PFCEn, RPFCEm) of the port is selected, if the port has function of the port to be selected in more than two alternate functions. combination with the PFCn register setting, if the port has more than two alternate functions. Port pin input registers (PINn, RPINm) Used to read the input level of the port Cannot be written. pin. Caution If a port that has multiple alternate functions, including external interrupt input, is set to control mode by using the PMCn register, and if the alternate function is used in input mode, the external interrupt input is also shared. Remark n = 0 to 7, m = 0 -3 R18UZ0005EJ0202 Dec 25, 2014 Page 44 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function Alternate function 0 Inactive Level 0 1 Alternate function 1 Inactive Level 0 1 Alternate function 2 Inactive Level Alternate function 3 Inactive Level 0 1 0 1 Input alternate function 0 Input alternate function 1 Input alternate function 2 Input alternate function 3 Alternate function 0 input/output attribute Alternate function 1 input/output attribute Alternate function 2 input/output attribute Alternate function 3 input/output attribute PMC initial value Write PMC Read PMC PMCmn Write PFCE Read PFCE PFCEmn PFCE initial value PFC initial value AHB Write PFC Read PFC Read PIN PFCmn Y1 PINmn Write Port Read Port Pmn A Pmn EN Write PM Read PM 0 1 PMmn Output alternate function 0 Output alternate function 1 Output alternate function 2 Output alternate function 3 Figure 7.1 Basic port circuit configuration R18UZ0005EJ0202 Dec 25, 2014 Page 45 of 89 R-IN32M3-CL User’s Manual 7.3 7. 6BPort function Registers (1/6) Register name Symbol Address Port register 0 (8 bits) P0B 400A 3000H Port register 1 (8 bits) P1B 400A 3001H Port register 2 (8 bits) P2B 400A 3002H Port register 3 (8 bits) P3B 400A 3003H Port register 4 (8 bits) P4B 400A 3004H Port register 5 (8 bits) P5B 400A 3005H Port register 6 (8 bits) P6B 400A 3006H Port register 7 (8 bits) P7B 400A 3007H Port register 0 (16 bits) P0H 400A 3000H Port register 2 (16 bits) P2H 400A 3002H Port register 4 (16 bits) P4H 400A 3004H Port register 6 (16 bits) P8H 400A 3006H Port register 0 (32 bits) P0W 400A 3000H Port register 4 (32 bits) P4W 400A 3004H Port mode register 0 (8 bits) PM0B 400A 3010H Port mode register 1 (8 bits) PM1B 400A 3011H Port mode register 2 (8 bits) PM2B 400A 3012H Port mode register 3 (8 bits) PM3B 400A 3013H Port mode register 4 (8 bits) PM4B 400A 3014H Port mode register 5 (8 bits) PM5B 400A 3015H Port mode register 6 (8 bits) PM6B 400A 3016H Port mode register 7 (8 bits) PM7B 400A 3017H Port mode register 0 (16 bits) PM0H 400A 3010H Port mode register 2 (16 bits) PM2H 400A 3012H Port mode register 4 (16 bits) PM4H 400A 3014H Port mode register 6 (16 bits) PM6H 400A 3016H Port mode register 0 (32 bits) PM0W 400A 3010H Port mode register 4 (32 bits) PM4W 400A 3014H R18UZ0005EJ0202 Dec 25, 2014 Page 46 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (2/6) Register name Symbol Address Port mode control register 0 (8 bits) PMC0B 400A 3020H Port mode control register 1 (8 bits) PMC1B 400A 3021H Port mode control register 2 (8 bits) PMC2B 400A 3022H Port mode control register 3 (8 bits) PMC3B 400A 3023H Port mode control register 4 (8 bits) PMC4B 400A 3024H Port mode control register 5 (8 bits) PMC5B 400A 3025H Port mode control register 6 (8 bits) PMC6B 400A 3026H Port mode control register 7 (8 bits) PMC7B 400A 3027H Port mode control register 0 (16 bits) PMC0H 400A 3020H Port mode control register 2 (16 bits) PMC2H 400A 3022H Port mode control register 4 (16 bits) PMC4H 400A 3024H Port mode control register 6 (16 bits) PMC6H 400A 3026H Port mode control register 0 (32 bits) PMC0W 400A 3020H Port mode control register 4 (32 bits) PMC4W 400A 3024H Port function control register 0 (8 bits) PFC0B 400A 3030H Port function control register 1 (8 bits) PFC1B 400A 3031H Port function control register 2 (8 bits) PFC2B 400A 3032H Port function control register 3 (8 bits) PFC3B 400A 3033H Port function control register 4 (8 bits) PFC4B 400A 3034H Port function control register 5 (8 bits) PFC5B 400A 3035H Port function control register 6 (8 bits) PFC6B 400A 3036H Port function control register 7 (8 bits) PFC7B 400A 3037H Port function control register 0 (16 bits) PFC0H 400A 3030H Port function control register 2 (16 bits) PFC2H 400A 3032H Port function control register 4 (16 bits) PFC4H 400A 3034H Port function control register 6 (16 bits) PFC6H 400A 3036H Port function control register 0 (32 bits) PFC0W 400A 3030H Port function control register 4 (32 bits) PFC4W 400A 3034H R18UZ0005EJ0202 Dec 25, 2014 Page 47 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (3/6) Register name Symbol Address Port function control expansion register 0 (8 bits) PFCE0B 400A 3040H Port function control expansion register 1 (8 bits) PFCE1B 400A 3041H Port function control expansion register 2 (8 bits) PFCE2B 400A 3042H Port function control expansion register 3 (8 bits) PFCE3B 400A 3043H Port function control expansion register 4 (8 bits) PFCE4B 400A 3044H Port function control expansion register 5 (8 bits) PFCE5B 400A 3045H Port function control expansion register 6 (8 bits) PFCE6B 400A 3046H Port function control expansion register 7 (8 bits) PFCE7B 400A 3047H Port function control expansion register 0 (16 bits) PFCE0H 400A 3040H Port function control expansion register 2 (16 bits) PFCE2H 400A 3042H Port function control expansion register 4 (16 bits) PFCE4H 400A 3044H Port function control expansion register 6 (16 bits) PFCE6H 400A 3046H Port function control expansion register 0 (32 bits) PFCE0W 400A 3040H Port function control expansion register 4 (32 bits) PFCE4W 400A 3044H Port pin input register 0 (8 bits) PIN0B 400A 3050H Port pin input register 1 (8 bits) PIN1B 400A 3051H Port pin input register 2 (8 bits) PIN2B 400A 3052H Port pin input register 3 (8 bits) PIN3B 400A 3053H Port pin input register 4 (8 bits) PIN4B 400A 3054H Port pin input register 5 (8 bits) PIN5B 400A 3055H Port pin input register 6 (8 bits) PIN6B 400A 3056H Port pin input register 7 (8 bits) PIN7B 400A 3057H Port pin input register 0 (16 bits) PIN0H 400A 3050H Port pin input register 2 (16 bits) PIN2H 400A 3052H Port pin input register 4 (16 bits) PIN4H 400A 3054H Port pin input register 6 (16 bits) PIN6H 400A 3056H Port pin input register 0 (32 bits) PIN0W 400A 3050H Port pin input register 4 (32 bits) PIN4W 400A 3054H R18UZ0005EJ0202 Dec 25, 2014 Page 48 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (4/6) Register name Symbol Address RT port register 0 (8 bits) RP0B 400A 3400H RT port register 1 (8 bits) RP1B 400A 3401H RT port register 2 (8 bits) RP2B 400A 3402H RT port register 3 (8 bits) RP3B 400A 3403H RT port register 0 (16 bits) RP0H 400A 3400H RT port register 2 (16 bits) RP2H 400A 3402H RT port register 0 (32 bits) RP0W 400A 3400H RT port mode register 0 (8 bits) RPM0B 400A 3410H RT port mode register 1 (8 bits) RPM1B 400A 3411H RT port mode register 2 (8 bits) RPM2B 400A 3412H RT port mode register 3 (8 bits) RPM3B 400A 3413H RT port mode register 0 (16 bits) RPM0H 400A 3410H RT port mode register 2 (16 bits) RPM2H 400A 3412H RT port mode register 0 (32 bits) RPM0W 400A 3410H RT port mode control register 0 (8 bits) RPMC0B 400A 3420H RT port mode control register 1 (8 bits) RPMC1B 400A 3421H RT port mode control register 2 (8 bits) RPMC2B 400A 3422H RT port mode control register 3 (8 bits) RPMC3B 400A 3423H RT port mode control register 0 (16 bits) RPMC0H 400A 3420H RT port mode control register 2 (16 bits) RPMC2H 400A 3422H RT port mode control register 0 (32 bits) RPMC0W 400A 3420H RT port function control register 0 (8 bits) RPFC0B 400A 3430H RT port function control register 1 (8 bits) RPFC1B 400A 3431H RT port function control register 2 (8 bits) RPFC2B 400A 3432H RT port function control register 3 (8 bits) RPFC3B 400A 3433H RT port function control register 0 (16 bits) RPFC0H 400A 3430H RT port function control register 2 (16 bits) RPFC2H 400A 3432H RT port function control register 0 (32 bits) RPFC0W 400A 3430H R18UZ0005EJ0202 Dec 25, 2014 Page 49 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (5/6) Register name Symbol Address RT port function control expansion register 0 (8 bits) RPFCE0B 400A 3440H RT port function control expansion register 1 (8 bits) RPFCE1B 400A 3441H RT port function control expansion register 2 (8 bits) RPFCE2B 400A 3442H RT port function control expansion register 3 (8 bits) RPFCE3B 400A 3443H RT port function control expansion register 0 (16 bits) RPFCE0H 400A 3440H RT port function control expansion register 2 (16 bits) RPFCE2H 400A 3442H RT port function control expansion register 0 (32 bits) RPFCE0W 400A 3440H RT port pin input register 0 (8 bits) RPIN0B 400A 3450H RT port pin input register 1 (8 bits) RPIN1B 400A 3451H RT port pin input register 2 (8 bits) RPIN2B 400A 3452H RT port pin input register 3 (8 bits) RPIN3B 400A 3453H RT port pin input register 0 (16 bits) RPIN0H 400A 3450H RT port pin input register 2 (16 bits) RPIN2H 400A 3452H RT port pin input register 0 (32 bits) RPIN0W 400A 3450H R18UZ0005EJ0202 Dec 25, 2014 Page 50 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (6/6) Register name Symbol Address Buffer function change register P0L DRCTLP0L 4001 0220H Buffer function change register P0H DRCTLP0H 4001 0224H Buffer function change register P1L DRCTLP1L 4001 0228H Buffer function change register P1H DRCTLP1H 4001 022CH Buffer function change register P2L DRCTLP2L 4001 0230H Buffer function change register P2H DRCTLP2H 4001 0234H Buffer function change register P3L DRCTLP3L 4001 0238H Buffer function change register P3H DRCTLP3H 4001 023CH Buffer function change register P4L DRCTLP4L 4001 0240H Buffer function change register P4H DRCTLP4H 4001 0244H Buffer function change register P5L DRCTLP5L 4001 0248H Buffer function change register P5H DRCTLP5H 4001 024CH Buffer function change register P6L DRCTLP6L 4001 0250H Buffer function change register P6H DRCTLP6H 4001 0254H Buffer function change register P7L DRCTLP7L 4001 0258H Buffer function change register P7H DRCTLP7H 4001 025CH Buffer function change register RP0L DRCTLRP0L 4001 0260H Buffer function change register RP0H DRCTLRP0H 4001 0264H Buffer function change register RP1L DRCTLRP1L 4001 0268H Buffer function change register RP1H DRCTLRP1H 4001 026CH Buffer function change register RP2L DRCTLRP2L 4001 0270H Buffer function change register RP2H DRCTLRP2H 4001 0274H Buffer function change register RP3L DRCTLRP3L 4001 0278H Buffer function change register RP3H DRCTLRP3H 4001 027CH R18UZ0005EJ0202 Dec 25, 2014 Page 51 of 89 R-IN32M3-CL User’s Manual 7.3.1 7. 6BPort function Port registers (P, RP) The R-IN32M3-EC incorporates twelve 3-state I/O ports. Input or output mode can be specified in 1-bit units. For output ports, the port register can be used to write the output level. If a port register is read, the value of the output latch is read. Use the PINn or RPINm register to read the pin level. Address Initial value 7 6 5 4 3 2 1 0 P0B P07 P06 P05 P04 P03 P02 P01 P00 400A 3000H 00H P1B P17 P16 P15 P14 P13 P12 P11 P10 400A 3001H 00H P2B P27 P26 P25 P24 P23 P22 P21 P20 400A 3002H 00H P3B P37 P36 P35 P34 P33 P32 P31 P30 400A 3003H 00H P4B P47 P46 P45 P44 P43 P42 P41 P40 400A 3004H 00H P5B P57 P56 P55 P54 P53 P52 P51 P50 400A 3005H 00H P6B P67 P66 P65 P64 P63 P62 P61 P60 400A 3006H 00H P7B P77 P76 P75 P74 P73 P72 P71 P70 400A 3007H 00H RP0B RP07 RP06 RP05 RP04 RP03 RP02 RP01 RP00 400A 3400H 00H RP1B RP17 RP16 RP15 RP14 RP13 RP12 RP11 RP10 400A 3401H 00H RP2B RP27 RP26 RP25 RP24 RP23 RP22 RP21 RP20 400A 3402H 00H RP3B RP37 RP36 RP35 RP34 RP33 RP32 RP31 RP30 400A 3403H 00H Bit position 7 to 0 Bit name Pmn/RPln Function Set the value of the output latch when the port is used in output mode. If read, the value of the output latch is read. Figure 7.2 Port registers (in 8-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 52 of 89 R-IN32M3-CL User’s Manual P0H 7. 6BPort function 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address P17 P16 P15 P14 P13 P12 P11 P10 P07 P06 P05 P04 P03 P02 P01 P00 400A 3000H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Initial value 0000H P2H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address P37 P36 P35 P34 P33 P32 P31 P30 P27 P26 P25 P24 P23 P22 P21 P20 400A 3002H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Initial value 0000H P4H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address P57 P56 P55 P54 P53 P52 P51 P50 P47 P46 P45 P44 P43 P42 P41 P40 400A 3004H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Initial value 0000H P6H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address P77 P76 P75 P74 P73 P72 P71 P70 P67 P66 P65 P64 P63 P62 P61 P60 400A 3006H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Initial value 0000H 15 RP0H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RP17 RP16 RP15 RP14 RP13 RP12 RP11 RP10 RP07 RP06 RP05 RP04 RP03 RP02 RP01 RP00 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3400H Initial value 0000H 15 RP2H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RP37 RP36 RP35 RP34 RP33 RP32 RP31 RP30 RP27 RP26 RP25 RP24 RP23 RP22 RP21 RP20 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3402H Initial value 0000H Bit position 15 to 0 Bit name Pmn/RPln Function Set the value of the output latch when the port is used in output mode. If read, the value of the output latch is read. Figure 7.3 Port registers (in 16-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 53 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3000H Initial value P0W P37 P36 P35 P34 P33 P32 P31 P30 P27 P26 P25 P24 P23 P22 P21 P20 P17 P16 P15 P14 P13 P12 P11 P10 P07 P06 P05 P04 P03 P02 P01 P00 0000 0000H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3004H Initial value P4W P77 P76 P75 P74 P73 P72 P71 P70 P67 P66 P65 P64 P63 P62 P61 P60 P57 P56 P55 P54 P53 P52 P51 P50 P47 P46 P45 P44 P43 P42 P41 P40 0000 0000H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3400H Initial value RP37 RP36 RP35 RP34 RP33 RP32 RP31 RP30 RP27 RP26 RP25 RP24 RP23 RP22 RP21 RP20 RP17 RP16 RP15 RP14 RP13 RP12 RP11 RP10 RP07 RP06 RP05 RP04 RP03 RP02 RP01 RP00 RP0W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit position 31 to 0 0000 0000H Bit name Pmn/RPln Function Set the value of the output latch when the port is used in output mode. If read, the value of the output latch is read. Figure 7.4 Port registers (in 32-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 54 of 89 R-IN32M3-CL User’s Manual 7.3.2 7. 6BPort function Port mode registers (PM, RPM) These registers are used to set a port to input or output mode. Address Initial value 7 6 5 4 3 2 1 0 PM0B PM07 PM06 PM05 PM04 PM03 PM02 PM01 PM00 400A 3010H FFH PM1B PM17 PM16 PM15 PM14 PM13 PM12 PM11 PM10 400A 3011H FFH PM2B PM27 PM26 PM25 PM24 PM23 PM22 PM21 PM20 400A 3012H FFH PM3B PM37 PM36 PM35 PM34 PM33 PM32 PM31 PM30 400A 3013H FFH PM4B PM47 PM46 PM45 PM44 PM43 PM42 PM41 PM40 400A 3014H FFH PM5B PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50 400A 3015H FFH PM6B PM67 PM66 PM65 PM64 PM63 PM62 PM61 PM60 400A 3016H FFH PM7B PM77 PM76 PM75 PM74 PM73 PM72 PM71 PM70 400A 3017H FFH RPM0B RPM07 RPM06 RPM05 RPM04 RPM03 RPM02 RPM01 RPM00 400A 3410H FFH RPM1B RPM17 RPM16 RPM15 RPM14 RPM13 RPM12 RPM11 RPM10 400A 3411H FFH RPM2B RPM27 RPM26 RPM25 RPM24 RPM23 RPM22 RPM21 RPM20 400A 3412H FFH RPM3B RPM37 RPM36 RPM35 RPM34 RPM33 RPM32 RPM31 RPM30 400A 3413H FFH Bit position 7 to 0 Bit name Function PMmn/ Set the port to input or output mode. RPMln 0: Output mode (output buffer is on) 1: Input mode (output buffer is off) (initial value) Figure 7.5 Port mode registers (in 8-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 55 of 89 R-IN32M3-CL User’s Manual 15 PM0H 14 13 12 7. 6BPort function 11 10 9 8 7 6 5 4 3 2 1 0 PM17 PM16 PM15 PM14 PM13 PM12 PM11 PM10 PM07 PM06 PM05 PM04 PM03 PM02 PM01 PM00 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3010H Initial value FFFFH 15 PM2H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PM37 PM36 PM35 PM34 PM33 PM32 PM31 PM30 PM27 PM26 PM25 PM24 PM23 PM22 PM21 PM20 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3012H Initial value FFFFH 15 PM4H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50 PM47 PM46 PM45 PM44 PM43 PM42 PM41 PM40 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3014H Initial value FFFFH 15 PM6H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PM77 PM76 PM75 PM74 PM73 PM72 PM71 PM70 PM67 PM66 PM65 PM64 PM63 PM62 PM61 PM60 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3016H Initial value FFFFH 15 RPM0H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3410H Initial value FFFFH 15 RPM2H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM 37 36 35 34 33 32 31 30 27 26 25 24 23 22 21 20 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3412H Initial value FFFFH Bit position 15 to 0 Bit name Function PMmn/ Set the port to input or output mode. RPMln 0: Output mode (output buffer is on) 1: Input mode (output buffer is off) (initial value) Figure 7.6 Port mode registers (in 16-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 56 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3010H Initial value PM37 PM36 PM35 PM34 PM33 PM32 PM31 PM30 PM27 PM26 PM25 PM24 PM23 PM22 PM21 PM20 PM17 PM16 PM15 PM14 PM13 PM12 PM11 PM10 PM07 PM06 PM05 PM04 PM03 PM02 PM01 PM00 PM0W R/W FFFF FFFFH R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3014H Initial value PM77 PM76 PM75 PM74 PM73 PM72 PM71 PM70 PM67 PM66 PM65 PM64 PM63 PM62 PM61 PM60 PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50 PM47 PM46 PM45 PM44 PM43 PM42 PM41 PM40 PM4W R/W FFFF FFFFH R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3410H R/W RPM37 RPM36 RPM35 RPM34 RPM33 RPM32 RPM31 RPM30 RPM27 RPM26 RPM25 RPM24 RPM23 RPM22 RPM21 RPM20 RPM17 RPM16 RPM15 RPM14 RPM13 RPM12 RPM11 RPM10 RPM07 RPM06 RPM05 RPM04 RPM03 RPM02 RPM01 RPM00 Initial value RPM0W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit position 31 to 0 FFFF FFFFH Bit name PMmn/RPMln Function Set the port to input or output mode. 0: Output mode (output buffer is on) 1: Input mode (output buffer is off) (initial value) Figure 7.7 Port mode registers (in 32-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 57 of 89 R-IN32M3-CL User’s Manual 7.3.3 7. 6BPort function Port mode control register (PMC, RPMC) These registers are used to select whether to use a port as a port or for its alternate function. Address Initial value 7 6 5 4 3 2 1 0 PMC0B PMC07 PMC06 PMC05 PMC04 PMC03 PMC02 PMC01 PMC00 400A 3020H 00H PMC1B PMC17 PMC16 PMC15 PMC14 PMC13 PMC12 PMC11 PMC10 400A 3021H 00HNote PMC2B PMC27 PMC26 PMC25 PMC24 PMC23 PMC22 PMC21 PMC20 400A 3022H 00HNote PMC3B PMC37 PMC36 PMC35 PMC34 PMC33 PMC32 PMC31 PMC30 400A 3023H 00HNote PMC4B PMC47 PMC46 PMC45 PMC44 PMC43 PMC42 PMC41 PMC40 400A 3024H 00HNote PMC5B PMC57 PMC56 PMC55 PMC54 PMC53 PMC52 PMC51 PMC50 400A 3025H 00HNote PMC6B PMC67 PMC66 PMC65 PMC64 PMC63 PMC62 PMC61 PMC60 400A 3026H 00HNote PMC7B PMC77 PMC76 PMC75 PMC74 PMC73 PMC72 PMC71 PMC70 400A 3027H 00H RPMC0B RPMC07 RPMC06 RPMC05 RPMC04 RPMC03 RPMC02 RPMC01 RPMC00 400A 3420H 00HNote RPMC1B RPMC17 RPMC16 RPMC15 RPMC14 RPMC13 RPMC12 RPMC11 RPMC10 400A 3421H 00HNote RPMC2B RPMC27 RPMC26 RPMC25 RPMC24 RPMC23 RPMC22 RPMC21 RPMC20 400A 3422H 00HNote RPMC3B RPMC37 RPMC36 RPMC35 RPMC34 RPMC33 RPMC32 RPMC31 RPMC30 400A 3423H 00HNote Bit position 7 to 0 Bit name Function PMCmn/ Specify whether to use the port as a port or for its alternate function. RPMCln 0: Port mode. (The Inactive level is input to the input pin of the alternate function.) 1: Alternate function (control mode) Figure 7.8 Port mode control registers (in 8-bit notation) Note The initial value depends on the pin status. For details, see 2.2 Port status. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 58 of 89 R-IN32M3-CL User’s Manual 15 PMC0H 14 13 12 7. 6BPort function 11 10 9 8 7 6 5 4 3 2 1 0 PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3020H Initial value 0000HNote 15 PMC2H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC 37 36 35 34 33 32 31 30 27 26 25 24 23 22 21 20 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3022H Initial value 0000HNote 15 PMC4H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC 57 56 55 54 53 52 51 50 47 46 45 44 43 42 41 40 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3024H Initial value 0000HNote 15 PMC6H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC PMC 77 76 75 74 73 72 71 70 67 66 65 64 63 62 61 60 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3026H Initial value 0000HNote 15 RPMC0H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM C17 C16 C15 C14 C13 C12 C11 C10 C07 C06 C05 C04 C03 C02 C01 C00 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3420H Initial value 0000HNote 15 RPMC2H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM RPM C37 C36 C35 C34 C33 C32 C31 C30 C27 C26 C25 C24 C23 C22 C21 C20 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Address 400A 3422H Initial value 0000HNote Bit position 15 to 0 Bit name Function PMCmn/ Specify whether to use the port as a port or for its alternate function. RPMCln 0: Port mode. (The Inactive level is input to the input pin of the alternate function.) 1: Alternate function (control mode) Figure 7.9 Port mode control registers (in 16-bit notation) Note The initial value depends on the pin status. For details, see 2.2 Port status. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 59 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3020H R/W PMC37 PMC36 PMC35 PMC34 PMC33 PMC32 PMC31 PMC30 PMC27 PMC26 PMC25 PMC24 PMC23 PMC22 PMC21 PMC20 PMC17 PMC16 PMC15 PMC14 PMC13 PMC12 PMC11 PMC10 PMC07 PMC06 PMC05 PMC04 PMC03 PMC02 PMC01 PMC00 Initial value PMC0W 0000 0000HNote R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3024H R/W PMC77 PMC76 PMC75 PMC74 PMC73 PMC72 PMC71 PMC70 PMC67 PMC66 PMC65 PMC64 PMC63 PMC62 PMC61 PMC60 PMC57 PMC56 PMC55 PMC54 PMC53 PMC52 PMC51 PMC50 PMC47 PMC46 PMC45 PMC44 PMC43 PMC42 PMC41 PMC40 Initial value PMC4W 0000 0000HNote R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address RPMC0W RPMC37 RPMC36 RPMC35 RPMC34 RPMC33 RPMC32 RPMC31 RPMC30 RPMC27 RPMC26 RPMC25 RPMC24 RPMC23 RPMC22 RPMC21 RPMC20 RPMC17 RPMC16 RPMC15 RPMC14 RPMC13 RPMC12 RPMC11 RPMC10 RPMC07 RPMC06 RPMC05 RPMC04 RPMC03 RPMC02 RPMC01 RPMC00 400A 3420H R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit position 31 to 0 Bit name PMCmn/RPMCln Initial value 0000 0000HNote Function Specify whether to use the port as a port or for its alternate function. 0: Port mode. (The Inactive level is input to the input pin of the alternate function.) 1: Alternate function (control mode) Figure 7.10 Port mode control registers (in 32-bit notation) Note The initial value depends on the pin status. For details, see 2.2 Port status. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 60 of 89 R-IN32M3-CL User’s Manual 7.3.4 7. 6BPort function Port function control registers (PFC, RPFC) These registers are used to specify which alternate function is used. These registers can be set in 1-bit units Address Initial value 7 6 5 4 3 2 1 0 PFC0B PFC07 PFC06 PFC05 PFC04 PFC03 PFC02 0 0 400A 3030H 00H PFC1B 0 0 0 0 0 PFC12 PFC11 PFC10 400A 3031H 00H PFC2B PFC27 PFC26 0 PFC24 0 0 0 0 400A 3032H 00H Note1 PFC3B PFC37 PFC36 PFC35 PFC34 PFC33 PFC32 0 0 400A 3033H 00H Note1 PFC4B PFC47 PFC46 PFC45 PFC44 PFC43 PFC42 PFC41 PFC40 400A 3034H 00H Note1 PFC5B PFC57 0 0 PFC54 PFC53 PFC52 0 0 400A 3035H 00H Note1 PFC6B 0 0 0 0 0 0 0 0 400A 3036H 00H PFC7B 0 0 0 0 0 0 0 0 400A 3037H 00H RPFC0B RPFC07 RPFC06 0 0 0 0 RPFC01 RPFC00 400A 3430H 00H RPFC1B 0 0 0 0 0 0 0 0 400A 3431H 00H RPFC2B RPFC27 RPFC26 RPFC25 RPFC24 0 0 0 RPFC20 400A 3432H 00H RPFC3B 0 0 0 0 0 0 0 0 400A 3433H 00H Bit position 7 to 0 Bit name Function PFCmn/ Specify whether to use alternate functions 1 and 3 or alternate functions 2 and 4. RPFCmn 0: Alternate function 1Note 2/Alternate function 3Note 3 1: Alternate function 2Note 2/Alternate function 4Note 3 Figure 7.11 Port function control registers (in 8-bit notation) Notes 1. The initial value depends on the pin status. For details, see 2.2 Port status. 2. To use alternate function 1 or 2, the bit corresponding to the function in the PFCE/RPFCE register must be set to 0. 3. To use alternate function 3 or 4, the bit corresponding to the function in the PFCE/RPFCE register must be set to 1. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 61 of 89 R-IN32M3-CL User’s Manual 15 PFC0H 14 13 12 7. 6BPort function 11 10 9 8 7 6 5 4 3 2 0 0 0 0 0 PFC PFC PFC PFC PFC PFC PFC PFC PFC 12 11 10 07 06 05 04 03 02 0 0 0 0 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W 1 0 Address 0 0 400A 3030H 0 0 Initial value 0000H 15 PFC2H 14 13 12 11 10 9 PFC PFC PFC PFC PFC PFC 37 36 35 34 33 32 0 R/W 0 R/W R/W R/W R/W R/W 5 4 3 2 1 0 Address 0 PFC PFC 27 26 0 PFC 24 0 0 0 0 400A 3032H 0 R/W 0 R/W 0 0 0 0 Initial value 8 7 6 R/W 0000HNote 1 PFC4H 15 14 13 PFC 57 0 0 R/W 0 0 12 11 9 8 PFC PFC PFC 54 53 52 0 0 R/W 0 0 R/W 10 R/W 0 Address PFC PFC PFC PFC PFC PFC PFC 47 46 45 44 43 42 41 PFC 40 400A 3034H R/W R/W Initial value 7 6 5 R/W R/W 4 R/W 3 R/W 2 R/W 1 R/W 0000HNote 1 PFC6H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 400A 3036H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Initial value 0000HNote 1 15 RPFC0H 14 13 12 11 10 9 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 6 5 RPFC RPFC 07 06 R/W R/W 4 3 2 0 0 0 0 0 0 0 0 1 0 RPFC RPFC 01 00 R/W R/W Address 400A 3430H Initial value 0000H RPFC2H 15 14 13 12 11 10 9 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 6 5 4 RPFC RPFC RPFC RPFC 27 26 25 24 R/W R/W R/W R/W 3 2 1 0 Address 0 0 0 RPFC 20 400A 3432H 0 0 0 R/W Initial value 0000H Bit position 15-0 Bit name Function PFCmn / Specify whether to use alternate functions 1 and 3 or alternate functions 2 and 4. RPFCmn 0: Alternate function 1Note 2/Alternate function 3Note 3 1: Alternate function 2Note 2/Alternate function 4Note 3 Figure 7.12 Port function control registers (in 16-bit notation) Notes 1. The initial value depends on the pin status. For details, see 2.2 Port status. 2. To use alternate function 1 or 2, the bit corresponding to the function in the PFCE/RPFCE register must be set to 0. 3. To use alternate function 3 or 4, the bit corresponding to the function in the PFCE/RPFCE register must be set to 1. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 62 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3030H R/W R/W R/W R/W R/W R/W R/W 0 0 0 PFC12 PFC11 PFC10 PFC07 PFC06 PFC05 PFC04 PFC03 PFC02 0 0 0 0 0 0 0 0 0 PFC24 0 PFC27 PFC26 0 0 PFC37 PFC36 PFC35 PFC34 PFC33 PFC32 PFC0W 0 R/W R/W 0 R/W 0 0 0 0 0 0 0 0 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Initial value 0000 0000HNote 0 0 Address 400A 3034H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Initial value 0 0 PFC47 PFC46 PFC45 PFC44 PFC43 PFC42 PFC41 PFC40 0 0 PFC54 PFC53 PFC52 R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PFC57 PFC4W 0 R/W 0 0 R/W R/W R/W 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 0000 0000HNote 0 R/W R/W R/W R/W R/W R/W R/W R/W 8 7 6 5 4 3 2 1 0 Address R/W 0 0 0 Bit position 31-0 0 0 0 0 0 R/W R/W R/W R/W 0 0 0 0 0 0 0 0 0 0 0 R/W 0 0 0 0 Bit name 0 0 0 0 0 0 0 0 R/W R/W 0 0 0 Initial value RPFC01 RPFC00 0 0 0 RPFC07 RPFC06 0 0 0 0 0 0 0 0 RPFC20 RPFC0W RPFC27 RPFC26 RPFC25 RPFC24 400A 3430H 0000 0000HNote 0 R/W R/W Function PFCmn / Specify whether to use alternate functions 1 and 3 or alternate functions 2 and 4. RPFCln 0: Alternate function 1Note 2/Alternate function 3Note 3 1: Alternate function 2Note 2/Alternate function 4Note 3 Figure 7.13 Port function control registers (in 32-bit notation) Notes 1. The initial value depends on the pin status. For details, see 2.2 Port status. 2. To use alternate function 1 or 2, the bit corresponding to the function in the PFCE/RPFCE register must be set to 0. 3. To use alternate function 3 or 4, the bit corresponding to the function in the PFCE/RPFCE register must be set to 1. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 63 of 89 R-IN32M3-CL User’s Manual 7.3.5 7. 6BPort function Port function control expansion registers (PFCE, RPFCE) These registers are used to specify which alternate expansion function is used. These registers can be set in 1-bit units. Address Initial value 7 6 5 4 3 2 1 0 PFCE0B PFCE07 PFCE06 PFCE05 PFCE04 PFCE03 PFCE02 0 PFCE00 400A 3040H 00H PFCE1B 0 0 0 0 PFCE13 PFCE12 1 1 400A 3041H 00H PFCE2B 0 PFCE26 PFCE25 PFCE24 PFCE23 PFCE22 PFCE21 PFCE20 400A 3042H 00H PFCE3B PFCE37 PFCE36 PFCE35 PFCE34 PFCE33 PFCE32 0 0 400A 3043H 00H1 PFCE4B 0 0 0 0 0 PFCE42 0 0 400A 3044H 00H Note 1 PFCE5B PFCE57 PFCE56 0 PFCE54 PFCE53 PFCE52 PFCE51 PFCE50 400A 3045H 00H PFCE6B 0 PFCE66 PFCE65 PFCE64 PFCE63 PFCE62 0 0 400A 3046H 00H PFCE7B PFCE77 PFCE76 PFCE75 PFCE74 PFCE73 PFCE72 PFCE71 PFCE70 400A 3047H 00H RPFCE0B 0 0 RPFCE1B 0 0 0 0 0 0 0 0 400A 3441H 00H RPFCE2B 0 0 0 0 0 0 0 0 400A 3442H 00H RPFCE3B 0 0 0 0 0 0 0 0 400A 3443H 00H Bit position 7 to 0 RPFCE05 RPFCE04 RPFCE03 RPFCE02 RPFCE01 RPFCE00 400A 3440H Bit name 00H Note 1 Function PFCEmn/ Specify whether to use alternate functions 1 and 2 or alternate functions 3 and 4. RPFCEln 0: Alternate function 1Note 2/Alternate function 2Note 3 1: Alternate function 3Note 2/Alternate function 4Note 3 Figure 7.13 Port function control expansion registers (in 8-bit notation) Notes 1. The initial value depends on the pin status. For details, see 2.2 Port status. 2. To use alternate function 1 or 3, the bit corresponding to the function in the PFC/RPFC register must be set to 0. 3. To use alternate function 2 or 4, the bit corresponding to the function in the PFC/RPFC register must be set to 1. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 64 of 89 R-IN32M3-CL User’s Manual 15 PFCE0H 14 13 12 0 0 0 0 0 0 0 0 7. 6BPort function 11 10 PFCE PFCE 13 12 R/W 9 8 1 1 1 1 R/W 7 6 5 4 3 2 PFCE PFCE PFCE PFCE PFCE PFCE 07 06 05 04 03 02 R/W R/W R/W R/W R/W R/W 1 0 Address 0 PFCE 00 400A 3040H R/W R/W Initial value 0000H 15 PFCE2H 14 13 12 11 10 PFCE PFCE PFCE PFCE PFCE PFCE 37 36 35 34 33 32 R/W R/W R/W R/W R/W 9 8 7 0 0 0 0 0 0 R/W 6 5 4 3 2 1 0 PFCE PFCE PFCE PFCE PFCE PFCE PFCE 26 25 24 23 22 21 20 R/W R/W R/W R/W R/W R/W R/W Address 400A 3042H Initial value 0000H Note 1 15 PFCE4H 14 PFCE PFCE 57 56 R/W R/W 13 0 0 12 11 10 9 8 PFCE PFCE PFCE PFCE PFCE 54 53 52 51 50 R/W R/W R/W R/W R/W 7 6 5 4 3 2 1 0 Address 0 0 0 0 0 PFCE 42 0 0 400A 3044H 0 0 0 0 0 R/W 0 0 Initial value 0000H Note 1 15 PFCE6H 14 13 12 11 10 9 8 PFCE PFCE PFCE PFCE PFCE PFCE PFCE PFCE 77 76 75 74 73 72 71 70 R/W R/W R/W R/W R/W R/W R/W R/W 7 0 0 6 5 4 3 2 PFCE PFCE PFCE PFCE PFCE 66 65 64 63 62 R/W R/W R/W R/W R/W 1 0 Address 0 0 400A 3046H 0 0 Initial value 0000H 15 RPFCE0H 14 13 12 11 10 9 8 7 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 4 3 2 1 0 RPFC RPFC RPFC RPFC RPFC RPFC E05 E04 E03 E02 E01 E00 R/W R/W R/W R/W R/W R/W Address 400A 3440H Initial value 0000H Note 1 RPFCE2H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 400A 3442H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Initial value 0000H Bit position 15 to 0 Bit name Function PFCEmn/ Specify whether to use alternate functions 1 and 2 or alternate functions 3 and 4. RPFCEln 0: Alternate function 1Note 2/Alternate function 2Note 3 1: Alternate function 3Note 2/Alternate function 4Note 3 Figure 7.14 Port function control expansion registers (in 16-bit notation) Notes 1. The initial value depends on the pin status. For details, see 2.2 Port status. 2. To use alternate function 1 or 3, the bit corresponding to the function in the PFC/RPFC register must be set to 0. 3. To use alternate function 2 or 4, the bit corresponding to the function in the PFC/RPFC register must be set to 1. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 65 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3040H R/W R/W R/W R/W R/W R/W R/W 0 0 0 R/W R/W R/W R/W R/W R/W R/W 0 0 0 0 R/W R/W 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 0 PFCE00 1 1 PFCE07 PFCE06 PFCE05 PFCE04 PFCE03 PFCE02 0 0 0 0 PFCE13 PFCE12 0 0 0 PFCE26 PFCE25 PFCE24 PFCE23 PFCE22 PFCE21 PFCE20 PFCE37 PFCE36 PFCE35 PFCE34 PFCE33 PFCE32 Initial value PFCE0W 0000 0000HNote 1 1 R/W R/W R/W R/W R/W R/W 0 R/W 8 7 6 5 4 3 2 1 0 Address 400A 3044H R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 R/W R/W R/W R/W R/W 0 0 0 0 0 0 0 R/W R/W 0 R/W R/W R/W R/W R/W 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 PFCE42 0 PFCE54 PFCE53 PFCE52 PFCE51 PFCE50 0 0 PFCE57 PFCE56 0 PFCE66 PFCE65 PFCE64 PFCE63 PFCE62 PFCE77 PFCE76 PFCE75 PFCE74 PFCE73 PFCE72 PFCE71 PFCE70 Initial value PFCE4W 0 0 0 0 0 0 R/W 0 0 6 5 4 3 0 2 1 0000 0000HNote 1 Address RPFCE0W R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit position 31 to 0 0 0 0 0 0 0 0 0 0 0 Bit name 0 0 0 0 0 0 0 0 0 0 0 0 RPFCE05 RPFCE04 RPFCE03 RPFCE02 RPFCE01 RPFCE00 400A 3440H Initial value 0000 0000HNote 1 0 R/W R/W R/W R/W R/W R/W Function PFCEmn/ Specify whether to use alternate functions 1 and 2 or alternate functions 3 and 4. RPFCEln 0: Alternate function 1Note 2/Alternate function 2Note 3 1: Alternate function 3Note 2/Alternate function 4Note 3 Figure 7.15 Port function control expansion registers (in 32-bit notation) Notes 1. The initial value depends on the pin status. For details, see 2.2 Port status. 2. To use alternate function 1 or 3, the bit corresponding to the function in the PFC/RPFC register must be set to 0. 3. To use alternate function 2 or 4, the bit corresponding to the function in the PFC/RPFC register must be set to 1. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 66 of 89 R-IN32M3-CL User’s Manual 7.3.6 7. 6BPort function Port pin input registers (PIN, RPIN) These are read-only registers for reading the input level of port pins. Address Initial value 7 6 5 4 3 2 1 0 PIN0B PIN07 PIN06 PIN05 PIN04 PIN03 PIN02 PIN01 PIN00 400A 3050H Undefined PIN1B PIN17 PIN16 PIN15 PIN14 PIN13 PIN12 PIN11 PIN10 400A 3051H Undefined PIN2B PIN27 PIN26 PIN25 PIN24 PIN23 PIN22 PIN21 PIN20 400A 3052H Undefined PIN3B PIN37 PIN36 PIN35 PIN34 PIN33 PIN32 PIN31 PIN30 400A 3053H Undefined PIN4B PIN47 PIN46 PIN45 PIN44 PIN43 PIN42 PIN41 PIN40 400A 3054H Undefined PIN5B PIN57 PIN56 PIN55 PIN54 PIN53 PIN52 PIN51 PIN50 400A 3055H Undefined PIN6B PIN67 PIN66 PIN65 PIN64 PIN63 PIN62 PIN61 PIN60 400A 3056H Undefined PIN7B PIN77 PIN76 PIN75 PIN74 PIN73 PIN72 PIN71 PIN70 400A 3057H Undefined RPIN0B RPIN07 RPIN06 RPIN05 RPIN04 RPIN03 RPIN02 RPIN01 RPIN00 400A 3450H Undefined RPIN1B RPIN17 RPIN16 RPIN15 RPIN14 RPIN13 RPIN12 RPIN11 RPIN10 400A 3451H Undefined RPIN2B RPIN27 RPIN26 RPIN25 RPIN24 RPIN23 RPIN22 RPIN21 RPIN20 400A 3452H Undefined RPIN3B RPIN37 RPIN36 RPIN35 RPIN34 RPIN33 RPIN32 RPIN31 RPIN30 400A 3453H Undefined Bit position 7 to 0 Bit name PINmn/ Function Use to read the input level of the port pin. RPINln Figure 7.16 Port pin input registers (in 8-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 67 of 89 R-IN32M3-CL User’s Manual PIN0H 7. 6BPort function 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address PIN 17 PIN 16 PIN 15 PIN 14 PIN 13 PIN 12 PIN 11 PIN 10 PIN 07 PIN 06 PIN 05 PIN 04 PIN 03 PIN 02 PIN 01 PIN 00 400A 3050H R R R R R R R R R R R R R R R R Initial value Undefined PIN2H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address PIN 37 PIN 36 PIN 35 PIN 34 PIN 33 PIN 32 PIN 31 PIN 30 PIN 27 PIN 26 PIN 25 PIN 24 PIN 23 PIN 22 PIN 21 PIN 20 400A 3052H R R R R R R R R R R R R R R R R Initial value Undefined PIN4H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address PIN 57 PIN 56 PIN 55 PIN 54 PIN 53 PIN 52 PIN 51 PIN 50 PIN 47 PIN 46 PIN 45 PIN 44 PIN 43 PIN 42 PIN 41 PIN 40 400A 3054H R R R R R R R R R R R R R R R R Initial value Undefined PIN6H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address PIN 77 PIN 76 PIN 75 PIN 74 PIN 73 PIN 72 PIN 71 PIN 70 PIN 67 PIN 66 PIN 65 PIN 64 PIN 63 PIN 62 PIN 61 PIN 60 400A 3056H R R R R R R R R R R R R R R R R Initial value Undefined 15 RPIN0H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN0 400A 3450H 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 0 R R R R R R R R R R R R R R R R Initial value Undefined 15 RPIN2H 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN RPIN2 400A 3452H 37 36 35 34 33 32 31 30 27 26 25 24 23 22 21 0 R R R R R R R R R R R R R R R R Initial value Undefined Bit position 15 to 0 Bit name PINmn/ Function Use to read the input level of the port pin. RPINln Figure 7.17 Port pin input registers (in 16-bit notation) Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 68 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Address 400A 3050H Initial value PIN37 PIN36 PIN35 PIN34 PIN33 PIN32 PIN31 PIN30 PIN27 PIN26 PIN25 PIN24 PIN23 PIN22 PIN21 PIN20 PIN17 PIN16 PIN15 PIN14 PIN13 PIN12 PIN11 PIN10 PIN07 PIN06 PIN05 PIN04 PIN03 PIN02 PIN01 PIN00 PIN0W R/W R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Undefined Address 400A 3054H Initial value PIN77 PIN76 PIN75 PIN74 PIN73 PIN72 PIN71 PIN70 PIN67 PIN66 PIN65 PIN64 PIN63 PIN62 PIN61 PIN60 PIN57 PIN56 PIN55 PIN54 PIN53 PIN52 PIN51 PIN50 PIN47 PIN46 PIN45 PIN44 PIN43 PIN42 PIN41 PIN40 PIN4W R/W R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Undefined Address 400A 3450H R/W RPIN37 RPIN36 RPIN35 RPIN34 RPIN33 RPIN32 RPIN31 RPIN30 RPIN27 RPIN26 RPIN25 RPIN24 RPIN23 RPIN22 RPIN21 RPIN20 RPIN17 RPIN16 RPIN15 RPIN14 RPIN13 RPIN12 RPIN11 RPIN10 RPIN07 RPIN06 RPIN05 RPIN04 RPIN03 RPIN02 RPIN01 RPIN00 Initial value RPIN0W R R R Bit position 31 to 0 R R R R R R R R R R R R R R R R R Bit name PINmn/RPINln R R R R R R R R R R R Undefined R Function Use to read the input level of the port pin. Remark l = 0 to 3, m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 69 of 89 R-IN32M3-CL User’s Manual 7.4 7. 6BPort function Available combinations of alternate functions The combinations of alternate functions that can be specified by using the port-related registers are shown below. (1) Ports (P00 to P77) (1/3) Pin PMCmn = 0 (port mode) PMCmn = 1 (control mode) nam e PFCEmn = 0 PMmn = 0 PMmn = 1 (output port) (input port) PFCmn = 0 PFCEmn = 1 PFCmn = 1 PFCmn = 0 PFCmn = 1 P00 P00 (output mode) P00 (input mode) INTPZ0 - CCI_RUNLEDZ - P01 P01 (output mode) P01 (input mode) INTPZ1 - - - P02 P02 (output mode) P02 (input mode) INTPZ2 - CCI_DLINKLEDZ - P03 P03 (output mode) P03 (input mode) INTPZ3 - CCI_ERRLEDZ CCS_MON5 P04 P04 (output mode) P04 (input mode) INTPZ4 - CCI_LERR1LEDZ CCS_MON6 P05 P05 (output mode) P05 (input mode) INTPZ5 - CCI_LERR2LEDZ CCS_MON7 P06 P06 (output mode) P06 (input mode) PHYLINK0 - CCI_SDLEDZ CCS_MON0 P07 P07 (output mode) P07 (input mode) PHYLINK1 - CCIRDLEDZ CCS_RESOUT P10 P10 (output mode) P10 (input mode) - - - CCS_REFSTB P11 P11 (output mode) P11 (input mode) - - - CCS_MON4 P12 P12 (output mode) P12 (input mode) INTPZ6 - CCI_NMIZ - P13 P13 (output mode) P13 (input mode) INTPZ7 - CCI_WDTIZ / - CCS_WDTZ / CCM_WDTENZ P14 P14 (output mode) P14 (input mode) SMSCK - - - P15 P15 (output mode) P15 (input mode) SMSI - - - P16 P16 (output mode) P16 (input mode) SMSO - - - P17 P17 (output mode) P17 (input mode) SMCSZ - - - P20 P20 (output mode) P20 (input mode) RXD0 - CCM_LINKERRZ - P21 P21 (output mode) P21 (input mode) TXD0 - CCM_ERRZ - P22 P22 (output mode) P22 (input mode) INTPZ8 - CCS_IOTENSU - P23 P23 (output mode) P23 (input mode) INTPZ9 - CCS_SENYU0 - P24 P24 (output mode) P24 (input mode) INTPZ10 ETHSWSECOUT CCS_SENYU1 - P25 P25 (output mode) P25 (input mode) WDTOUTZ - CCS_ERRZ - P26 P26 (output mode) P26 (input mode) TIN1 TOUT1 CCM_RUNZ / - CCS_RUNZ P27 P27 (output mode) P27 (input mode) TIN0 TOUT0 - - Remark m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 70 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (2/3) Pin PMCmn = 0 (port mode) PMCmn = 1 (control mode) nam e PFCEmn = 0 PMmn = 0 (output port) PMmn = 1 PFCmn = 0 PFCEmn = 1 PFCmn = 1 PFCmn = 0 PFCmn = 1 (input port) P30 P30 (output mode) P30 (input mode) RXD1 - - - P31 P31 (output mode) P31 (input mode) TXD1 - - - P32 P32 (output mode) P32 (input mode) DMAREQZ1 - - CCS_MON1 P33 P33 (output mode) P33 (input mode) DMAACKZ1 CCI_ WAITEDGEH - CCS_MON2 P34 P34 (output mode) P34 (input mode) DMATCZ1 CCI_WRLENH - CCS_MON3 P35 P35 (output mode) P35 (input mode) CSISCK1 INTPZ22 CCM_IRZ - P36 P36 (output mode) P36 (input mode) CSISI1 INTPZ23 CCS_FUSEZ - P37 P37 (output mode) P37 (input mode) CSISO1 INTPZ24 CCM_MSTZ - P40 P40 (output mode) P40 (input mode) A1 HA1 - - P41 P41 (output mode) P41 (input mode) WAITZ HWAITZ - - P42 P42 (output mode) P42 (input mode) SLEEPING HERROUTZ CCM_SDGCZ - P43 P43 (output mode) P43 (input mode) INTPZ11 HBUSCLK - - P44 P44 (output mode) P44 (input mode) CSZ1 HPGCSZ - - P45 P45 (output mode) P45 (input mode) CSISCK0 WAITZ1 - - P46 P46 (output mode) P46 (input mode) CSISI0 WAITZ2 - - P47 P47 (output mode) P47 (input mode) CSISO0 WAITZ3 - P50 P50 (output mode) P50 (input mode) CSZ3 - CCM_LNKRUNZ / CCS_LNKRUNZ P51 P51 (output mode) P51 (input mode) CSZ2 - CCM_RDLEDZ / CCS_RDLEDZ P52 P52 (output mode) P52 (input mode) TIN3 TOUT3 CCS_SDGATEON - P53 P53 (output mode) P53 (input mode) CRXD0 CCS_RD CCM_RD - P54 P54 (output mode) P54 (input mode) CTXD0 CCS_SD CCM_SD - P55 P55 (output mode) P55 (input mode) CRXD1 - - - P56 P56 (output mode) P56 (input mode) CTXD1 - CCI_PHYREZ1 - P57 P57 (output mode) P57 (input mode) TIN2 TOUT2 CCI_PHYREZ0 - Remark m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 71 of 89 R-IN32M3-CL User’s Manual 7. 6BPort function (3/3) Pin PMCmn = 0 (port mode) PMCmn = 1 (control mode) nam e PFCEmn = 0 PMmn = 0 (output port) PMmn = 1 PFCmn = 0 PFCEmn = 1 PFCmn = 1 PFCmn = 0 PFCmn = 1 (input port) P60 P60 (output mode) P60 (input mode) SCL0 - - - P61 P61 (output mode) P61 (input mode) SDA0 - - - P62 P62 (output mode) P62 (input mode) RTDMAREQZ - CCM_MDIN0 - P63 P63 (output mode) P63 (input mode) RTDMAACKZ - CCM_MDIN1 - P64 P64 (output mode) P64 (input mode) RTDMATCZ - CCM_MDIN2 - P65 P65 (output mode) P65 (input mode) DMAREQZ0 - CCM_MDIN3 - P66 P66 (output mode) P66 (input mode) DMAACKZ0 - CCI_INTZ - P67 P67 (output mode) P67 (input mode) DMATCZ0 - - - P70 P70 (output mode) P70 (input mode) CSICS00 - CCS_STATION_NO_0 - / CCM_SNIN0 P71 P71 (output mode) P71 (input mode) CSICS01 - CCS_STATION_NO_1 - / CCM_SNIN1 P72 P72 (output mode) P72 (input mode) CSICS10 - CCS_STATION_NO_2 - / CCM_SNIN2 P73 P73 (output mode) P73 (input mode) CSICS11 - CCS_STATION_NO_3 - / CCM_SNIN3 P74 P74 (output mode) P74 (input mode) INTPZ12 - CCS_STATION_NO_4 - / CCM_SNIN4 P75 P75 (output mode) P75 (input mode) INTPZ13 - P76 P76 (output mode) P76 (input mode) INTPZ14 - P77 P77 (output mode) P77 (input mode) INTPZ15 - CCS_STATION_NO_5 - / CCM_SNIN5 CCS_STATION_NO_6 - / CCM_SNIN6 CCS_STATION_NO_7 - / CCM_SNIN7 Remark m = 0 to 7, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 72 of 89 R-IN32M3-CL User’s Manual (2) 7. 6BPort function Real-time control ports (RP00 to RP37) Pin PMCmn = 0 (port mode) PMCmn = 1 (control mode) name RPFCEmn = 0 PMmn = 0 PMmn = 1 (output port) (input port) RPFCEmn = 1 RPFCmn = 0 RPFCmn = 1 RPFCmn = 0 CCM_SDLEDZ / RPFCmn = 1 RP00 RP00 (output mode) RP00 (input mode) INTPZ16 SCL1 - RP01 RP01 (output mode) RP01 (input mode) INTPZ17 SDA1 CCM_SMSTZ - RP02 RP02 (output mode) RP02 (input mode) INTPZ18 - CCS_BS1 - RP03 RP03 (output mode) RP03 (input mode) INTPZ19 - CCS_BS2 - RP04 RP04 (output mode) RP04 (input mode) INTPZ20 - CCS_BS4 - RP05 RP05 (output mode) RP05 (input mode) INTPZ21 - CCS_BS8 - RP06 RP06 (output mode) RP06 (input mode) WRZ2 HWRZ2 - - RP07 RP07 (output mode) RP07 (input mode) WRZ3 HWRZ3 - - RP10 RP10 (output mode) RP10 (input mode) D24/HD24 - - - RP11 RP11 (output mode) RP11 (input mode) D25/HD25 - - - RP12 RP12 (output mode) RP12 (input mode) D26/HD26 - - - RP13 RP13 (output mode) RP13 (input mode) D27/HD27 - - - RP14 RP14 (output mode) RP14 (input mode) D28/HD28 - - - RP15 RP15 (output mode) RP15 (input mode) D29/HD29 - - - RP16 RP16 (output mode) RP16 (input mode) D30/HD30 - - - RP17 RP17 (output mode) RP17 (input mode) D31/HD31 - - - RP20 RP20 (output mode) RP20 (input mode) BCYSTZ HBCYSTZ - - RP21 RP21 (output mode) RP21 (input mode) A21 - - - RP22 RP22 (output mode) RP22 (input mode) A22 - - - RP23 RP23 (output mode) RP23 (input mode) A23 - - - RP24 RP24 (output mode) RP24 (input mode) A24 INTPZ25 - - RP25 RP25 (output mode) RP25 (input mode) A25 INTPZ26 - - RP26 RP26 (output mode) RP26 (input mode) A26 INTPZ27 - - RP27 RP27 (output mode) RP27 (input mode) A27 INTPZ28 - - RP30 RP30 (output mode) RP30 (input mode) D16/HD16 - - - RP31 RP31 (output mode) RP31 (input mode) D17/HD17 - - - RP32 RP32 (output mode) RP32 (input mode) D18/HD18 - - - RP33 RP33 (output mode) RP33 (input mode) D19/HD19 - - - RP34 RP34 (output mode) RP34 (input mode) D20/HD20 - - - RP35 RP35 (output mode) RP35 (input mode) D21/HD21 - - - RP36 RP36 (output mode) RP36 (input mode) D22/HD22 - - - RP37 RP37 (output mode) RP37 (input mode) D23/HD23 - - - CCS_SDLEDZ Remark m = 0 to 3, n = 0 to 7 R18UZ0005EJ0202 Dec 25, 2014 Page 73 of 89 R-IN32M3-CL User’s Manual 7.5 7. 6BPort function Buffer function change registers (DRCTLP) For some port pins, the driving capability and whether to connect a pull-up or pull-down resistor can be specified individually. Set up the DRCTLP registers during initialization after the reset period ends. After that, the setting of each DRCTLP register can only be changed when the corresponding buffer function change pin is not being used. For example, a DRCTLP register setting can be changed at times when only a memory space is being accessed internally. The DRCTLP register setting becomes valid regardless of the operating mode of the pin (port mode, or control mode in which an alternate function is used). • Access These registers can be read and written in 32-bit or 16-bit units. Cautions 1. These registers are write-protected and can only be written after being protection-unlocked by using a special instruction sequence initiated by using the system protection command register (SYSPCMD). For how to unlock protection, see the description of the system protection command register (SYSPCMD). No special instruction sequence is required for reading these registers. 2. Changing the pull-up/pull-down resistor setting affects the level when a pin enters a high-impedance state. R18UZ0005EJ0202 Dec 25, 2014 Page 74 of 89 R-IN32M3-CL User’s Manual 7.5.1 7. 6BPort function Port 0 buffer function change registers (DRCTLP0L, DRCTLP0H) DRCTLP0L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15,14,11, PUIOP0n, 10,7,6,3.2 PDIOP0n 13,12,9,8 IOLP0n1, 5,4,1,0 IOLP0n0 5 4 3 2 1 0 Address BASE+0220H Initial value 0000 9999H 8 7 6 5 4 3 2 1 0 Address BASE+0224H Initial value 0000 9999H 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit name 31 to 16 6 PUIOP07 PDIOP07 IOLP071 IOLP070 PUIOP06 PDIOP06 IOLP061 IOLP060 PUIOP05 PDIOP05 IOLP051 IOLP050 PUIOP04 PDIOP04 IOLP041 IOLP040 DRCTLP0H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 R/W 8 PUIOP03 PDIOP03 IOLP031 IOLP030 PUIOP02 PDIOP02 IOLP021 IOLP020 PUIOP01 PDIOP01 IOLP011 IOLP010 PUIOP00 PDIOP00 IOLP001 IOLP000 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P07 to P00 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1: Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P07 to P00 pins Specify the driving capability of the P07 to P00 pins. IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of P07 to P00 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 75 of 89 R-IN32M3-CL User’s Manual Port 1 Buffer function change register (DRCTLP1L, DRCTLP1H) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W R/W 0 1 R/W R/W 0 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15, 14, 11, PUIOP1n, 10, 7, 6, 3. PDIOP1n 2 IOLP101, PUIOP16 PDIOP16 PUIOP17 PDIOP17 0 R/W R/W 0 Bit name 31 to 16 1, 0 0 0 1 5 4 0 1 3 2 1 0 PUIOP10 PDIOP10 IOLP101 IOLP100 6 1 R/W R/W 0 1 R/W R/W R/W R/W 8 4 0 1 1 R/W R/W 0 7 PUIOP11 PDIOP11 0 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP1H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 7 6 5 0 1 1 R/W R/W 0 3 2 PUIOP14 PDIOP14 R/W 0 1 PUIOP12 PDIOP12 DRCTLP1L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP13 PDIOP13 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 PUIOP15 PDIOP15 7.5.2 7. 6BPort function 1 0 Address BASE+0228H Initial value 0000 9959H Address BASE+022CH 0 1 1 R/W R/W 0 Initial value 0000 9999H 1 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P17 to P10 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1: Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P17 to P10 pins Specify the driving capability of the P10 pin. IOLP100 IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of P10 pin Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 76 of 89 R-IN32M3-CL User’s Manual Port 2 Buffer function change register (DRCTLP2L, DRCTLP2H) R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 R/W R/W 0 PUIOP22 PDIOP22 DRCTLP2L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP23 PDIOP23 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 0 1 1 R/W R/W 0 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W R/W 0 Bit name − 31 to 16 15, 14, 11, PUIOP1n, 10, 7, 6, 3. PDIOP1n 2 9,8 IOLP2n1, 5,4,1,0 IOLP2n0 0 1 7 6 5 4 3 2 1 Address 0 BASE+0230H Initial value 0000 9999H 1 R/W R/W R/W R/W R/W R/W R/W R/W 8 7 6 5 4 3 2 PUIOP26 PDIOP26 IOLP261 IOLP260 PUIOP25 PDIOP25 IOLP251 IOLP250 PUIOP24 PDIOP24 PUIOP27 PDIOP27 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP2H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 PUIOP21 PDIOP21 IOLP211 IOLP210 PUIOP20 PDIOP20 IOLP201 IOLP200 7.5.3 7. 6BPort function 1 Address 0 BASE+0234H Initial value 0 1 1 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 0 0000 9999H 1 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P27 to P20 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1: Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P27 to P20 pins Specify the driving capability of the P26 to P24 and P21 and P20 pins IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of P26 to P24 and P21 and P20 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 77 of 89 R-IN32M3-CL User’s Manual Port 3 Buffer function change register (DRCTLP3L, DRCTLP3H) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W R/W 0 1 R/W R/W 0 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15, 14, 11, PUIOP3n, 10, 7, 6, 3, PDIOP3n 2 IOLP371, PUIOP37 PDIOP37 IOLP371 IOLP370 PUIOP36 PDIOP36 5 4 0 1 3 2 PUIOP30 PDIOP30 6 1 0 0 1 1 8 4 0 6 5 0 1 1 R/W R/W 0 3 2 Initial value 0000 9999H 1 R/W R/W 0 7 Address BASE+0238H 1 R/W R/W 0 0 1 0 R/W R/W R/W R/W R/W R/W 0 Bit name 31 to 16 13, 12 0 7 PUIOP31 PDIOP31 0 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP3H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 PUIOP34 PDIOP34 R/W 0 1 PUIOP32 PDIOP32 DRCTLP3L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP33 PDIOP33 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 PUIOP35 PDIOP35 7.5.4 7. 6BPort function 1 Address BASE+023CH 0 1 1 R/W R/W 0 Initial value 0000 9999H 1 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P37 to P30 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P37 to P30 pins Specify the driving capability of the P37 pin. IOLP370 IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of P37 pin Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 78 of 89 R-IN32M3-CL User’s Manual Port 4 Buffer function change register (DRCTLP4L, DRCTLP4H) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W R/W 0 1 R/W R/W 0 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit name − 31 to 16 15, 14, 11, PUIOP4n, 10, 7, 6, 3, PDIOP4n 2 0 0 R/W R/W 0 PUIOP46 PDIOP46 PUIOP47 PDIOP47 0 1 5 4 0 1 3 2 PUIOP40 PDIOP40 6 1 0 0 1 1 8 4 0 6 5 0 1 1 R/W R/W 0 3 2 Initial value 0000 9999H 1 R/W R/W 0 7 Address BASE+0240H 1 R/W R/W 0 0 1 1 R/W R/W 0 7 PUIOP41 PDIOP41 0 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP4H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 PUIOP44 PDIOP44 R/W 0 1 PUIOP42 PDIOP42 DRCTLP4L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP43 PDIOP43 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 PUIOP45 PDIOP45 7.5.5 7. 6BPort function 1 Address BASE+0244H 0 1 1 R/W R/W 0 Initial value 0000 9999H 1 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P47 to P40 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P47 to P40 pins Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 79 of 89 R-IN32M3-CL User’s Manual Port 5 Buffer function change register (DRCTLP5L, DRCTLP5H) <R> DRCTLP5L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP52 PDIOP52 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 0 1 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15, 14, 11, PUIOP5n, 10, 7, 6, 3, PDIOP5n 2 IOLP5n1, PUIOP57 PDIOP57 6 5 4 3 2 1 Address 0 BASE+0248H Initial value 0000 0599H 8 7 6 5 4 3 2 1 Address 0 BASE+024CH 0 1 0 0 0 0 0 0 0 0 0 0 0 0 Initial value 0000 9000H 0 R/W R/W 0 Bit name 31 to 16 5, 4, 1, 0 0 7 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP5H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 PUIOP51 PDIOP51 IOLP511 IOLP510 PUIOP50 PDIOP50 IOLP501 IOLP500 7.5.6 7. 6BPort function 1 0 0 0 0 0 0 0 0 0 0 0 0 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P57 and P52 to P50 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P57 and P52 to P50 pins Specify the driving capability of the P51 to P50 pins.<R> IOLP5n0 IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of P51 to P50 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 80 of 89 R-IN32M3-CL User’s Manual Port 6 Buffer function change register (DRCTLP6L, DRCTLP6H) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W R/W 0 1 R/W R/W 0 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit name − 31 to 16 15,14,11, PUIOP6n, 10,7,6,3.2 PDIOP6n 0 0 R/W R/W 0 PUIOP66 PDIOP66 PUIOP67 PDIOP67 0 1 5 4 0 1 3 2 PUIOP60 PDIOP60 6 1 0 0 1 1 8 4 0 6 5 0 1 1 R/W R/W 0 3 2 Initial value 0000 9999H 1 R/W R/W 0 7 Address BASE+0250H 1 R/W R/W 0 0 1 1 R/W R/W 0 7 PUIOP61 PDIOP61 0 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP6H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 PUIOP64 PDIOP64 R/W 0 1 PUIOP62 PDIOP62 DRCTLP6L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP63 PDIOP63 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 PUIOP65 PDIOP65 7.5.7 7. 6BPort function 1 Address BASE+0254H 0 1 1 R/W R/W 0 Initial value 0000 9999H 1 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P67 to P60 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P67 to P60 pins Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 81 of 89 R-IN32M3-CL User’s Manual Port 7 Buffer function change register (DRCTLP7L, DRCTLP7H) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W R/W 0 1 R/W R/W 0 R/W 0 Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit name − 31 to 16 15,14,11, PUIOP7n, 10,7,6,3.2 PDIOP7n 0 0 R/W R/W 0 PUIOP76 PDIOP76 PUIOP77 PDIOP77 0 1 5 4 0 1 3 2 PUIOP70 PDIOP70 6 1 0 0 1 1 8 4 0 6 5 0 1 1 R/W R/W 0 3 2 Initial value 0000 9999H 1 R/W R/W 0 7 Address BASE+0258H 1 R/W R/W 0 0 1 1 R/W R/W 0 7 PUIOP71 PDIOP71 0 1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLP7H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 PUIOP74 PDIOP74 R/W 0 1 PUIOP72 PDIOP72 DRCTLP7L 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUIOP73 PDIOP73 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 PUIOP75 PDIOP75 7.5.8 7. 6BPort function 1 Address BASE+025CH 0 1 1 R/W R/W 0 Initial value 0000 9999H 1 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the P77 to P70 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the P77 to P70 pins Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 82 of 89 R-IN32M3-CL User’s Manual 7.5.9 7. 6BPort function Real-time port 0 Buffer function change register (DRCTLRP0L, DRCTLRP0H) DRCTLRP0L R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15, 14, 11, PUIORP0n, 10, 7, 6, 3, PDIORP0n 2 IOLRP0n1, 5 4 3 2 1 0 Address BASE+0260H Initial value 0000 9999H 8 7 6 5 4 3 2 1 0 Address BASE+0264H Initial value 0000 9999H 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit name 31 to 16 13, 12, 9, 0 6 PUIORP07 PDIORP07 IOLRP071 IOLRP070 PUIORP06 PDIORP06 IOLRP061 IOLRP060 PUIORP05 PDIORP05 IOLRP051 IOLRP050 PUIORP04 PDIORP04 IOLRP041 IOLRP040 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLRP0H 8 PUIORP03 PDIORP03 IOLRP031 IOLRP030 PUIORP02 PDIORP02 IOLRP021 IOLRP020 PUIORP01 PDIORP01 IOLRP011 IOLRP010 PUIORP00 PDIORP00 IOLRP001 IOLRP000 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the RP07 to RP00 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the RP07 to RP00 pins Specify the driving capability of the RP07 to RP00 pins. 8, 5, 4, 1, 0 IOLRP0n0 IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of RP07 to RP00 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 83 of 89 R-IN32M3-CL User’s Manual 7.5.10 7. 6BPort function Real-time port 1 buffer function change registers (DRCTLRP1L, DRCTLRP1H) DRCTLRP1L R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15,14,11, PUIORP1n, 10,7,6,3.2 PDIORP1n 13,12,9,8 IOLRP1n1, 5,4,1,0 IOLRP1n0 5 4 3 2 1 0 Address BASE+0268H Initial value 0000 9999H 8 7 6 5 4 3 2 1 0 Address BASE+026CH Initial value 0000 9999H 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit name 31 to 16 6 PUIORP17 PDIORP17 IOLRP171 IOLRP170 PUIORP16 PDIORP16 IOLRP161 IOLRP160 PUIORP15 PDIORP15 IOLRP151 IOLRP150 PUIORP14 PDIORP14 IOLRP141 IOLRP140 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLRP1H 8 PUIORP13 PDIORP13 IOLRP131 IOLRP130 PUIORP12 PDIORP12 IOLRP121 IOLRP120 PUIORP11 PDIORP11 IOLRP111 IOLRP110 PUIORP10 PDIORP10 IOLRP101 IOLRP100 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the RP17 to RP10 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the RP17 to RP10 pins Specify the driving capability of the RP17 to RP10 pins. IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of RP17 to RP10 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 84 of 89 R-IN32M3-CL User’s Manual 7.5.11 7. 6BPort function Real-time port 2 Buffer function change register (DRCTLRP2L, DRCTLRP2H) DRCTLRP2L R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15,14,11, PUIORP2n, 10,7,6,3.2 PDIORP2n 13,12,9,8 IOLRP2n1, 5,4,1,0 IOLRP2n0 5 4 3 2 1 0 Address BASE+0270H Initial value 0000 5559H 8 7 6 5 4 3 2 1 0 Address BASE+0274H Initial value 0000 5555H 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit name 31 to 16 6 PUIORP27 PDIORP27 IOLRP271 IOLRP270 PUIORP26 PDIORP26 IOLRP261 IOLRP260 PUIORP25 PDIORP25 IOLRP251 IOLRP250 PUIORP24 PDIORP24 IOLRP241 IOLRP240 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLRP2H 8 PUIORP23 PDIORP23 IOLRP231 IOLRP230 PUIORP22 PDIORP22 IOLRP221 IOLRP220 PUIORP21 PDIORP21 IOLRP211 IOLRP210 PUIORP20 PDIORP20 IOLRP201 IOLRP200 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the RP27 to RP20 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the RP27 to RP20 pins Specify the driving capability of the RP27 to RP20 pins. IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of RP27 to RP20 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 85 of 89 R-IN32M3-CL User’s Manual 7.5.12 7. 6BPort function Real-time port 3 Buffer function change register (DRCTLRP3L, DRCTLRP3H) DRCTLRP3L R/W 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 R/W Bit position 0 0 0 0 0 0 0 0 0 0 0 0 0 0 − 15,14,11, PUIORP3n, 10,7,6,3.2 PDIORP3n 13,12,9,8 IOLRP3n1, 5,4,1,0 IOLRP3n0 5 4 3 2 1 0 Address BASE+0278H Initial value 0000 9999H 8 7 6 5 4 3 2 1 0 Address BASE+027CH Initial value 0000 9999H 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Bit name 31 to 16 6 PUIORP37 PDIORP37 IOLRP371 IOLRP370 PUIORP36 PDIORP36 IOLRP361 IOLRP360 PUIORP35 PDIORP35 IOLRP351 IOLRP350 PUIORP34 PDIORP34 IOLRP341 IOLRP340 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 DRCTLRP3H 8 PUIORP33 PDIORP33 IOLRP331 IOLRP330 PUIORP32 PDIORP32 IOLRP321 IOLRP320 PUIORP31 PDIORP31 IOLRP311 IOLRP310 PUIORP30 PDIORP30 IOLRP301 IOLRP300 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 Function Reserved. (Be sure to write 0 to these bits. If read, 0 is returned.) Specify whether to connect a pull-up or pull-down resistor to the RP37 to RP30 pins. Connection of a pull-up or pull-down resistor PUIO PDIO 0 0 Do not connect a pull-up or pull-down resistor. 0 1 Connect a pull-down resistor. 1 0 Connect a pull-up resistor. 1 1 Setting prohibited to the RP37 to RP30 pins Specify the driving capability of the RP37 to RP30 pins. IOL1 IOL0 0 1 6 mA (recommended) 1 1 12 mA Other than above Driving capability of RP37 to RP30 pins Setting prohibited Remark n = 7 to 0 R18UZ0005EJ0202 Dec 25, 2014 Page 86 of 89 R-IN32M3-CL User’s Manual 7.6 7. 6BPort function Operation of port functions The port operation differs depending on the I/O mode setting, as shown below. 7.6.1 (1) Reading and writing via I/O ports In output mode If a value is written to port register n (Pn or RPn), the value is written to that port's output latch (Pn or RPn). The value of the output latch is output from the pin. The value written to the output latch is held until another value is written. The value of the output latch (Pn or RPn) can be read by reading port register n (Pn or RPn). To directly read the pin level, read port pin input register n (PINn or RPINn). (2) In input mode If a value is written to port register n (Pn or RPn), the value is written to that port's output latch (Pn or RPn). However, the pin status does not change because the output buffer is off. The value written to the output latch is held until another value is written. To read the input level, read port pin input register n (PINn or RPINn). 7.6.2 Alternate function pin output status in control mode The port pin level can be read directly by reading port pin input register n (PINn or RPINn), regardless of the settings in the PMCn, PMn, PFCn, and PFCEn registers. R18UZ0005EJ0202 Dec 25, 2014 Page 87 of 89 R-IN32M3-CL User’s Manual 7.7 7. 6BPort function Trigger-synchronous ports (RP00 to RP37) The status of the 32-bit port pins RP00 to RP37 is updated in synchronization with an interrupt from an on-chip peripheral function. Use the RPTRGMD register to specify whether to set a port to trigger-synchronous port control mode in 1-bit units. To select the trigger, use the RPTFR0 to RPTFR3 registers. For details, see R-IN32M3 User’s Manual - Peripheral Functions. Figure 7.18 Configuration of Trigger-Synchronous Ports R18UZ0005EJ0202 Dec 25, 2014 Page 88 of 89 R-IN32M3-CL User’s Manual 8. 8. 7BElectrical Specifications Electrical Specifications Please refer to R-IN32M3 series datasheet for the Electrical Specifications. R18UZ0005EJ0202 Dec 25, 2014 Page 89 of 89 R-IN32M3 series Peripheral Function REVISION HISTORY Rev. 1.00 Revision History R-IN32M3-CL User’s Manual Date Description Page Summary 2013.2.8 - First edition issued Apr 03,2013 overall Modification of English expressions (Preliminary) 1.00 overall Change the description of “CC-Link IE Field” “CC-Link IE Field Slave” → “CC-Link IE Field (Intelligent device station)” overall Change the description of “CC-Link” “CC-Link (Slave)” → “CC-Link (Remote device station)” 1 Modification of the contents of 1.1 Introduction 2 Modification of the status of ETH_MDC during the reset of 2.1.1 Ethernet Signals Modification of the contents of Note of 2.1.1 Ethernet Signals 3 Standby mode deletion 8 Modification of the status of BUSCLK during the reset of 2.1.2 External Memory Interface Signals Addition of synchronous burst access MEMC information of 2.1.2 External Memory Interface Signals 9 Modification of the status of HD0-HD15, HBCYSTZ during the reset of 2.1.3 External MCU Interface Signals 20 Modification of PONRZ function of 2.1.16 System Signals Addition the signals of HOTRESETZ, VDDQ_MII, CLKOUT25M0, CLKOUT25M1 of 2.1.16 System Signals 22 Modification of the contents of Note1 and Note2 of 2.2Port status 1.01 Dec 09 2013 overall Modification of the supported station of CC-Link 2.00 Feb 07,2014 4 Modification of block diagram of 1.3 INTERNAL BLOCK DIAGRAM 6-21 Addition the status after reset timing of 2.1 Signals by function 17 Addition explanation of Function of 2.1.13 CC-Link IE Field Signals 19 Add CCM_CLK80M pins to list of 2.1.15 CC-Link Signals (Remote device station) 21 Modification of Boot mode select of 2.1.18 Operation mode Setting Signals 22 Addition of Synchronous burst MEMC of 2.2 Port status 25 Addition of the signals of CLKOUT25M0/CLKOUT25M1 of 2.5.3 System Signals 27-28 Addition of a resistor value of Pull up/down of 2.3.5 Port Signals Modification of a description of the drive current of P30/P31/P52/P61-P64 of 2.3.5 Port Signals 28 Modification of title name of 2.5.8 CC-Link Signal (Intelligent device station, Remote device station) 37 Addition of the contents of Note of INTCCSRFSTB register of 4.2 Inerruput list 40 Addition the register of 6.1.1 CC-Link IE Field (Intelligent device station) clock gate register C-1 R-IN32M3 series Peripheral Function Rev. 2.00 Date Feb 07,2014 Revision History Description Page Summary 41 Addition the register of 6.1.2 CC-Link IE Field (Intelligent device station) wait delay register 42 Modification of Address of 6.1.4 CC-Link IE Field (Intelligent device station) bus bridge control register (CIESMC) 57 Modification of initial value of PM0W, PM4W, and PRM0W registers of 7.3.2 Port mode registers (PM, RPM) 2.01 Apr 18,2014 overall Modification of CC-Link Signals (Remote device station) 17 Addition of the contents of Note of 2.1.13 CC-Link IE Field Signals (Intelligent device station) 28 Modification of pin setting of 2.5.7CC-Link IE Field Signal (Intelligent device station) 71 Addition of the signals of CCI_WAITEDGEH / CCI_WRLENH of 7.4 Available combinations of alternate functions 2.02 Dec 25, 2014 3 80 Change status for Intelligent device station for CC-Link in 1.3 Overview Remove IOLP521, IOLP520 bit at 7.5.6 Port 5 buffer function change registers (DRCTLP5L, DRCTLP5H) (because driving capability of P52 is fixed to 6mA.) C-2 R-IN32M3 series Peripheral Function Revision History [Memo] C-3 R-IN32M3 Series User’s Manual R-IN32M3-CL Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-651-700, Fax: +44-1628-651-804 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Düsseldorf, Germany Tel: +49-211-65030, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. 7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898 Renesas Electronics Hong Kong Limited Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2886-9318, Fax: +852 2886-9022/9044 Renesas Electronics Taiwan Co., Ltd. 13F, No. 363, Fu Shing North Road, Taipei, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 80 Bendemeer Road, Unit #06-02 Hyflux Innovation Centre Singapore 339949 Tel: +65-6213-0200, Fax: +65-6213-0300 Renesas Electronics Malaysia Sdn.Bhd. Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics Korea Co., Ltd. 11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141 © 2013-2014 Renesas Electronics Corporation. All rights reserved