User manual

dsPICDEM 2 Development Board User’s Guide
DS51558A-page 28 © 2005 Microchip Technology Inc.
4. Configure the hardware components as shown in Table 4-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 dsPIC30F2011 (see
Section 4.4 Device Programming”).
TABLE 4-1: dsPIC30F2011 CONFIGURATION SETTINGS
Component
Header Socket U1A1
No.
Jumper
Setting
Pin Device Functions (see Figure 4-1)
Jumper JP1 JP1 Jumper 5 VDC jumper installed
Jumper JP2 JP2 Jumper 5 VDC jumper installed
Selector Switch S2 GP 18 ON 11,12 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 8 EMUD1/SOSC1/T2CK/U1ATX/CN1/RC13
Alternate UART1 Rx
*
H4 GP ALL 9 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 18 10 EMUC2/OC1/IC1/INT1/RD0
LED D3 H12 GP D3 2 AN0/V
REF+/CN2/RB0
LED D4 H12 GP D4 3 AN1/V
REF-/CN3/RB1
LCD - SPI™ Clock* H1 GP 18 16 AN6/SCK1/INT0/OCFA/RB6
LCD - SPI Data* H1 GP18 11
PGD/EMUD/AN4/U1TX/SDO1/SCL/CN6/RB4
* 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.