User manual

dsPICDEM 2 Development Board User’s Guide
DS51558A-page 58 © 2005 Microchip Technology Inc.
4. Configure the hardware components as shown in Table 9-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 dsPIC30F3013 (see
Section 9.4 Device Programming”).
TABLE 9-1: HARDWARE CONFIGURATION SETTINGS
Component
Header Socket U1B1
No.
Jumper
Setting
Pin Device Functions (see Figure 9-1)
Jumper JP1 JP1 Jumper 5 VDC jumper installed
Jumper JP2 JP2 Jumper 5 VDC jumper installed
Selector Switch S2 GP 28 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 No jumper connections
CAN Tx H2 Open
CAN Rx H2 Open
UART1 Tx* H3 Open
UART1 Rx* H3 Open
Alternate UART1 Tx
* H4 GP ALL 11 EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
Alternate UART1 Rx
* H4 GP ALL 12 EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14
UART2 Tx* H5 Open
UART2 Rx* H5 Open
Temperature Sensor H10 GP ALL 5 AN3/CN5/RB3
Potentiometer H13 GP ALL 4 AN2/SS1
/LVDIN/CN4/RB2
Switch S5 H6 Open
Switch S6 H7 GP 40/28 15 UMUC2/IC1/INT1/RD8
LED D3 H12 GP D3 2 EMUD3/AN0/V
REF+/CN2/RB0
LED D4 H12 GP D4 3 EMUC3/AN1/V
REF-/CN3/RB1
LCD - SPI™ Clock* H1 GP 40/28 16 SCK1/INT0/RF6
LCD - SPI Data* H1 GP 40/28 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.