English
Language : 

DM300018 Datasheet, PDF (57/115 Pages) Microchip Technology – dsPICDEM™ 2 Development Board User’s Guide
dsPICDEM™ 2
DEVELOPMENT BOARD
USER’S GUIDE
Chapter 8. Using the dsPIC30F3012
8.1 INTRODUCTION
This chapter assumes you have chosen the dsPIC30F3012 for your application. The
dsPICDEM 2 Development Board supports a dsPIC30F3012 device in an 18-pin PDIP
package, as shown in Figure 8-1. This device provides eight 12-bit A/D (100 ksps)
channels, a UART, an SPI module, an I2C module and 12 I/O pins. A sample applica-
tion program provides a software baseline for building your own embedded solution.
FIGURE 8-1:
18-PIN PDIP dsPIC30F3012
MCLR 1
EMUD3\AN0/VREF+/CN2/RB0 2
EMUD3\AN1/VREF-/CN3/RB1 3
AN2/SS1/LVDIN/CN4/RB2 4
U1C1
AN3/CN5/RB3 5
OSC1/CLKI 6
OSC2/CLKO/RC15 7
EMUD1/SOSCI/T2CK/U1ATX/CN1/RC13 8
EMUC1/SOSCO/T1CK/U1ARX/CN0/RC14 9
18 AVDD
17 AVSS
16 AN6/SCK1/INT0/OCFA/RB6
15 EMUD2/AN7/OC2/IC2/INT2/RB7
14 VDD
13 VSS
12 PGC/EMUC/AN5/U1RX/SDI1/SDA/CN7/RB5
11 PGD/EMUD/AN4/U1TX/SDO1/SCL/CN6/RB4
10 EMUC2/OC1/IC1/INT1/RD0
8.2 HIGHLIGHTS
This chapter discusses:
• Board Setup for the dsPIC30F3012 Sample Application
• Device Programming
• Observing the Sample Application
• In-Circuit Debugging
• Summary
8.3 BOARD SETUP FOR THE dsPIC30F3012 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 dsPIC30F3012 device to
support the dsPIC30F3012 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 dsPIC30F3012 into socket U1C1.
4. Configure the hardware components as shown in Table 8-1.
© 2005 Microchip Technology Inc.
DS51558A-page 51