Motor Control I/O Board User’s Manual

Figure 11. Debugging Environment Shown with QB-78K0MINI On-Chip Debugger

Note: The on-chip debugger has a 5 MHz internal clock source by default.

The MC-78F0714 must be operated at 20 MHz. Use the external 20 MHz oscillator supplied with the kit. Consult the on-chip debugger user’s manual for information about how to attach the external oscillator.

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.

To recompile and debug the sample program follow the steps below:

1. Run PM Plus program installed by the NEC Electronics assembler software.

2. Launch PM Plus from Start Programs NEC Tools32.

3. PM Plus will display its main window as shown below.

9