Installation and Operation
2015 Microchip Technology Inc.
DS50002447A-page 21
provides a summary of the software code operation.
FIGURE 2-6:
HV583 128-Channel High-Voltage Driver IC Evaluation Board with PIC32 Starter Kit
(DM320001) Connected on J2 – Top View.
2.4.5
Programming the PIC32 Starter Kit
This section assumes that the MPLAB X IDE software and the MPLAB XC32 compiler
are installed on the user’s system, and the PIC32 Starter Kit is connected to the PC via
the USB debug cable.
To load the
PIC32_HV583.x
code, follow these steps:
1.
Open the MPLAB X IDE and then the
PIC32_HV583.x
program code.
2.
Select the
Clean and Build Project
icon (
). Ignore warning messages.
3.
Select the
Make and Program Device
icon (
).
TABLE 2-2:
SOFTWARE CODE OPERATION
(
)
Switch Description
SW1
LED 1 turns on, data is sent to Input registers, D1B, D2B, D3B and D4B
SW2
LED 2 turns on, makes all (HV
OUT
n) High-Voltage channels low (GND)
SW3
LED 3 turns on, makes all (HV
OUT
n) High-Voltage channels high (V
PP
)
Note 1:
Push button switches are located on the PIC32 Starter Kit; see
and
Section 2.4.6 “Modifying the Control Signals and Data in the Code”