Data SheetTable of ContentsPreface5Introduction5Document Layout5Conventions Used in this Guide6Warranty Registration7Recommended Reading7The Microchip Web Site9Development Systems Customer Change Notification Service9Customer Support10Document Revision History10Chapter 1. Introduction111.1 Introduction111.2 Highlights111.3 dsPICDEM 80-Pin Starter Development Board Kit Contents11Figure 1-1: dsPICDEM™ 80-Pin Starter development Board12Figure 1-2: Typical PLug-In Module (PIM)121.4 Functionality and features131.5 dsPICDEM 80-Pin Starter Development Board Demonstration Program131.6 Reference Documents14Chapter 2. Tutorial152.1 Introduction152.2 Highlights152.3 Tutorial Overview152.4 Creating the Project162.4.1 Select a Device16Figure 2-1: Project Wizard, Step 1, Select a Device16Figure 2-2: Project Wizard, Step 2, Select Language toolsuite172.4.2 Select Language Toolsuite17Figure 2-3: Project Wizard, Step 3, name your project182.4.3 Name Your Project18Figure 2-4: Project Wizard, Step 4, Add files to project182.4.4 Add Files to Project19Figure 2-5: project window19Figure 2-6: MPLAB® IDE workspacE192.5 Building the Code20Figure 2-7: build options202.5.1 Identify Assembler Include Path21Figure 2-8: MPLAB® LINK30 Build options212.5.2 Link for MPLAB ICD 2212.5.3 Build the Project22Figure 2-9: build output222.6 Programming the Chip232.6.1 Set Up The Device Configuration23Figure 2-10: Configuration settings232.6.2 Connect the MPLAB ICD 2 In-Circuit Debugger23Figure 2-11: Typical dsPIC® DSC Development Board Connected to MPLAB® ICD 2242.6.3 Enable MPLAB ICD 2 Connection24Figure 2-12: Enabling MPLAB® ICD 2242.6.4 Program the dsPIC30F6014A Device25Figure 2-13: programming the dsPIC® DSC Device252.7 Debugging the Code262.7.1 Display the Code26Figure 2-14: Program memory Window26Example 2-1: Code Start-up262.7.2 Step the Program27Figure 2-15: Source code window27Figure 2-16: Watch Window display272.7.3 Set Breakpoint28Figure 2-17: Setting breakpoint282.8 Summary28Chapter 3. Demonstration Program Operation293.1 Introduction293.2 Highlights293.3 Demonstration Program Summary293.3.1 Interrupt Processing293.3.2 Analog-to-Digital Conversion303.3.3 Digital-to-Analog Conversion303.4 Demonstration Code Operation313.4.1 Interrupt Processing31Figure 3-1: Interrupt Processing Flow Diagram313.4.2 Analog-to-Digital Conversion32Figure 3-2: Analog-to-Digital Conversion Flow Diagram323.4.3 Digital-to-Analog Conversion33Figure 3-3: Digital-to-Analog Conversion Program Flow333.5 Board Self-Test34Chapter 4. dsPICDEM™ Development Board Hardware374.1 Hardware Overview37Figure 4-1: dsPICDEM™ 80-Pin Starter Development Board374.1.1 RS-232 Serial Port384.1.2 Analog Potentiometer384.1.3 Push Button Switches384.1.4 LED Indicators384.1.5 Digital Potentiometer384.1.6 Low-Pass Filter384.1.7 ICD 2 Connector384.1.8 Device Header384.1.9 I/O Port Header384.1.10 Power Supply394.1.11 Power-on Indicator394.1.12 Oscillators394.1.13 Reset Switch394.1.14 Prototyping Area394.1.15 Sample Device394.1.16 Line In/Out Connector (J9)394.1.17 9 VDC Input Jack (J2)39Figure 4-2: Adapter Board Plugs into header on main Board40Appendix A. Drawings and Schematics41A.1 dsPICDEM 80-Pin Starter Development Board Layout41Figure A-1: dsPICDEM™ 80-Pin Starter Development Board Layout41A.2 dsPICDEM 80-Pin Starter Development Board Schematic42Figure A-2: dsPICDEM™ 80-Pin Starter Development Board Schematic (sHEET 1 OF 5)42Figure A-3: dsPICDEM™ 80-Pin Starter Development Board Schematic (Sheet 2 of 5)43Figure A-4: dsPICDEM™ 80-Pin Starter Development Board Schematic (Sheet 3 of 5)44Figure A-5: dsPICDEM™ 80-Pin Starter Development Board Schematic (Sheet 4 of 5)45Figure A-6: dsPICDEM™ 80-Pin Starter Development Board Schematic (Sheet 5 of 5)46Index47Worldwide Sales and Service50Size: 6.49 MBPages: 50Language: EnglishOpen manual