User manual

dsPICDEM 2 Development Board User’s Guide
DS51558A-page 70 © 2005 Microchip Technology Inc.
1. Disconnect the power source.
2. Remove any dsPIC30Fxxxx device currently plugged into the dsPICDEM 2
Development Board.
3. Plug the dsPIC30F4011 into socket U2A1.
4. Configure the hardware components as shown in Table 11-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 dsPIC30F4011 (see
Section 11.4 “Device Programming”).
TABLE 11-1: dsPIC30F4011 CONFIGURATION SETTINGS
Component
Header Socket U2A1
No. Setting Pin Device Functions (see Figure 11-1)
Jumper JP1 JP1 Jumper 5 VDC jumper installed
Jumper JP2 JP2 Jumper 5 VDC jumper installed
Selector Switch S2 M ALL ON 25,26 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 EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
Alternate UART1 Rx
* H4 M ALL 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 17 FLTA/INT0/SCK1/OCFA/RE8
Switch S6 H7 M ALL 23 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 M40 24 FLTA/INT0/SCK1/OCFA/RE8
LCD - SPI Data* H1 M40 25 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.