Microchip Technology DM300018 User Manual

Page of 115
dsPICDEM™ 2
 DEVELOPMENT BOARD
USER’S GUIDE
© 2005 Microchip Technology Inc.
DS51558A-page 39
Chapter 6.  Using the dsPIC30F3010
6.1
INTRODUCTION
This chapter assumes you have chosen the dsPIC30F3010 for your application. The 
dsPICDEM 2 Development Board supports a dsPIC30F3010 device in a 28-pin SPDIP 
package, as shown in Figure 6-1. This device provides six 10-bit A/D (500 ksps) 
channels, a UART, an SPI module, an I
2
C™ module and 20 I/O pins. A sample 
application program provides a software baseline for building your own embedded 
solution.
FIGURE 6-1:
28-PIN SPDIP dsPIC30F3010
6.2
HIGHLIGHTS
This chapter discusses:
• Summary
6.3
BOARD SETUP FOR THE dsPIC30F3010 SAMPLE APPLICATION
The dsPICDEM 2 Development Board supports dsPIC30F devices that have multiple 
peripheral devices multiplexed on some pins. Therefore, the jumper set up of various 
headers depends on which of the dsPIC30F peripherals are used by the application. 
This section demonstrates how the board is set up for the dsPIC30F3010 device to 
support the dsPIC30F3010 example software in the dsPICDEM 2 Development Kit CD.
Follow these steps to configure the hardware on the dsPICDEM 2 Development Board 
for the sample application.
1.
Disconnect the power source.
2.
Remove any dsPIC30Fxxxx device currently plugged into the dsPICDEM 2 
Development Board.
U2B1
d
s
P
IC30F
301
0
MCLR
PWM1L/RE0
PWM1H/RE1
PWM2L/RE2
PWM2H/RE3
PWM3L/RE4
PWM3H/RE5
V
SS
V
DD
EMUD3/AN0/V
REF
+/CN2/RB0
EMUC3/AN1/V
REF
-/CN3/RB1
AV
DD
AV
SS
AN2/SS1/CN4/RB2
EMUD2/OC2/IC2/INT2/RD1
EMUC2/OC1/IC1/INT1/RD0
EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14
EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
V
SS
OSC2/CLKO/RC15
OSC1/CLKIN
V
DD
FLTA/INT0/SCK1/OCFA/RE8
PGC/EMUC/U1RX/SDI1/SDA/RF2
PGD/EMUD/U1TX/SDO1/SCL/RF3
AN5/QEB/IC8/CN7/RB5
AN4/QEA/IC7/CN6/RB4
AN3/INDX/CN5/RB3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15