Renesas RL78G14 Quick Start Manual

Quick Start Guide: RL78G14 Motor Control Starter Kit
YRMCKITRL78G14 Kit Quick Start Guide 1 D011044-11 V0101
Document Contents
1.0 Introduction 1
2.0 Board Layout 1
3.0 Stand Alone Demonstration Mode 2
4.0 Installation 3
5.0 Using the GUI 4
6.0 RL78/G14 Programming 6
7.0 RL78/G14 Debugging 7
8.0 Next Steps 8
9.0 Support 8
1.0 Introduction
Note: PLEASE DO NOT CONNECT THE BOARD TO THE HOST PC BEFORE INSTRUCTED
2.0 Board Layout
BLDC
Demonstration
Motor
JPUP1-4: RL78/G14
IO Pinout
JP1 / JP2
J1: USB
Interface &
Power
Isolation
Barrier
P6: RL78/G14
Reset
P5 USB
reset
5A Fuse
J3-J4: Ext.
Power supply
connectors
Int. Power
supplies
J5 – E1
Connector
J7: Motor
Connector
Internal inverter
J8: Hall
Sensor
Connector
J10-J19:
Inverter
selection
jumpers
J10: Ext.
inverter
and power
interface
J9: Encoder
connector
P4: Demo
start/stop
P1-P3: User
programmable
For further details, please refer to chapter 2 of the YRMCKITRL78G14 Motor Control Starter Kit user manual.
Quick Start Guide: RL78G14 Motor Control Starter Kit
YRMCKITRL78G14 Kit Quick Start Guide 2 D011044-11 V0101
3.0 Stand-alone Demonstration Mode
The RL78G14 motor control starter kit is supplied pre-configured with the embedded motor control program and to operate in a stand-alone demonstration mode that does not require the installation of the GUI. To use this mode, all that is required is to connect the demonstration motor and connect the USB cable to your PC to power the board. Before connecting the USB cable to the PC and the YRMCKITRL78G14 board please follow the setup procedure below
1. To connect the demonstration BLDC motor place the connector in the motor connector on the PCB and
connect the three wires to the as follows (the green connector is pre-fitted).
a. Red Motor wire to “U” connection b. Black motor wire to the “V” connection c. Green motor wire to the “W” connection
Note: The Hall sensor wires do not need to be connected
2. Check that the jumpers JP1 and JP2 are both connected between pins 2 and 3:
Check that the jumpers are connected as shown below.
JP3 pins 2 – 3 JP10 fitted JP4 pins 2 – 3 JP11 fitted JP5 pins 2 – 3 JP12 fitted JP6 pins 2 - 3 JP13 fitted JP7 pins 2 – 3 JP14 fitted JP15 fitted JP16 fitted JP17 fitted JP18 fitted JP19 fitted Jumpers JP8 and JP9 can be either connected or open
3. Connect the USB cable to your PC and connect the to the USB connector on the board.
The following LEDs should be lit:-
The orange LED DL1 should blink at approximately ½ second intervals The orange LED DL4 should be on The green power supply LEDs (DL5 and DL6) and DL7 (USB connection) should be on
4. If all is correct then press the push button switch P4 and the motor demonstration should start.
The demonstration should follow the following sequence:-
The motor will accelerate up to a set speed The motor should then run in a steady state for approx 10 seconds The Motor direction will be reversed
(This will stop the motor and accelerate to the same speed but in the opposite direction)
The motor should then run in a steady state for approx. 10 seconds and then stop.
5. Once completed, the demonstration can be restarted by pressing the button (P4) again
6. When the demo is completed, the USB lead can be removed and proceed to install the GUI, software and
documentation (See section 4).
Quick Start Guide: RL78G14 Motor Control Starter Kit
YRMCKITRL78G14 Kit Quick Start Guide 3 D011044-11 V0101
4.0 Installation
Insert the Software CD into your computer’s CD-ROM drive. The CD should start the installation automatically. If the installer does not start, browse to the CD root folder and double click on the “setup.exe” file.
Windows Vista and 7 users may see “User Account Control” dialog box. If applicable, enter the administrator password and click <OK>. It is recommended that the user has sufficient administration rights to install the software on the CD. The following shall be installed:
a. The Motor Control GUI b. The IAR Embedded Workbench (Kick Start Evaluation version) c. Renesas Flash Programmer d. The motor control IAR project e. The RL78 IEC self test code and test harness project f. All necessary documentation g. Virtual UART USB drivers h. Manual Navigator
Please note that the IAR Embedded Workbench will require license registration. Please follow the instructions during installation and ensure no other instance of the IAR Embedded Workbench is open.
The documentation will be copied and is designed to be viewed with the Manual Navigator, which is installed with this kit. It is recommended that a USB port or hub is used that does not have any other peripheral devices connected.
The virtual UART drivers are included separately with the CD_ROM and are also included in the IAR installation The correct driver needs to be installed before using the GUI RFP or IAR Workbench.
To install the virtual UART drives:-
1. Connect the USB cable to the board and the PC
2. When the Host PC detects the new hardware, locate the Renesas Virtual UART driver appropriate to the
Windows operating system (i.e. 32/64bit OS) and follow the windows installation directions.
3. For 32-bit Windows OS a. If using the YRMCKITRL78G14 installation:-
32-bit USB drivers should be used (i.e. Windows XP, Vista and W7) and are located here
C:\Program Files\Renesas\YRMCKITRL78G14\Virtual UART\32bit
b. If using the IAR installation:-
C:\Program Files\IAR Systems\Embedded Workbench 6.0\rl78\drivers\renesas\VirtualCOM\32bit
4. For 64-bit Windows OS a. If using the YRMCKITRL78G14 installation:-
64-bit USB drivers (i.e. Windows Vista and W7) and are located here:
C:\Program Files\Renesas\YRMCKITRL78G14\Virtual UART\64bit
b. If the IAR installation:-
C:\Program Files\IAR Systems\Embedded Workbench 6.0\rl78\drivers\renesas\VirtualCOM\64bit
On completion the driver installation should be set to “Renesas Starter Kit Virtual UART”. This can be verified in the Device Manager and note the “com” port assigned.
Loading...
+ 5 hidden pages