Datasheet

Installation and Operation
© 2008 Microchip Technology Inc. DS51759A-page 17
2.4.1.3 DEMO STEPS
The PIC24 Board firmware contains two programs. The program selected is deter-
mined after a reset (including the Power-on reset) by the state of the S3 switch. The
programs are:
1. Wiper 1 Saw Wave (Switch S3 not depressed).
2. Increment / Decrement with High Voltage Write to Non-Volatile Wiper 1 Register
(Switch S3 depressed).
Table 2-2 shows the sequence of steps to demo the MCP42XXDM-PTPLS board with
the Explorer 16 Developer’s Board.
Figure 2-6 shows the expected output waveform for Program #1 (Wiper 1 Saw Wave)
as well as the voltage levels and ranges of the four signals. Figure 2-7 shows an exam-
ple waveforms for the High Voltage Write Command for the SDI, SDO, SCK, and CS
signals.
TABLE 2-2: DEMO STEPS USING THE PICDEM HPC EXPLORER DEMO
BOARD
Step Action Result
1a Turn on oscilloscope and configure as follows:
Channel 1, 2, 3, and 4 @ 5V/Division
Channel 1 to 4 have same ground
reference point
1b Configure oscilloscope as follows:
Time-base = 100 ms/Division
(see
Figure 2-6 for scope details)
2 Configure the MCP42XXDM-PTPLS to the
jumper settings shown in
Figure 2-4.
3 Insert the MCP42XXDM-PTPLS board into the
Explorer 16 Developers Board J5 header (see
Figure 2-5). Ensure proper orientation of
Daughter Board to J5 Header.
4 Connect the oscilloscope probes as follows:
Channel 1 to the CS
Pin of Header J1
Channel 2 to the SDI Pin of Header J1
Channel 3 to the SCK Pin of Header J1
Channel 4 to the VW1 Pad
5 Power up the programmed Explorer 16 Devel-
oper Board and depress and release the MCLR
push button
Program 1 is now selected.
Output waveform should look similar
to
Figure 2-6. Ensure to verify volt-
age levels/ranges of the four signals.
(Note 1)
6 Depress the Explorer 16 Developer Board’s S3
push button
7 Depress and release the Explorer 16 Developer
Board’s MCLR push button
8 Release the Explorer 16 Developer Board’s S3
push button
Program 2 is now selected.
9 Configure oscilloscope as follows:
Time-base = 50 µs/Division
(see
Figure 2-7 for scope details)
Note 1: The SDI and SCK signals go from V
SS
to approximately 3.3V due to the PIC24
operating at 3.3V. The VW1 signals go from V
SS
to approximately 5V.