Page 2
NEC 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 NEC Electronics products listed in this document or any other liability arising from the use of such NEC Electronics products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others.
Contents Introduction...1 Kit Contents ...1 Hardware Setup ...2 Standalone Operation...4 Drive and Motor Protection...4 Software Setup ...5 Software Installation ...5 Using the NEC Electronics C Compiler and Source Code Debugger ...6 Download and Debug the Code ...10 GUI Operation ...12...
1. Introduction The low-voltage starter kit for motor control (MC-LVKIT-714) is a complete 3-phase motor control evaluation system for NEC Electronics’ microcontroller-type, application-specific standard products (ASSPs) for motor control. The kit contains all necessary hardware and software to quickly set up and run a low-voltage brushless DC motor (BLDCM).
Motor Control I/O Board User’s Manual For the instruction descriptions, refer to the 78K/0 Series Instruction User’s Manual (U12326E) 3. Hardware Setup The kit can be purchased as one unit with all three boards connected as shown below: To attach the motor, connect the phase U, V and W terminals to the J3 connector block on the MC- PWR-LV power board and the Hall sensor terminals to the J5 connector block on the MC-IO control board.
Page 9
The software to run the motor is programmed into the microcontroller’s flash memory. After the motor is connected, the program is ready to run the motor as soon as the 15V power supply is plugged into J6 of the MC-IO board and power switch SW1 on the MC-PWR-LV power module is turned ON.
Motor Control I/O Board User’s Manual To control the motor from a GUI on your PC, connect a serial cable to the J9 RS-232 port on the MC-IO board and rebuild the code with the GUI macro option as described later in this manual. Three seconds after power up, the LED displays the current set speed.
The following sections describe NEC Electronics America’s development tools environment, how to install it on your computer, and how to rebuild and download executable code to the microcontroller’s flash memory.
• NEC Electronics C compiler and assembler software • MC-LVKIT-714 software 8. Using the NEC Electronics C Compiler and Source Code Debugger To set up the MC-LVKIT-714 starter kit for debugging, follow the steps below. 1. Disconnect the M-78F0714 micro board by separating it from the MC-IO board.
Page 13
Motor Control I/O Board User’s Manual 2. Remove jumpers JP5 2-5, JP5 3-6 and 2JP7 1-2 and reconnect M-78F0714 to MC-IO board.
Page 14
Motor Control I/O Board User’s Manual Figure 9. Jumpers for Standalone Operation Figure 10. Debugging Setup 3. Attach the on-chip debugging emulator’s target connector to 2JP7 on the M-78F0714 and the USB cable to your computer as shown bellow.
Page 15
The sample program “BLDC-Hall-714-LV 120-degree Trapezoidal Drive” is installed in step (b) of the “Install Software” section in \Motor_Control\BLDC_Hall_714 folder. The sample code includes a workspace and project files used with Project Manager Plus, which is NEC Electronics’ integrated development environment software.
Motor Control I/O Board User’s Manual 4. Click File and select Open Workspace. 5. Browse to C:\NECTools32\ \Motor_Control\BLDC_Hall_714 and select BLDC_LV.prw PM Plus workspace file. 6. The newly loaded workspace file will contain one project called LV_BLDC_Hall-714.prj as shown below. 7.
Page 17
Motor Control I/O Board User’s Manual through the on-chip debugging emulator and the source code displayed in the Debugger window as shown below. 2. Use the RUN command to execute code in debugging mode. At this point, the motor can be controlled from the user interface in standalone mode or GUI mode.
Connect the PC serial port to the starter kit J9 DB-9 RS232 connector with the serial cable supplied and launch the communication program Motor Panel, click Start Motor Panel GUI 1. Select the appropriate COM port your PC and click OK. Figure 16. PC COM Port Selection Define Macro entry. Programs NEC Tools32...
Page 19
Motor Control I/O Board User’s Manual The GUI will launch if the connection is established: Figure 17. BLDCM GUI 2. To operate the motor, use the controls in the GUI. 3. To change the PID parameters click on the tuning key symbol Figure 18.