
dsPICDEM? 2
DEVELOPMENT BOARD
USER ’S GUIDE
Chapter 9. Using the dsPIC30F3013
9.1
INTRODUCTION
This chapter assumes you have chosen the dsPIC30F3013 for your application. The
dsPICDEM 2 Development Board supports a dsPIC30F3013 device in a 28-pin SPDIP
package, as shown in Figure 9-1. This device provides ten 12-bit A/D (100 ksps)
channels, two UARTs, 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 9-1:
28-PIN SPDIP dsPIC30F3013
MCLR
EMUD3/AN0/V REF +/CN2/RB0
EMUC3/AN1/V REF -/CN3/RB1
AN2/SS1/LVDIN/CN4/RB2
AN3/CN5/RB3
AN4/CN6/RB4
1
2
3
4
5
6
28
27
26
25
24
23
AV DD
AV SS
AN6/OCFA/RB6
EMUD2/AN7/RB7
AN8/OC1/RB8
AN9/OC2/RB9
U1B1
AN5/CN7/RB5
V SS
OSC1/CLKI
OSC2/CLKO/RC15
EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13
EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14
V DD
IC2/INT2/RD9
7
8
9
10
11
12
13
14
22
21
20
19
18
17
16
15
U2RX/CN17/RF4
U2TX/CN18/RF5
V DD
V SS
PGC/EMUC/U1RX/SDI1/SDA/RF2
PGD/EMUD/U1TX/SDO1/SCL/RF3
SCK1/INT0/RF6
EMUC2/IC1/INT1/RD8
9.2
HIGHLIGHTS
This chapter discusses:
?
?
?
?
?
9.3
BOARD SETUP FOR THE dsPIC30F3013 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 dsPIC30F3013 device to
support the dsPIC30F3013 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.
3. Plug the dsPIC30F3013 into socket U1B1.
? 2005 Microchip Technology Inc.
DS51558A-page 57