Microchip Technology DM300018 User Manual
dsPICDEM 2 Development Board User’s Guide
DS51558A-page 76
© 2005 Microchip Technology Inc.
2.
Remove any dsPIC30Fxxxx device currently plugged into the dsPICDEM 2
Development Board.
Development Board.
3.
Plug the dsPIC30F4012 into socket U2B1.
4.
Configure the hardware components as shown in Table 12-1.
5.
Connect the RS-232 cable from the PC to the UART connector (J2).
6.
Reapply power to the DC IN connector (J4). The PWR ON LED should illuminate.
7.
Load the sample application program for the dsPIC30F4012 (see
Section 12.4 “Device Programming”).
Section 12.4 “Device Programming”).
TABLE 12-1:
HARDWARE CONFIGURATION SETTINGS
Component
Header Socket
U2B1
No.
Jumper
Setting
Pin
Device Functions (see Figure 12-1)
Jumper JP1
JP1
Jumper
—
5 VDC jumper installed
Jumper JP2
JP2
Jumper
—
5 VDC jumper installed
Selector Switch
S2
M ALL ON 17,18 PGC and PGD
Selector Switch
S3
OFF
—
Not used in this configuration
Selector Switch
S4
OFF
—
Not used in this configuration
PGM U3
H11
Open
—
—
CAN Tx
H2
Open
—
—
CAN Rx
H2
Open
—
—
UART1 Tx*
H3
Open
—
—
UART1 Rx*
H3
Open
—
—
Alternate UART1 Tx*
H4
M ALL
11
EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
Alternate UART1 Rx* H4
M ALL
12
EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14
UART2 Tx*
H5
Open
—
—
UART2 Rx*
H5
Open
—
—
Temperature Sensor
H10
M ALL
5
AN3/INDX/CN5/RB3
Potentiometer
H13
M ALL
4
AN2/SS1/CN4/RB2
Switch S5
H6
M ALL
16
FLTA/INT0/SCK1/OCFA/RE8
Switch S6
H7
M ALL
15
EMUC2/OC1/IC1/INT1/RD0
LED D3
H12
M D3
2
EMUD3/AN0/V
REF
+/CN2/RB0
LED D4
H12
M D4
3
EMUC3/AN1/V
REF
-/CN3/RB1
LCD - SPI™ Clock
*
H1
M28
16
FLTA/INT0/SCK1/OCFA/RE8
LCD - SPI Data
*
H1
M28
17
PGD/EMUD/U1TX/SDO1/SCL/RF3
*
On this device, multiplexing of various peripherals on the pins does not allow the
simultaneous use of:
– Switch S5 and LCD.
– Primary UART1 pins and LCD.
Since only one DB-9 connector is provided for RS-232 communication, you can
select either UART1 (primary or alternate pins) or UART2, but not both.
simultaneous use of:
– Switch S5 and LCD.
– Primary UART1 pins and LCD.
Since only one DB-9 connector is provided for RS-232 communication, you can
select either UART1 (primary or alternate pins) or UART2, but not both.