All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Technology Corp. without notice. Please review the latest information published
by Renesas Technology Corp. through various means, including the Renesas Technology
Corp. website (http://www.renesas.com).
Rev.1.40
Revision Date: Jan. 19, 2007
Notes regarding these materials
1. This document is provided for reference purposes only so that Renesas customers may select the appropriate
Renesas products for their use. Renesas neither makes warranties or representations with respect to the
accuracy or completeness of the information contained in this document nor grants any license to any
intellectual property rights or any other rights of Renesas or any third party with respect to the information in
this document.
2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising
out of the use of any information in this document, including, but not limited to, product data, diagrams, charts,
programs, algorithms, and application circuit examples.
3. You should not use the products or the technology described in this document for the purpose of military
applications such as the development of weapons of mass destruction or for the purpose of any other military
use. When exporting the products or technology described herein, you should follow the applicable export
control laws and regulations, and procedures required by such laws and regulations.
4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and
application circuit examples, is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas products listed in this
document, please confirm the latest product information with a Renesas sales office. Also, please pay regular
and careful attention to additional and different information to be disclosed by Renesas such as that disclosed
through our website. (http://www.renesas.com )
5. Renesas has used reasonable care in compiling the information included in this document, but Renesas
assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information
included in this document.
6. When using or otherwise relying on the information in this document, you should evaluate the information in
light of the total system before deciding about the applicability of such information to the intended application.
Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any
particular application and specifically disclaims any liability arising out of the application and use of the
information in this document or Renesas products.
7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas
products are not designed, manufactured or tested for applications or otherwise in systems the failure or
malfunction of which may cause a direct threat to human life or create a risk of human injury or which require
especially high quality and reliability such as safety systems, or equipment or systems for transportation and
traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication
transmission. If you are considering the use of our products for such purposes, please contact a Renesas
sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above.
8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below:
(1) artificial life support devices or systems
(2) surgical implantations
(3) healthcare intervention (e.g., excision, administration of medication, etc.)
(4) any other purposes that pose a direct threat to human life
Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who
elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas
Technology Corp., its affiliated companies and their officers, directors, and employees against any and all
damages arising out of such applications.
9. You should use the products described herein within the range specified by Renesas, especially with respect
to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or
damages arising out of the use of Renesas products beyond such specified ranges.
10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific
characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use
conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and
injury or damage caused by fire in the event of the failure of a Renesas 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 applicable measures. Among others, since the
evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or
system manufactured by you.
11. In case Renesas products listed in this document are detached from the products to which the Renesas
products are attached or affixed, the risk of accident such as swallowing by infants and small children is very
high. You should implement safety measures so that Renesas products may not be easily detached from your
products. Renesas shall have no liability for damages arising out of such detachment.
12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written
approval from Renesas.
13. Please contact a Renesas sales office if you have any questions regarding the information contained in this
document, Renesas semiconductor products, or if you have any other inquiries.
Precautions on Using The Product Described Herein
1. The product described herein should be used in combination with the parts included with the
starter kit. If the product is operated in combination with any other item, its operation cannot be
guaranteed. Nor will requests for help or suggestion be answered.
2. The product described herein was prepared for program development or evaluation purposes.
The product cannot be used for the mass production.
3. Renesas Technology Corporation and Renesas Solutions Corporation will not assume any
responsibility for the results of development no matter what systems may have been
developed by customers by using the product described herein.
4. Guarantee for the product described herein shall conform to stipulations under which
guarantee is provided for the starter kit.
5. The product described herein was prepared assuming it will be used in a laboratory or similar
environment for program development or evaluation purposes. It is not covered in the
electrical product safety laws, nor is it protected against electromagnetic hazards for use in
Japan or elsewhere.
For Inquiries About Product Contents or This Manual
Please contact:
Renesas Technology Corporation
at csc@renesas.com
* Microsoft, MS-DOS, Windows, and Windows NT are registered trademarks of Microsoft Corporation in the U.S. and other
countries.
* Adobe and Acrobat are registered trademarks of Adobe Systems Incorporated.
* All other brand names and product names are trademarks or registered trademarks of each proprietary company.
Preface
Thank you very much for purchasing the 32185/32186/32192/32195/32196 Group Starter Kits,
the M3A-2154G52B.
This manual describes how to set up the hardware and software products included with the
32185/32186/32192/32195/32196 Group Starter Kit and the precautions to be observed when using
those products.
For details about the 32192/321296 or 32186 Group hardware and software products and
development support tools, refer to the user’s manuals and related documentation supplied with
them.
2.3 MOD Select Circuit............................................................................................................................ 41
2.4 Serial I/O Interface............................................................................................................................ 42
2.6 General-purpose Output Port LED Indicators................................................................................... 45
2.7 General-purpose Input Port Control Circuit....................................................................................... 46
2.8 Analog Port Input Control Circuit....................................................................................................... 48
2.9 CAN Interface.................................................................................................................................... 49
3.1.2 Test Pins......................................................................................................................................53
3.2 Extension Connectors CON1 and CON2.......................................................................................... 54
3.2.1 Pin Assignments of the Extension Connector CON1...................................................................54
3.2.2 Pin Assignments of the Extension Connector CON2...................................................................55
3.3 CAN Cable ........................................................................................................................................ 56
3.5 Part List.............................................................................................................................................64
3.9 Description of Board Silk...................................................................................................................79
CONTENTS-2
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1. Overview
1.1 Outline of the Starter Kit
The M3A-2154G52B Starter Kit consists of M3A-2154G02A (32185/32186/32192/32195/32196
Group Evaluation Board; hereafter called the M3A-2154 Evaluation Board), M3T-PD32RM
(Emulator Debugger for M32100T-EZ-E) and M3T-CC32R (Cross Tool Kit for the M32R Family;
trial version).
This is an evaluation kit designed specifically for evaluating your computer at the early stage of
system development as well as developing application software for the 32185/32186/32192/32195/32
196 Group by using M32100T-EZ-E (Emulator for M32R).
M32100T-EZ-E should separately be prepared by the user.
It is capable of reprogramming internal flash memory of the 32185/32186/32192/32195/32196
Group microcomputer as well as controlling. Included M32100T-EZ-E and M3T-PD32RM enable
fast reprogramming MCU’s internal flash memory.
The following explains each item that constitutes the kits.
(1) M3A-2154G02A (M3A-2154 Evaluation Board)
The M3A-2154 Evaluation Board contains one of the 32185/32186/32192/32195/32196 Group
microcomputer of 32-bit and single-chip RISC with a socket, allowing you to evaluate a
microcomputer using the M32R core, internal memory, and peripheral I/O functions.
(2) M3T-CC32R (Cross Tool Kit)
The M3T-CC32R Cross Tool Kit, designed for use in developing application programs for the
M32R Family microcomputers, has abundant functions suitable for developing embedded control
systems using the M32R Family microcomputers. Included in the Starter Kit is a trial version of
it whose useful period is limited.
(3) M3T-PD32RM (Emulator Debugger)
M3T-PD32RM, the debugger software for the Starter Kit, enables debugging the application
system from the host PC by controlling the microcomputer on the M3A-2154 Evaluation Board
which is connected to the host PC via the M32100T-EZ-E emulator. You can analyze the operation
of a program available in load module form by using the M3T-CC32R Cross Tool Kit described
earlier. This debugger provides a man-machine interactive debugging environment based on
mouse manipulation by using a multi-window, graphical user interface comprised of easy to use
menus and multiple debugger windows and dialog boxes.
(Reference)
M32100T-EZ-E (Emulator for M32R)
The M32100T-EZ-E Emulator connects the host PC’s USB port and the M3A-2154 Evaluation
Board’s JTAG pin together, for controlling input/output between M3T-PD32RM and the
M3A-2154 Evaluation Boards
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 1 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1.2 System Configuration
Figure 1.1 and Figure 1.2 below show system configurations of M3A-2154G52B connected to an
included emulator, and M3A-2154G02A by itself, respectively.
M3T-CC32R
M3T-PD32RM
(included with M32100T-EZ-E)
Host PC
(required on the user side)
Figure 1.1 System Configuration of M3A-2154G52B Connected to an Included Emulator
5V power supply cable
(included with a kit)
Figure 1.2 System Configuration of M3A-2154G02A by Itself
USB cable
M32100T-EZ-E
(Emulator for M32R:
required on the user side)
5V power supply cable
(included with a kit)
XCN1
CN2
10-pin flat cable (included with M32100T-EZ-E)
XCN1
M3A-2154G02A
(32185/32186/32192/
32195/32196 Group
CN2
M3A-2154G02A
(32185/32186/32192/
32195/32196 Group
evaluation board)
5V DC power supply
(required on the user side)
evaluation board)
5V DC power supply
(required on the user side)
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 2 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2. Contents of the Product Package
This chapter shows the contents of the Starter Kit product package. When unpacking, check to see
that all items are included with your package.
2.1 Packaged Product Items
Table 2.1 shows the con tents of the Starter Kit product package.
Table 2.1 Packaged Contents of 32185/32186/32192/32195/32196 Group Starter Kit
Packaged product name Outline of product Quantity
32185/32186/32192/32195/32196 Group
M3A-2154G02A
M32186F8VFP 32186 Group microcomputer 1 pc.
5V power supply cable Used for the M3A-2154 Evalution Board 1 pc.
CAN cable CAN cable 2 pc.
CD-ROM Contained documents and software 1 pc.
M32R/ECU Starter Kit
release note
IMPORTANT-READ ME FIRST Written contract 1 copy
Evaluation Board (hereafter called the M3A-2154
Evaluation Board)
M3A-2154G52B release notes 1 copy
1 pc.
Note: When you unpack the Starter Kit, check to see that none of the above package contents is damaged or missing.
If any item is damaged or not included, return the package to Renesas Technology Corporation through
distributors. It will be replaced with a new one..
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 3 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.2 Contents of CD-ROM
The CD-ROM contains the software, manuals, various data sheets, and sample programs which are
needed for you to use the Starter Kit.
When using the technical contents of the CD-ROM such as product data, diagrams, and tables or
the programs and algorithms also included in the CD-ROM for your application, please be sure to
evaluate those technical contents, programs, and algorithms as the whole system, and not
individually as single items before you determine whether they are useful. Renesas Technology
Corporation will not assume any responsibility regarding the ir suita bility for your application.
The following shows directory configurations of data/manuals included in the CD-ROM.
For details, refer to Appendix 1.
Jpn/ Eng + Readme_j.txt/ Readme_e.txt : README file
+ AcrobatReader : Tool for read pdf file
+ Tool + : Software for the M32R Family
| + Cc32r : Cross Tool Kit for the M32R Family (Trial version)
| + Pd32rm : Debugger for the M32R Family
| + Kd32r : Debugger for the M32R Family
| + Ufla32r : Flash memory reprogramming kit for M32R/ECU by UART
| + Oldversion : Old version of Tools
|
+ Document + : Materials associated with boards
| + M3A-2114 : Materials associated with the 32170/32174/32171/32172/32173
| Evaluation board (M3A-2114)
| + M3A-2142 : Materials associated with the 32180/32182 Evaluation board
| (M3A-2142)
| + M3A-2152 : Materials associated with the 32176 Evaluation board
| (M3A-2152)
| + M3A-2154 : Materials associated with the 32185/32186/32192/32195/32196
| Evaluation board (M3A-2154)
| + M3A-2191 : Connector Pitch Converter for M3A-2114 Evaluation board
| and M32100T-EZ-E
| + M32100T-EZ-E : Materials associated with the Emulator for M32R
| + M3A-2145 : Manual for Flash memory reprogramming kit (Ufla32r)
| + Discontinued_model : Materials associated with the discontinued boards (M3A-2195)
|
+ Manual : M32R/ECU manuals, data sheets, M32R Family
| software manuals
+ SampleProgram : Application notes and listed object/source files
2.3 Other Necessary Items
Before the Starter Kit can be used, the following ite m s should separately be prepared by the user.
- Host PC (see Section 4.2 Host PC Condition)
- Power supply (see Section 4.3 Conditions for the Power Supply Used)
- M32100T-EZ-E (emulator for M32R)
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 4 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3. Usage Precautions
3.1 Guaranteed Scope of the Starter Kit
The Starter Kit was developed for users to trial the 32185/32186/32192/32195/32196 Group
microcomputer specifications and development environment. Therefore, the results arising from the
use of the Starter Kit are not guaranteed.
When developing/debugging a system product using one of the M32R Family microcomputers,
please be sure to use official developmen t to ols separately available as you debug.
The Starter Kit should be run on the designated type of host machine (IBM PC/AT compatibles).
This designated type of host machine, however, is just an anticipated operating environment for the
Starter Kit and does not mean that the Starter Kit operates properly on all relevant types of
machines in all relevant environments (e.g., device drivers and peripheral units).
3.2 Regarding About System Power-on Sequence when Connected to the Emulator
- When turning on power, turn on M32100T-EZ-E first and then the M3A-2154 Evaluation
Board.
- When turning off power, turn off the M3A-2154 Evaluation Board first and then M32100T -EZ-E
When turning on power again after turning off power, wait for 10 seconds.
- Power to M32100T-EZ-E can be fed from USB cable.
Note: Unless the Starter Kit is powered on this sequence, the kit may operate erratically or break down.
3.3 About M3T-CC32R
M3T-CC32R (M32R Family Cross Tool Kit) included with the Starter Kit is a trial version whose
useful period is limited.
This version becomes unusable four months after it is installed. Past this period, it cannot be used
even by reinstalling.
If you wish to continue using M3T-CC32R, please purchase a production version of M3T-CC32R
separately from distributors.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 5 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3.4 About M3T-PD32RM
The following describes precautions to be observed when using M3T-PD32RM.
3.4.1 Operating Manuals
To use M3T-PD32RM of M3A-2154G52B, see the manuals shown below.
- M3T-PD32RM release notes
- PD32RM Help
3.4.2 About Break Operation
M3T-PD 32RM uses the M32R core’s internal debug circuit (SDI) to realize break functions. For
this reason, the break functions of M3T-PD32RM behave differently from those in conventional
emulators.
Furthermore, because M3T-PD32RM does not have SDI trace pins as corresponding hardware
resources, the trace pin corresponding break functions available with M3T-PD32R-compatible
emulators are not supported.
The following explains the four types of breaks that can be executed with M3T-PD32RM.
(1) Software break
Up to 64 software breakpoints can be set and executed in RAM areas accessible by the target
MCU. No software breakpoints can be set and executed in ROM areas such as the internal flash
memory.
(2) Pre-execution PC break
The M32R core’s internal debug circuit (SDI) allows setting breakpoints, at which to break the
program immediately before executing an instruction (at the address indicated by the program
counter).
For the M3A-2154G52B (32185/32186/32192/32195/32196 Group MCU), four such breakpoints
can be set.
(3) Post-execution PC break
The M32R core’s internal debug circuit (SDI) allows setting one breakpoint, at which to break the
program immediately after executing an instruction (at the address indicated by the program
counter).
(4) Chip break
The M32R core’s internal debug circuit (SDI) allows setting breakpoints, at which to break the
program when accessing memory for read/write.
For M3A-2154G52B (32185/32186/32192/32195/32196 Group MCU), two such breakpoints (level
2) can be set.
* The differences between levels 1 and 2 are outlined below.
Level 1: Whether data which is maskable matches or not can be detected.
Level 2: Data is maskable and an address range can be specified for the target data.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 6 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
(5) About hardware break
Debug functions of M3T-PD32RM are realized by using the M32R core’s internal debug circuit
(SDI), and not by using the emulator’s hardware resources based on bus signals and debug
information from the MCU as in conventional emulators. The pre-execution PC break,
post-execution PC break, and chip break alluses this internal debug circuit (SDI).Because the
M3T-PD32RM does not have trace pin information available as hardware resources, the
hardware break functions cannot be used that use the trace pins implemented in the
M3T-PD32R-compatible emulators.
Heed this point when referring to the PD32RM Help.
3.4.3 About Security Code Check Function
If the target microcomputer has security code stored in it, the dialog box shown in Figure 3.1
appears at M3T-PD32RM startup. When this dialog box is displayed, enter the appropriate
security code. If the security code you’ve entered does not match the stored security code,
M3T-PD32RM will not start unless the contents of the internal flash memory are deleted.
Figure 3.1 Security Code Input Dialog Box
Be sure to enter the security code that you set when writin g to the flash memory.
Use the Format select button to choose the format of the security code you entered. Select the
Save check box, and the security code you entered is saved. From next time on, the security code
saved here is used to check matching with the stored security code when M3T-PD32RM starts.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 7 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3.5 About Evaluation Board
When the evaluation board does not start operation after supplied power, check the following
points.
3.5.1 Contact failure of IC Socket
Oscillation or thermal expansion may cause a poor connection between microcomputers and IC
socket on the Evaluation Board. Follow the steps below.
- Screw down the top cover of IC socket with setscrews at four corners.
The tightening torque shall be 0.054N.m.
Note that only one tight setscrew may cause a poor connection.
The socket included in the evaluation board uses NQPACK and HQPACK by TOKYO ELETECH
CORPORATION.
For more details, visit their website at http://www.tetc.co.jp/e_index.htm.
The following illustrates configuration of M3A-2154G02A (32185/32186/32192/32195/32196
Group Evaluation Board).
Figure 3.2 Configuration of M3A-2154G02A
IC socket (HQPACK)
Setscrews on cover
of IC socket
32185/32186/32192/32195/32196 Group evaluation board M3A-2154G02A
3.5.2 Cable Connection
- Make sure the cables are connecte d to the evaluation board firmly.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 8 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
4. Starter Kit Usage Conditions
The following shows the conditions under which the Starter Kit can be used.
4.1 Ambient Conditions
Table 4.1 shows the amb ient cond itions under which the Starter Kit can be used.
Table 4.1 Operating Environment
Symbol Parameter Rated value Remarks
Topr Operating ambient temperature 5oC to 35oC
Tstr Storage ambient temperature 0oC to 60oC
4.2 Host PC Condition
It is recommended that each software included with the Starter Kit be run on the host PC under
the OS listed in T able 4.2.
Table 4.2 Host PC Conditions
Starter Kit Type Name M3A-2154G52B
Host PC IBM PC/AT compatibles
CPU Pentium III 500MHz or higher CPU is recommended
Memory 192 Mbytes or more system memory is recommended
OS Windows 98, Me, 2000, XP
USB Port 1 port (required)
No dewdrops allowed. Corrosive
gas environment not allowed.
4.3 Conditions for the Power Supply Used
Table 4.3 shows Power Su pply Specifications required when using the Starter Kit.
Table 4.3 Power Supply Specifications
Symbol Power supply voltage Power supply current
VCC 4.75 V to 5.25 V 1A
GND 0V (reference voltage) —
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 9 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
5. Hardware Setup
This chapter describes how to set up the hardware components necessary to use the Starter Kit.
Table 5.1 an d Table 5.2 show how to set up the hardware components.
Table 5.1 Hardware Setup Procedure
Setup Procedure When connected to the emulator
Set the emulator 1st (Refer to 5.1.1) —
Connect the host PC and emulator 2nd (Refer to 5.1.1) —
Set the evaluation board 3rd (Refer to 5.1.2) 1st (Refer to 5.3.1)
Connect the evaluation board and
emulator
4th (Refer to 5.1.3) —
Turn on the emulator 5th (Refer to 5.1.4) —
Turn on the evalution board 6th (Refer to 5.1.4) 2nd (Refer to 5.3.2)
Table 5.2 Hardware Power Off Procedure
Setup Procedure When connected to the emulator
Turn off the evaluation board. 1st (Refer to 5.1.4) 1st (Refer to 5.3.2)
Turn off the emulator. 2nd (Refer to 5.1.4) —
When using the evaluation
board by itself
When using the evaluation
board by itself
5.1 M3A-2154 Evaluation Board Hardware Setup
5.1.1 M32100T-EZ-E Power Supply and Settings
The following shows how to set M32100T-EZ-E.
For more details, refer to M32100T-EZ-E User’s Manual.
M32100T-EZ-E is supplied power from the host PC via USB cable, and it turns ON by connecting
included USB cable.
The Connecting M32100T-EZ-E and Host PC is shown in Figure 5.1
Figure 5.1 Connecting M32100T-EZ-E and Host PC
USB I/F
M32100T-EZ-E
USB cable
Connect to the host
PC’s USB port
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 10 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
5.1.2 M3A-2154 Evaluation Board Power Supply and Setting
The following shows how to set the M3A-2154 Evaluation Board.
Use a 5V DC power supply to feed power to the M3A-2154 Evaluation Board.
Use included 5V power supply cable to connect the 5V DC power supply and CN2 connector
included with the M3A-2154 Evaluation Board.
The Connecting when Feeding Power to the M3A-2154 Evaluation Board is shown in Figure 5.2.
Figure 5.2 Connecting when Feeding Power to the M3A-2154 Evaluation Board
M3A-2154 evaluation board
CN2
4.75-5.25V DC power supply
5.1.3 Connecting M3A-2154 Evaluation Board and M32100T-EZ-E
Use an included 10-pin flat cable to connect M32100T-EZ-E and XCN1 connector included with
the M3A-2154 Evaluation Board.
The Connecting M3A-2154 Evaluation Board and M32100T-EZ-E is shown in Figure 5.3.
M32100T-EZ-E
Figure 5.3 Connecting M3A-2154 Evaluation Board and M32100T-EZ-E
SDI I/F
10-pin flat cable
XCN1
M3A-2154 evaluation board
5.1.4 Power Supply when Connecting M32100T-EZ-E
- When turning on power, turn on M32100T-EZ-E first and then the M3A-2154 Evaluation
Board.
- When turning off power, turn off the M3A-2154 Evaluation Board first and then
M32100T-EZ-E.
When turning on power again after turning off power, wait for 10 seconds.
- Power to M32100T-EZ-E can be fed from USB cable.
Note: Unless the Starter Kit is powered on this sequence, the kit may operate erratically or break down.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 11 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
5.2 Hardware Setup when the Evaluation Board by Itself in Use
5.2.1 M3A-2154 Evaluation Board Power Supply and Settings
The following shows how to set the M3A-2154 Evaluation Board.
Use a 5V DC power supply to feed power to the M3A-2154 Evaluation Board.
Use an included 5V power supply cable to connect the 5V DC power supply and CN2 connector
included with the M3A-2154 Evaluation Board.
The Connecting when Feeding Power to the M3A-2154 Evaluation Boar d is shown in Figure 5.4
Figure 5.4 Connecting when Feeding Power to the M3A-2154 Evaluation Board
M3A-2154 evaluation board
CN2
4.75-5.25V DC power supply
5.2.2 M3A-2154 Power Supply
Connecting the 5V power supply with the included cable turns the M3A-2154 Evaluation Board
powered on.
By disconnecting it, the M3A-2154 Evaluation Board turns powered off.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 12 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
6. Software Setup
6.1 M3T-PD32RM
M3T-PD32RM is the debugger software that controls M32100T-EZ-E from the host PC.
6.1.1 Installing M3T-PD32RM
[Notes]
Make sure that the installer is executed by one who is authorized as an Administrator when
Windows 2000/XP is used as an operating system of the host machine.
No one but the user who has the authority of an Administrator can install M3T-PD32RM.
(1) Run pd32rmv301r00_e.exe that is included in the Eng \ Tool \ Pd32rm directory of the CD-ROM.
(2) Proceed to install M3T-PD32RM following messages on the installation screen.
(3) When you finished installing M3T-PD32RM, the dialog box shown in Figure 6.1 appears.
Figure 6.1 Dialog Box when Installation is Finished
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 13 of 79
32185/32186/32192/32195/32196 Group
p
Starter Kit User’s Manual M3A-2154G52B
6.1.2 Starting M3T-PD32RM
Before starting M3T-PD32RM, make sure the hardware components have been set up in
accordance with the instructions in 5.1 M3A-2154 Evaluation Board Hardware Setup, and that
the Starter Kit hardware system (M3A-2154 Evaluation Board and M32100T-EZ-E) have been
powered on. Make sure that M3T-PD32RM cannot be started unless the power to the hardware
system is turned on.
To start M3T-PD32RM, choose
[Start] -> [Programs] -> [Renesas] -> [PD32RM V3.01 Release 00] -> [PD32RM]
from Start menu of Windows. When M3T-PD32RM starts, the initialize dialog box shown in
Figure 6.2 appears. So initialize M3T-PD32RM from this dialog box.
Figure 6.2 M3T-PD32RM Initialize Dialog Box
Setting MCU File
Click the MCU tab in the initialize dialog box (see Figure 6.2) and then the “Refer” button. This
brings up a dialog box for setting MCU files. In this dialog box, select the MCU file described
below.
This MCU file is stored in directory: (installed location) \ PD32RM \ M CUFILES.
Setting Model
While the MCU tab is open, select the appropriate MCU typ e from Model selection.
Setting Mode
While the MCU tab is open, select the appropriate MCU operation mode from Mode selection.
CancelHel
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 14 of 79
32185/32186/32192/32195/32196 Group
p
Starter Kit User’s Manual M3A-2154G52B
Setting CPU Clock
Case of using 32192 or 32195 or 32196 Group, while the MCU tab is open, select the “160” for the
appropriate CPU Clock.
Case of using 32185 or 32186 Group, while the MCU tab is open, select the “80” for the
appropriate CPU Clock.
Checking Serial No.
While the MCU tab is open, make sure the Serial No. is in accordance with the following.
M3T-PD32RM can be started only with Serial No. as follows:
Table 6.2 Serial No.
MCU group
name
32185
32186
32192
32195
32196
Note 1: The number in parenthesis after 7 digits serial number shows MCU Group name with activation of M3T-PD32RM.
7-digit serial number
7-digit serial number (32185) (Note 1)
7-digit serial number
7-digit serial number (32186) (Note 1)
7-digit serial number
7-digit serial number (32192) (Note 1)
7-digit serial number
7-digit serial number (32195) (Note 1)
7-digit serial number
7-digit serial number (32196) (Note 1)
Serial No. for using M3T-PD32RM Example of serial No.
- 5AE0670
- 5AE0670 (32185)
- 5AE0670
- 5AE0670 (32186)
- 5AE0670
- 5AE0670 (32192)
- 5AE0670
- 5AE0670 (32195)
- 5AE0670
- 5AE0670 (32196)
Selecting a Cross Tool
While the Debugging Information tab is open, select “CC32R(M32R)” for Compiler.
For the Starter Kit, M3T-CC32R is the only cross tool which has had its operation guaranteed.
Hel
Figure 6.3 Selecting a Cross Tool
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 15 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
When you have finished the above initialization, click the “OK” button to start M3T-PD32RM.
If M3T-PD32RM communicates normally with the target system, it starts up and the
M3T-PD32RM window shown in Figure 6.4 appears. For details on how to use it, refer to the
PD32RM Help.
Figure 6.4 M3T-PD32RM Window at Normal Startup
6.1.3 Error Messages During M3T-PD32RM Startup
If M3T-PD32RM cannot communicate normally with the target system, it appears an error
message in a pop-up box.
Causes of Errors on the M3A-2154 Evaluation Board
If the error pop-up box shown in Figure 6.5 appears when starting M3T-PD32RM, check whether
power is supplied to the M3A-2154 Evaluation Board and whether it is firmly connected to
M32100T-EZ-E.
ERROR11473: Target MCU is not under control.
Please reset target systems.
Figure 6.5 Error Message at Startup (Error on the M3A-2154 Evaluation Board Side)
If the error pop-up box is appeared when starting M3T-PD32RM, correct the cause of error and
then click the “OK” button in that pop-up box. This brings up the initialize window, allowing you
to retry the startup. In this case, you can retry only once.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 16 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
6.1.4 Terminating M3T-PD32RM
To terminate M3T-PD32RM, choose [File] -> [Exit] from the pulldown menu. Then, a dialog box
appears prompting you for your confirmation (see Figure 6.6). Click the “OK” button in that
dialog box to quit M3T-PD32RM. Or click the “Cancel” button, in which case M3T-PD32RM does
not terminate.
Cancel
Figure 6.6 Dialog Box for Confirming Whether to Quit M3T-PD32RM
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 17 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
6.2 M3T-CC32R
6.2.1 Installing M3T-CC32R
(1) Run cc32rv500r00_e.exe that is included in the Eng \ Tool \ Cc32r directory of the CD-ROM.
(2) Proceed to install M3T-CC32R following messages on the installation screen.
(3) When you are asked to select the license type of M3T-CC32R, select “Trial License”.
(4) While installing M3T-CC32R, you will be asked to confirm whether to change AUTOEXEC.BAT
variables. If you chose “Not to Change”, add the following contents to AUTOEXEC.BAT.
(Setting example for M3T-CC32R environment variables)
REM *********** Environment variables for CC32R ****************
SET M32RBIN = (installed directory) ¥bin32R
SET M32RLIB = (installed directory) ¥lib32R
SET M32RINC = (installed directory) ¥inc32R
SET M32RTMP = (installed directory) ¥TMP
SET PATH=%M32RBIN%;%PATH%
(5) If you corrected AUTOEXEC.BAT, be sure to restart your computer after you finished installing
M3T-CC32R.
6.2.2 Verifying Whether M3T-CC32R is Installed Normally
Execute the following operation from the DOS prompt. This helps to verify whether M3T-CC32R
has been installed normally. For details about M3T-CC32R, refer to the CC32R User’s Manual.
- Command
C: \ >cc32r -V (V in uppercase)
- Result
If M3T-CC32R has been installed normally, a command version of M3T-CC32R like the one
shown below is displayed.
CC32R Compiler for M32R Family V.X
Copyright 1995-XXXX
AND RENESAS SOLUTIONS CORPORATION
ALL RIGHTS RESERVED.
(X
varies with the version of the Cross Tool Kit included in the package.)
Displayed below this is the version information of each tool i ncluded in the Cross Tool Kit.
RENESAS TECHNOLOGY CORPORATION
.XX Release X
- If M3T-CC32R does not start
If M3T-CC32R does not start, check the following.
1) See if the environmental variables (M32RBIN, M32LIB, M32RINC, M32RTMP command
paths) are set correctly.
2) See if cc32r.exe is correctly expan ded in the directory specified in M32RBIN.
6.3 Browsing Electronic Manuals
The Starter Kit manuals each are provided as Portable Document Format (PDF) files.
To browse electronic manuals, you need to have Acrobat Reader. The CD-ROM supplied with the
Starter Kit contains Acrobat Reader in its Acrobat directory, so install the desired version of
Acrobat Reader from the CD-ROM. Acrobat Reader can also be downloaded from the Adobe Systems
home page.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 18 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
Appendix 1 Contents of CD-ROM
1. Contents of CD-ROM
The CD-ROM contains the software, manuals, various data sheets, and sample programs which are
needed for you to use the Starter Kit.
When using the technical contents of the CD-ROM such as product data, diagrams, and tables or the
programs and algorithms also included in the CD-ROM for your application, please be sure to
evaluate those technical contents, programs, and algorithms as the whole system, and not
individually as single items before you determine whether they are useful. Renesas Technology
Corporation will not assume any responsibility regarding the ir suita bility for your application.
The following shows directory configurations and contents of the CD-ROM.
Jpn/ Eng + Readme_j.txt/ Readme_e.txt : README file
+ AcrobatReader : Tool for read pdf file
+ Tool + : Software for the M32R Family
| + Cc32r : Cross Tool Kit for the M32R Family (Trial version)
| + Pd32rm : Debugger for the M32R Family
| + Kd32r : Debugger for the M32R Family
| + Ufla32r : Flash memory reprogramming kit for M32R/ECU by UART
| + Oldversion : Old version of Tools
|
+ Document + : Materials associated with boards
| + M3A-2114 : Materials associated with the 32170/32174/32171/32172/32173
| Evaluation board (M3A-2114)
| + M3A-2142 : Materials associated with the 32180/32182 Evaluation board
| (M3A-2142)
| + M3A-2152 : Materials associated with the 32176 Evaluation board
| (M3A-2152)
| + M3A-2154 : Materials associated with the 32185/32186/32192/32195/32196
| Evaluation board (M3A-2154)
| + M3A-2191 : Connector Pitch Converter for M3A-2114 Evaluation board
| and M32100T-EZ-E
| + M32100T-EZ-E : Materials associated with the Emulator for M32R
| + M3A-2145 : Manual for Flash memory reprogramming kit (Ufla32r)
| + Discontinued_model : Materials associated with the discontinued boards (M3A-2195)
|
+ Manual : M32R/ECU manuals, data sheets, M32R Family
| software manuals
+ SampleProgram : Application notes and listed object/source files
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 19 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1.1 Acrobat
The CD-ROM contains files necessary to read manuals (PDF files). The documents included in the
CD-ROM have been verified to be displayed and printed using the following versions of Acrobat. If
you have trouble displaying or printing documents with other Acrobat versions, install the
appropriate Acrobat version from the CD-ROM into your computer.
M3T-PD32RM (Debugger for M32100T-EZ-E) is included. This debugger software
(Windows-compliant version) is used to control the microcomputer on the evaluation board from
the host PC by connecting M32100T-EZ-E and the host PC with USB cable.
Its directory structure is shown below.
M3S-KD32R (Debugger for the Starter Kit) is included. This debugger software (Windows
-compliant version) is used to control the microcomputer on the evaluation board from the host
PC by connecting it and the host PC with LPT parallel cable through the M3A-2195 (SDI
Interface Board). Its directory structure is shown below.
M3S-UFLA32R is included. M3S-UFLA32R is the software to program into internal flash
memory on M32R/ECU series 3217x,3218x Group microcomputers from Windows version
personal computer(PC/AT), by using UART communication. Its directory structure is shown
below.
Jpn+Tool+Ufla32r+
+ UFLA32Ruj.pdf : M3S-UFLA32R user’ s manual
+ W95J : Setup programs for M3S-UFLA32R
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 22 of 79
(5) Oldversion
Old versions of tools are included.
Its directory structure is shown below.
(English version)
Eng+Tool+Oldversion+
+ Cc32rv3 : Objects for M3T-CC32R Version 3
+ Cc32rv41 : Objects for M3T-CC32R Version 4.1
+ Cc32rv42 : Objects for M3T-CC32R Version 4.2
+ Cc32rv43 : Objects for M3T-CC32R Version 4.3
+ Pd32rmv2 : Objects for M3T-PD32RM Version 2
+ Pd32rmv21 : Objects for M3T-PD32RM Version 2.1
+ Pd32rmv3 : Objects for M3T-PD32RM Version 3
+ Kd32rv3 : Objects for M3S-KD32R Version 3
(Japanese version)
Jpn+Tool+Oldversion+
+ Cc32rv3 : Objects for M3T-CC32R Version 3
+ Cc32rv41 : Objects for M3T-CC32R Version 4.1
+ Cc32rv42 : Objects for M3T-CC32R Version 4.2
+ Cc32rv43 : Objects for M3T-CC32R Version 4.3
+ Pd32rmv2 : Objects for M3T-PD32RM Version 2
+ Pd32rmv21 : Objects for M3T-PD32RM Version 2.1
+ Pd32rmv3 : Objects for M3T-PD32RM Version 3
+ Kd32rv3
+ Ufla32rv13
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
: Objects for M3S-KD32R Version 3
: Objects for M3S-UFLA32R Version 1.3
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 23 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1.3 Manual
The M32R Family related manuals and data sheets are included in PDF file format.
+ j32170um.pdf : 32170/32174 Group user’s manual
+ j32171um.pdf : 32171 Group user’s manual
+ j32172um.pdf : 32172/32173 Group user’s manual
+ j32180um.pdf : 32180 Group user’s manual
+ rjj09b0001_32176um.pdf : 32176 Group user’s manual
+ rjj09b0053_32182um.pdf : 32182 Group user’s manual
+ rjj09b0099_32192hm.pdf : 32192/32195/32196 Group hardware manual
+ rjj09b0246-0100_32186hm.pdf : 32186 Group hardware manual
+ 32470210j.pdf : Errata table for 32182 Group user’s manual
+ 32580401j.pdf : Err at a t a b l e f o r 3 2 170/32174 Group user’s manual
+ 32590401j.pdf : Errata table for 32171 Group user’s manual
+ 32630402j.pdf : Errata table for 32180 Group user’s manual
+ 32680404j.pdf : Err at a t a b l e f o r 3 2 172/32173 Group user’s manual
+ tn32ra074aj.pdf : Errata table for 32186 Group user’s manual
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 24 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1.4 Board Related Manual (Document)
The product standards, part list, connection diagrams and user’s manuals for the evaluation board
in Starter Kit are included in PDF file format.
(1) M3A-2114 Evaluation Board related documents
The related documents for the 32170/32171/32172/32173/32174 Group Evaluation Board are
included in PDF file format.
(11) M3A-2142G04 Board related documents (Discontinued)
The related documents for the MCU pin processing Boar d are included in PDF file format.
(English version)
Eng+Document+Discontinued_model+M3A-2142G04+
+ Readme_e.txt : README file
+ 2142g04sk_e.pdf : M3A-2142G04 product standards
+ cdrom_e.pdf : Content list of CD-ROM
(Japanese version)
Jpn+Document+Discontinued_model+M3A-2142G04+
+ Readme_j.txt : README file
+ 2142g04sk_j.pdf : M3A-21 42G04 product standards
+ cdrom_j.pdf : Content list of CD-ROM
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 29 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1.5 Sample Program
The application notes, the object and source files of sample programs for the M32R/ECU’s
peripheral functions to be written into the M32R/ECU’s internal flash memory that can be used on
the Evaluation Board for Starter kit, are included i n the CD-ROM
(English version)
Eng+SampleProgram+
+ 32170_32171 : 32170/32171 Group application notes and sample programs
+ 32172_32173 : 32172/32173 Group application notes and sample programs
+ 32176 : 32176 Group application notes and sample programs
+ 32180_32182 : 32180/32182 Group application notes and sample programs
+ 32185_32186 : 32185/32186 Group application notes and sample programs
+ 32192_32195_32196 : 32192/32195/32196 Group application notes and
sample programs
(Japanese version)
Jpn+SampleProgram+
+ Readme.html : README file
+ 32170_32171 : 32170/32171 Group application notes and sample programs
+ 32172_32173 : 32172/32173 Group application notes and sample programs
+ 32176 : 32176 Group application notes and sample programs
+ 32180_32182 : 32180/32182 Group application notes and sample programs
+ 32185_32186 : 32185/32186 Group application notes and sample programs
+ 32192_32195_32196 : 32192/32195/32196 Group application notes and
sample programs
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 30 of 79
Appendix 2 Part List
A part list is pro vided in following pages for your reference.
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 31 of 79
REJ10B0223-0140/Rev.1.40Jan. 2007Page 32 of 79
Division in charge
Required
M3A-2154G52B
Remarks
Supply
Classification
Unit
Q’ty per
Direction
Mounting
PLL-M3A-2154G52B ( 1 / 1 )
Title
No.
Classification
PPL-M3A-2154G52B
Part Name Part Specification
Part List
Manufacturer Name
Specification)
Part Type Name
(Drawing No.,Product
PLL-M3A-2154G02A M3A-2154G02A 1
Description Part No.
1
1
1
1
Special note:
M32R/ECU#6HL
Evaluation board
IMPORTANT-READ ME
FIRST
IMPORTANT-READ ME
FIRST (Japanese)
Starter kit M3A-2154G52A
release note
Starter kit M3A-2154G52A
release note (Japanese)
6
*
Handling
Created Revision
Checked
Item No.
1
2 CD-ROM 1
3
4
5
(2) If two or more part type names are written for one part, the upper row has priority.
(3) The asterisk (*) in the item No. column denotes that the rest is blank.
Special note:
(1) Blank columns denote the same content as the upper row.
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
Appendix 3 M3A-2154G02A Product Standards
This manual describes how to operate the M3A-2154G02A (32185/32186/32192/32195/32196 Group
Evaluation Board)
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 33 of 79
1. Overview
1.1 Outline of the Product
Table 1.1 Mounted Microcomputer Type
Mounted microcomputer type name Evaluation board type name (socket mounted type)
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
M32192F8VFP Default
M3A-2154G02A
M32186F8VFP (Note1)
Note1: Using M32186F8VFP, setting of oscillator circuit should be changed. For details, refer to chapter 2.5 Oscillator
circuit.
Table 1.2 Specification of Product
Operation mode Single-chip mode, Processor mode and External extension mode
Board extension Can be extended using the board’s extension connector
CAN I/F Comes standard with a 2-channel CAN connector, CAN cable included
RS-232C I/F Comes standard with a connector
Serial port One of four channels can be selected using a rotary switch
Analog port
Inputs on two channels can be controlled using variable resistor (VR)
controls
Display I/O Comes with a single-port LED
Input I/O Comes with a single-port toggle switch
VR controls
Power supply connector
LED indicator
(port output)
LED indicator
(power-on)
CAN connector
External
extension
connector
JTAG connector
NBD connector
Reset key
RS-232C connector
Toggle switch
(port input)
Rotary switch
(selects a serial I/O channel)
Figure 1.1 Photograph of the M3A-2154G02A
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 34 of 79
1.2 External View
An external view of the M3A-2154G02A is shown below.
Figure 1.2 External View of the M3A-2154G02A
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 35 of 79
1.3 Block Diagram
A block dia gram of the M3A-2154G02A is shown below.
RS-232C
cable
RS-232C
connector
CAN
connector
VCCE
power supply
connector
Figure 1.3 Block Diagram of the M3A-2154G02A
10MHz
20MHz
Host PC
(Windows)
Serial I/O
Channel select
RS-232C
driver
CAN
driver
Oscillator
circuit
8
8
4
32185/32186/32192/
32195/32196 group MCUs
Port
SIO
Port11
CAN
VCCE
VCC-BUS
VCC-BUS
/VDDE
VDDE
/VCCER
VCCER
/AVCC
AVCC
/VREF0
VREF0
XIN
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
Extension board
(JTAG, MCU control and
144
Extension connector
144
(JTAG,MCU control
and other pins excluded)
FP
MOD0/
MOD1
8
Port13
JTAG
NBD I/F
RESET
2
AD
other pins excluded)
2
FP
select
MOD
select
5
8
Reset
circuit
JTAG
connector
NBD I/F
connector
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 36 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
1.4 Specifications of the Evaluation Board
1.4.1 Electrical Characteristics
Table 1.3 Electrical Characteristics
Symbol Parameter Rated Value
VCCE,VCC-BUS Power supply voltage 4.75 V to 5.25 V
Tstr Storage ambient temperature 0°C to 60°C
Topr Operating ambient temperature 5°C to 35°C
Note: Operating conditions require that no dewdrops and corrosive gas be present.
1.4.2 Functional Characteristics
Table 1.4 Functional Characteristics
Item M3A-2154G02A
Group MCU name 32185 32186 32192 32195 32196
CPU
Clock input 10MHz 20MHz
CPU clock 80MHz 160MHz
Memory
RS-232C interface
JTAG interface Comes standard with a 10-pin JTAG connector for Renesas SDI (XCN1)
NBD interface Comes standard with a 14-pin NBD connector (CN4)
CAN interface
Power
supply
General-purpose output LED indicators (L0–L7), CPU ports (P110–P117)
General-purpose input Toggle switches (S0–S7), CPU ports (P130–P137)
Reset
Serial I/O Rotary switch (SW2), which selects one of four serial I/O channels
Comes standard with a 9-pin Dsub connector (CN5) for serial
communication with the host PC (Windows)
Comes standard with a 2-channel connector for CAN communication (CN3),
a CAN-to-Dsub connector (9-pin) conversion cord included
VCCE Power supply, Connector (CN2)
VCC-BUS Power supply for bus control pin, Connector (CN1)
LED Illuminates in red when powered on (LED1)
Reset switch (SW1), reset input (red pushbutton)
*Please be careful to configure a reset circuit according to your
system.
VR controls (VOL0, VOL1)
Connects these VR controls with AD0IN0 and AD0IN1 to use them to
control inputs on ports
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 37 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2. Functional Specifications
2.1 Configuration of the Power Supply
The power to the M32R/ECU can be supplied from two sources, VCC-BUS and VCCE,
independently of each other. With default settings, the power to the M32R/ECU is fed through the
VCCE power supply connector to all of its internal circuits.
CN1
S2B-XH-A
1
VCC
2
GND
CN2
S2B-XH-A
1
VCC
2
GND
* CONx : Connector
* Jx : Jumper
* TXx : Test pin
* Ux : IC
J3
3
2
1
TX2
TX1
1 2
J4
U3
LT1086CM-3.3
5V 3.3V
1 2
J5
1 2
J7
J6
Note: CN1, TX1 and U3 are not mounted but they only have patterns available.
Figure 2.1 Power Supply Circuit
VCC-BUS power supply
VCCE power supply
VCCER power supply
AVCC0 power supply
1 2
VREF0 power supply
VDDE power supply
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 38 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
Table 2.1 Configuration of the Power Supply
Connector
Power
Supply
Name Condition
CN1 VCC-BUS J3
between 1–2
between 2–3
Jumper
Shorted
Shorted
Description
Default Power supply from VCCE (CN2)
Power supply from VCC-BUS (CN1)
CN2 VCCE — — — VCCE power supply
— VCCER J4
— AVCC0 J5
— VREF0 J6
— VDDE J7
Note1: Case of opened between 1-2, power supply from VCCE is stopped.
Case that 3.3 V power supply is inputted to VCCER by using 3.3 V generated circuit on board, the following items
should be prepared by the user.
- U3: regulator
- D1,D2: diode
- C4,C5: capacitor
Note: The J3, J4, J5, J6 and J7 jumpers are shorted by pattern wiring on the reverse side of printed Circuit board.
Case of setting the condition except for default, setting the jumper is required after cutting the pattern for default
condition by referring to the chapter 3.8 Setting jumper by cutting pattern.
Shorted
between 1–2
Shorted
between 1–2
Shorted
between 1–2
Shorted
between 1–2
Default
(Note1)
Power supply from VCCE
Default Power supply from VCCE
Default Power supply from AVCC0
Default Power supply from VCCE
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 39 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.2 FP Select Circuit
The FP select circuit is used for reprogramming the internal flash memory of the M32R/ECU.
This circuit is configured in such a way that FP is switched from the EXTFP signal of extension
connector (CON2) by using a jumper (J10).
VCCE
CON2
FX1-144S-1.27DS
EXTFP
2
Note: TX14 is not mounted but it only has one pattern available.
J10
TX14
1
3
Figure 2.2 FP Select Circuit
Table 2.2 FP Select Circuit (Jumper)
Name Condition Description
J10
Shorted
between 1–2
Shorted
between 2–3
Default Enables reprogramming the mounted M32R/ECU’s internal flash
Disables reprogramming the mounted M32R/ECU’s internal flash
Open Unusable
Note: The J10 jumper is shorted by pattern wiring on the reverse side of printed circuit board.
Case of setting the condition except for default, setting the jumper is required after cutting the pattern
for default condition by referring to the chapter
3.8 Setting jumper by cutting pattern.
U1
M32R/ECU
FP
* CONx : Connector
* Jx : Jumper
* TXx : Test pin
* Ux : IC
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 40 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.3 MOD Select Circuit
This circuit is used to set operation modes of the M32R/ECU. The MOD0 power supply is
configured in such a way that MOD0 is switched from the EXTMOD0 signal of extension connector
(CON2) by using a jumper (J8).
The MOD1 power supply defaults to 0 V. The MOD2 power supply is fixed to 0 V.
CON2
FX1-144S-1.27DS
EXTMOD0
Note: TX6 is not mounted but it only has one pattern available.
VCCE
VCCE
U1
TX6
J8
3
2
1
J2
3
2
1
M32R/ECU
MOD0
MOD1
MOD2
Figure 2.3 MOD Select Circuit
Table 2.3 Operation Mode Settings
MOD0 MOD1 MOD2Description
0 0 0
• When flash reprogramming is disabled: Single-chip mode
• When flash reprogramming is enabled: Flash rewrite + single-chip mode
* CONx : Connector
* Jx : Jumper
* TXx : Test pin
* Ux : IC
• When flash reprogramming is disabled: Processor mode
1 0 0
• When flash reprogramming is enabled: Flash rewrite from boot ROM +
single-chip mode
MOD0 is controled by EXTMOD0 or is set to 0 unless it is
controled by EXTMOD0
Note: The J2 and J8 jumpers are shorted by pattern wiring on the reverse side of printed circuit board.
Case of setting the condition except for default, setting the jumper is required after cutting the pattern
for default condition by referring to the chapter
3.8 Setting jumper by cutting
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 41 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.4 Serial I/O Interface
The evaluation board is interfaced to the host PC (Windows) through its RS-232C by using SIO of
the M32R/ECU. Of the RS-232C control signals, only TXD and RXD are used for connection to the
host PC (Windows). The unused CTS and RTS are directly-coupled to configure a loop-back. The
unused DSR and DTR also are configured in a similar manner.
The serial I/O interface is configured in such a way that only one serial I/O channel can be used at a
time.
Any of the four channels 0–3 can be selected using a rotary switch.
Note: The jumpers J15, J18, J19 and J20 are shorted by jumper parts.
Default Connects P83/RXD0/TO25 to the extension connector (CON2)
Uses the RXD0 function in RS-232C
Default Connects P86/RXD1/TO22 to the extension connector (CON2)
Uses the RXD1 function in RS-232C
Default Connects P175/RXD2/TO27 to the extension connector (CON2)
Uses the RXD2 function in RS-232C
Default
Connects P75/RTDRXD/RXD3/NBDD1 to the extension connector
(CON1)
Uses the RXD3 function in RS-232C
Table 2.7 RS-232C Connector Pin Assignments
Connector
Name
Pin No Signal Name Description
1 DCD Unused
2 RXD Received data
3 TXD Transmitted data
4 DTR Connects to the DSR pin
CN5
5 SG Ground
6 DSR Connects to the DTR pin
7 RTS Connects to the CTS pin
8 CTS Connects to the RTS pin
9 RI Unused
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 43 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.5 Oscillator Circuit
The oscillator circuit can be selected from three options by using the jumper J1: a surface
mount-type 20 MHz crystal oscillator module, a surface mount-type 10 MHz crystal oscillator
module or a crystal resonator. By default, the surface mount-type 20 MHz crystal oscillator module
is selected.
Note: The shaded sections in the above diagram have only patterns available. When using the resonator Y1, please be
sure to add capacitors (C1, C2) and a resistor (R2, R4).
Table 2.8 Oscillator Circuit Connections (Jumper)
Name Condition Description
J1
Shorted
between 1–4
Shorted
between 2–4
Default Outputs a clock from X1 (surface mount-type oscillator module)
(Note1) Outputs a clock from X2 (surface mount-type oscillator module)
Shorted
between 3–4
Note1: Using M32186F8VFP, the J1 jumper should be shorted between 2-4.
X1
OUT
1
X2
OUT
J1
2
4
3
R2
R4
Y1
C1
C2
Outputs a clock from Y1 (resonator)
U1
M32R/ECU
XIN
XOUT
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 44 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.6 General-purpose Output Port LED Indicators
The LED indicators (L0–L7) are used to indicate t h e status o f the M32R/ECU ports P110–P117.
VCCE
U1
M32R/ECU
P110
P111
P112
P113
P114
P115
P116
P117
CON1
FX1-144S-1.27DS
P110
P111
P112
P113
P114
P115
P116
P117
U6
TC74HC540AF
L0
L1
L2
L3
L4
L5
L6
L7
* CONx : Connector
* Lx : LED
* Ux : IC
Figure 2.6 LED Indicator Block for the General-purpose Output Ports
Table 2.9 LED Indicators of General-purpose Output Ports
LED Name
Corresponding
M32R/ECU Port
ON Condition Color
L0 P110 High Red
L1 P111 High Red
L2 P112 High Red
L3 P113 High Red
L4 P114 High Red
L5 P115 High Red
L6 P116 High Red
L7 P117 High Red
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 45 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.7 General-purpose Input Port Control Circuit
The general-purpose input port control circuit is used to control the status of the M32R/ECU ports
P130–P137 by using toggle switches (S0–S7). For the settings of jumpers J16 and J17, see the
Section 2.9 CAN Interface.
Figure 2.7 General-purpose Input Port Control Circuit
U5
PCA82C250T
RXD
TXD
CON1
FX1-144S-1.27DS
P136
P137
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 46 of 79
Table 2.10 Relationship Between
Toggle Switches and Ports Table 2.11 Toggle Switch Positions
Toggle Switch Name
Corresponding
M32R/ECU Port
S0 P130 Up High
S1 P131 Middle Open
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
Lever Direction Port Input Level
S2 P132
Down Low
S3 P133
S4 P134
S5 P135
S6 P136
S7 P137
Lever direction
UpMiddle
Port input levelHOpenL
Down
Figure 2.8 Toggle Switch Positions
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 47 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.8 Analog Port Input Control Circuit
The analog port input control circuit is used to control the status of the M32R/ECU analog ports
AD0IN0 and AD0IN1 by using VR controls VOL0 and VOL1.
U1
M32R/ECU
AD0IN0
AD0IN1
CON1
FX1-144-1.27DS
AD0IN0
J12
J13
2 1
2 1
VCCE
VOL0
VCCE
VOL1
AD0IN1
* CONx : Connector
* Jx : Jumper
* Ux : IC
* VOLx : VR control
Figure 2.9 Analog Port Input Control Circuit
Table 2.12 Analog Port Input Control (Jumper)
Name Condition Description
J12
J13
Shorted
between 1–2
Open
between 1–2
Shorted
between 1–2
Open
between 1–2
Default Uses VR control (VOL0)
Does not use VR control (VOL0)
Default Uses VR control (VOL1)
Does not use VR control (VOL1)
Note: The J12 and J13 jumpers are shorted by pattern wiring on the reverse side of printed circuit board.
Case of setting the condition except for default, setting the jumper is required after cutting the pattern
for default condition by referring to the chapter
3.8 Setting jumper by cutting pattern.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 48 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.9 CAN Interface
The evaluation board is interfaced to a CAN-mounted system by using the internal CAN functions
of the M32R/ECU.
Note: TX7, TX8, TX9, TX10, TX11, TX12, TX13 and TX15 are not mounted but they only have patterns available.
Figure 2.10 Interface with a CAN-mounted System
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 49 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
Table 2.13 CAN Connector Pin Assignments
Connector
Name
Pin No Signal Name Description
1 CANH1 High-level CAN0 input/output port
2 CANL1 Low-level CAN0 input/output port
3 CANH2 High-level CAN1 input/output port
4 CANL2 Low-level CAN1 input/output port
CN3
5 GND Ground
6 — Unused
7 GND Ground
8 — Unused
(1) How to connect the CAN connector
The jumpers J14, J16 and J17 allow selecting the destinations to which the CAN communication
pins (CTX, CRX) are connected.
Table 2.14 Jumper Usage Conditions (J14, J16 and J17)
Name Condition Description
Shorted
J14
between 1–2
Shorted
between 2–3
Shorted
J16
between 1–2
Shorted
between 2–3
Shorted
J17
between 1–2
Shorted
between 2–3
Note: The jumpers J14, J16 and J17 are shorted by jumper parts.
Default Connects P221/CRX0/HREQ to the extension connector (CON1)
Uses the CRX0 function in CAN connector CN3
Default Connects P137/TIN23/CTX1 to the extension connector (CON1)
Uses the CTX1 function in CAN connector CN3
Default Connects P136/TIN22/CRX1 to the extension connector (CON1)
Uses the CRX1 function in CAN connector CN3
(2) How to select the terminating resistor connection
The jumpers J9 and J11 allow the terminating resistors to be used in the CAN transmission path.
Table 2.15 Selecting the Terminating Resistor Connection (J9, J11)
Name Condition Description
Shorted
J9
between 1–2
Open
between 1–2
Shorted
J11
between 1–2
Open
between 1–2
Note: The jumpers J9 and J11 are shorted by jumper parts.
Default Uses the CAN0 terminating resistor mounted on-board
Does not use the CAN0 terminating resistor mounted on-board
Default Uses the CAN1 terminating resistor mounted on-board
Does not use the CAN1 terminating resistor mounted on-board
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 50 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
2.10 JTAG/NBD Interface
The JTAG connector for Renesas SDI, XCN1 consists of the 2.54-mm contact pitch XG4C-1034
made by Omron Corporation. The NBD connector, CN4 consists of the 2.54-mm contact pitch
XG4C-1434 made by Omron Corporation.
J1 Shorted between 1–4 Outputs a clock from X1 (surface mount-type oscillator module)
J2 Shorted between 1–2 Sets MOD1 to 0
J3 Shorted between 1–2 Power supply from VCCE
J4 Shorted between 1–2 Power supply from VCCE
J5 Shorted between 1–2 Power supply from VCCE
J6 Shorted between 1–2 Power supply from AVCC0
J7 Shorted between 1–2 Power supply from VCCE
J8 Shorted between 1–2
J9 Shorted between 1–2 Uses the CAN0 terminating resistor mounted on-board
MOD0 is controled by EXTMOD0 or is set to 0 unless it is controled
by EXTMOD0
J10 Shorted between 1–2 Enables reprogramming the mounted M32R/ECU’s internal flash
J11 Shorted between 1–2 Uses the CAN1 terminating resistor mounted on-board
J12 Shorted between 1–2 Uses the VR control (VOL0)
J13 Shorted between 1–2 Uses the VR control (VOL1)
J14 Shorted between 1–2 Connects P221/CRX0/HREQ to the extension connector (CON1)
J15 Shorted between 1–2 Connects P83/RXD0/TO25 to the extension connector (CON2)
J16 Shorted between 1–2 Connects P137/TIN23/CTX1 to the extension connector (CON1)
J17 Shorted between 1–2 Connects P136/TIN22/CRX1 to the extension connector (CON2)
J18 Shorted between 1–2 Connects P86/RXD1/TO22 to the extension connector (CON2)
J19 Shorted between 1–2 Connects P175/RXD2/TO27 to the extension connector (CON2)
J20 Shorted between 1–2
Connects P75/RTDRXD/RXD3/NBDD1 to the extension connector
(CON1)
(2) If two or more part type names are written for one part, the upper row has priority.
(3) The asterisk (*) in the item No. column denotes that the rest is blank.
Special note:
(1) Blank columns denote the same content as the upper row.
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3.6 Pattern Diagram
A pattern dia gram for the board is provided in following pages for your reference.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 69 of 79
DATESCALEDIM
REJ10B0223-0140/Rev.1.40Jan. 2007Page 70 of 79
M3A-2154G02A
05-10-4
/ NTS
Pattern diagram(1/6)
APPROVED
DK30552
Symbol - print - C
PROJECTION
mm
DESIGNDRAWNCHECKED
RENESAS TECHNOLOGY CORPORATION
IN
3RD ANGLE
DRAWI NG No.PGDATEITEMDESCRIPTIONMATERIAL NUMBER (MATERIAL)VOLUME
M3A-2154G02A
REJ10B0223-0140/Rev.1.40Jan. 2007Page 71 of 79
Pattern diagram (2/6)
DATESCALEDIM
05-10-4
APPROVED
/ NTS
DK30552
Pattern 1/4
PROJECTION
mm
DESIGNDRAWNCHECKE D
RENESAS TECHNOLOGY CORPORATION
IN
3RD ANGLE
DRA WI NG No.PGDATEITEMDESCRIPTIONMATERIAL NUMBER (MATERIAL)VOLUME
M3A-2154G02A
REJ10B0223-0140/Rev.1.40Jan. 2007Page 72 of 79
Pattern diagram (3/6)
DATESCALEDIM
05-10-4
APPROVED
/ NTS
DK30552
Pattern 2/4
PROJECTION
mm
DESIGNDRAWNCHECKE D
RENESAS TECHNOLOGY CORPORATION
IN
3RD ANGLE
DRA WI NG No.PGDATEITEMDESCRIPTIONMATERIAL NUMBER (MATERIAL)VOLUME
M3A-2154G02A
REJ10B0223-0140/Rev.1.40Jan. 2007Page 73 of 79
Pattern diagram (4/6)
DATESCALEDIM
05-10-4
APPROVED
/ NTS
DK30552
Pattern 3/4
PROJECTION
mm
DESIGNDRAWNCHECKE D
RENESAS TECHNOLOGY CORPORATION
IN
3RD ANGLE
DRA WI NG No.PGDATEITEMDESCRIPTIONMATERIAL NUMBER (MATERIAL)VOLUME
M3A-2154G02A
REJ10B0223-0140/Rev.1.40Jan. 2007Page 74 of 79
Pattern diagram (5/6)
DATESCALEDIM
05-10-4
APPROVED
/ NTS
DK30552
Pattern 4/4
PROJECTION
mm
DESIGNDRAWNCHECKE D
RENESAS TECHNOLOGY CORPORATION
IN
3RD ANGLE
PGDATEITEMDESCRIPTIONMATERIAL NUMBER (MATERIAL)VOLUME
DRA WI NG No.
M3A-2154G02A
REJ10B0223-0140/Rev.1.40Jan. 2007Page 75 of 79
Pattern diagram (6/6)
DATESCALEDIM
05-10-4
APPROVED
/ NTS
DK30552
Symbol - print - S
PROJECTION
mm
DESIGNDRAWNCHECKE D
RENESAS TECHNOLOGY CORPORATION
IN
3RD ANGLE
DRA WI NG No.PGDATEITEMDESCRIPTIONMATERIAL NUMBER (MATERIAL)VOLUME
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3.7 Diagram of External Dimension
A diagram of external dimension for the board is provided in following pages for your reference.
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 76 of 79
noisnemid lanretxe fo margaiD
REJ10B0223-0140/Rev.1.40Jan. 2007Page 77 of 79
E
MULOV
)
LA
IRETAM
(
R
EB
MUN LAIRETAM
Remarks
Occupancy
Hole
Diameter
Hole
Symbol
Remarks
Occupancy
Detail table of Through-Hole
Hole
Diameter
Hole
Symbol
shows the hole symbol of the mounting hole.
is 3.2 mounting hole.
Hole Diameter shows the finished diameter of each hole.
[Example]
Mounting hole details
A20G4512-A3M
15503KD
mm:NOISNEMID
)1/1(
4-01-50
ETADELACSMID
DEVO
R
PPA
STN /
NO
I
TPI
R
C
S
E
D
I
NI
ELGNA DR3
NGISEDN
m
m
NOITCEJORP
C
EHC
W
ARDDEK
ETADMET
G
P
.
o
N GNI
W
AR
D
CHANGE
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3.8 Setting Jumper by Cutting Pattern
Some jumpers are shorted at default condition by pattern wiring on the reverse side of printed
circuit board. Case of setting the condition except for default, the following setting is required.
Note: Case that the printed circuit board is cut pattern by user, the product is except from repairable list.
3.8.1 Cutting Pattern
The pattern wiring for default condition of jumper is on the reverse side of printed circuit board.
After checking the position of the jumper, cut the pattern wiring between through-holes
Zoom (J7)
Example of cutting
pattern
About 0.5mm
J5 J6
Note: Cut pattern wiring
from edge of
through-hole.
J8 J10
J12
J13
J3
J4
J2
Figure 3.4 Example of Cutting Pattern
Table 3.6 List of Jumper
Jumper No. Description Jumper No.Description
J2 Sets MOD1 to 0 J7 Power supply from VCCE
J3 Power supply from VCCE J8
J4 Power supply from VCCE J10
Controls MOD0 by EXTMOD0, unless control
MOD0 by EXTMOD0 sets MOD0 to 0
Enables reprogramming the mounted M32R/ECU’s
internal flash
J5 Power supply from VCCE J12 Uses the VR control (VOL0)
J6 Power supply from AVCC0J13 Uses the VR control (VOL1)
3.8.2 Jumper Shorting
The jumper is shorted according to the condition.
The example of using jumper pin is shown below.
Figure 3.5 Example of Using Jumper Pin
REJ10B0223-0140/Rev.1.40 Jan. 2007 Page 78 of 79
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual M3A-2154G52B
3.9 Description of Board Silk
The color of board silk indicates solder specification when the items on board are mounted.
Table 3.7 Difference in the Color of Board Silk
Color of board silk Solder specification when the items on board are mounted
1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632
Tel: <65> 6213-0200, Fax: <65> 6278-8001
Renesas Technology Korea Co., Ltd.
Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea
Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145
Renesas Technology Malaysia Sdn. Bhd
Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jalan Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia
Tel: <603> 7955-9390, Fax: <603> 7955-9510
http://www.renesas.com
Colophon 6.0
32185/32186/32192/32195/32196 Group
Starter Kit User’s Manual
M3A-2154G52B
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.