Техническая СпецификацияСодержаниеTable of Contents3Preface5Chapter 1. Introduction131.1 Introduction131.2 Highlights131.3 dsPICDEM™ 1.1 Plus DEVELOPMENT BOARD Kit13Figure 1-1: dsPICDEM™ 1.1 Plus Development Board13Figure 1-2: dsPIC30F6014A Plug-In Module141.4 dsPICDEM™ 1.1 Plus Development Board Features141.5 Supported Plug-In Modules151.6 Running the dsPICDEM™ 1.1 Plus Demonstration Program16Chapter 2. Using dsPIC30F Devices172.1 Introduction172.2 Highlights172.3 Tutorial Overview172.4 Creating the Project182.4.1 Select a Device18Figure 2-1: Project Wizard, Step 1, Select a Device18Figure 2-2: Project Wizard, Step 2, Select Language toolsuite192.4.2 Select Language Toolsuite19Figure 2-3: Project Wizard, Step 3, name your project202.4.3 Name Your Project20Figure 2-4: Project Wizard, Step 4, Add files to project212.4.4 Add Files to Project21Figure 2-5: MPLAB® IDE project window21Figure 2-6: mplab® IDE workspacE Windows222.5 Building the Code23Figure 2-7: Build Options232.5.1 Identify Assembler Include Path242.5.2 Link for ICD 224Figure 2-8: MPLAB® LINK30 Build options242.5.3 Build the Project25Figure 2-9: Build Output Window252.6 Programming the Chip252.6.1 Set Up the Device Configuration25Figure 2-10: Configuration settings252.6.2 Connect the MPLAB ICD 2 In-Circuit Debugger26Figure 2-11: dsPICDEM™ 1.1 Plus Development Board Connected to MPLAB® ICD 2 In-Circuit Debugger262.6.3 Enable MPLAB ICD 2 Connection27Figure 2-12: Enabling MPLAB® ICD 227Figure 2-13: Setting Program Memory Size282.6.4 Program the dsPIC30F6014A Device29Figure 2-14: programming the dsPIC30F6014A DEVICE29Figure 2-15: Tutorial LCD Display292.7 Debugging the Code292.7.1 Display the Code30Figure 2-16: Program memory Window302.7.2 Step the Program31Figure 2-17: Source code window31Figure 2-18: Watch Window display312.7.3 Set Breakpoint32Figure 2-19: Setting breakpoint32Chapter 3. dsPIC30F Demonstration Program Operation333.1 Introduction333.2 Highlights333.3 Demonstration Program Operation333.3.1 Demonstration Code Module Summary33Figure 3-1: Power-Up Display33Figure 3-2: Demo Menu Options343.3.1.1 Data Acquisition Display Mode34Figure 3-3: Data Acquisition Display34Figure 3-4: dsPICDEM™ 1.1 Plus Development Board to PC Connection35Figure 3-5: HyperTerminal Configuration Settings353.3.1.2 DSP Operations Mode36Figure 3-6: DSP Operations Display36Table 3-1: Frequencies vs. Potentiometer Setting36Figure 3-7: DSP Operations Flow Diagram37Figure 3-8: Frequency Response: IIR Filter37Figure 3-9: Frequency Response: FIR Filter383.3.1.3 DTMF Generation Mode38Figure 3-10: DTMF Tone Generation Menu38Table 3-2: DTMF Tone Generation Controls383.3.2 Demonstrated Features and Peripherals393.3.2.1 dsPIC30F MCU/DSP Features393.3.2.2 dsPIC30F Demo Peripherals393.4 Data and Control Flow403.4.1 Power-up Sequence40Table 3-3: Power-up Peripheral initialization sequence403.4.2 Main Loop Code Execution41Table 3-4: Main Loop Code Execution Sequence413.4.3 Interrupts Used in the Demo423.4.3.1 External Interrupts to Main Routine423.4.3.2 DCI Interrupts and DTMF423.4.3.3 UART Receive Interrupts423.4.3.4 UART Transmit Interrupts423.4.3.5 SPI Interrupts, digital POT and the LCD controller423.4.3.6 Timer1433.4.3.7 Timer2433.4.3.8 Timer3433.5 dsPIC30F Demonstration Performance Metrics433.5.1 Performance Metric Summary with FIR Filter44Table 3-5: FIR Filter Specifications453.5.2 Performance Metric Summary with IIR Filter45Table 3-6: IIR Filter Specifications453.6 Board Self-Test Code Module Summary46Chapter 4. Using dsPIC33F and PIC24H/24F Devices474.1 Introduction474.2 Highlights474.3 Tutorial Overview474.4 Creating the Project484.4.1 Select a Device48Figure 4-1: Project Wizard, Step 1, Select a Device48Figure 4-2: Project Wizard, Step 2, Select Language toolsuite494.4.2 Select Language Toolsuite49Figure 4-3: Project Wizard, Step 3, name your project504.4.3 Name Your Project50Figure 4-4: Project Wizard, Step 4, Add files to project514.4.4 Add Files to Project51Figure 4-5: MPLAB® IDE project window52Figure 4-6: mplab® IDE workspacE Windows524.5 Building the Code534.5.1 Link for ICD 253Figure 4-7: MPLAB® LINK30 Build options534.5.2 Build the Project54Figure 4-8: Build Output Window544.6 Programming the Chip554.6.1 Set Up the Device Configuration55Figure 4-9: Configuration settings554.6.2 Connect the MPLAB ICD 2 In-Circuit Debugger55Figure 4-10: dsPICDEM™ 1.1 PLUS Development Board Connected to MPLAB® ICD 2 In-Circuit Debugger564.6.3 Enable MPLAB ICD 2 Connection56Figure 4-11: Enabling MPLAB® ICD 257Figure 4-12: Setting Program Memory Size584.6.4 Program the dsPIC33FJ256GP710 Device59Figure 4-13: programming the dsPIC30F6014A DEVICE59Figure 4-14: Tutorial LCD Display594.7 Debugging the Code594.7.1 Display the Code60Figure 4-15: Program memory Window604.7.2 Step the Program61Figure 4-16: Source code window61Figure 4-17: Watch Window display614.7.3 Set Breakpoint624.8 Additional Code Examples63Chapter 5. dsPICDEM™ 1.1 Development Hardware655.1 dsPICDEM™ 1.1 Plus Development Board Hardware Overview65Figure 5-1: dsPICDEM™ 1.1 Plus Development Board65Table 5-1: dsPICDEM™ 1.1 Plus Development Board Hardware65Figure 5-2: Device Plug-in Module665.1.1 RS-232 Serial Ports665.1.2 CAN Port665.1.3 RS-485/RS-422 Port675.1.4 Temperature Sensor675.1.5 Analog Potentiometers675.1.6 Push Button Switches675.1.7 LEDs675.1.8 Digital Potentiometer685.1.9 LCD Graphic Display685.1.10 ICD Connector685.1.11 Si3000 Voice Band Codec685.1.12 Emulation Header695.1.13 Power Supply695.1.14 Power-on Indicator695.1.15 Oscillator Options69Table 5-2: OSCILLATOR SELECTION Parameters(1)705.1.16 Reset Switch705.1.17 Prototyping Area705.1.18 Sample Devices70Appendix A. Hardware Drawings and Schematics71A.1 Introduction71A.2 Highlights71Figure A-1: dsPICDEM™ 1.1 Plus Development Board Layout72Figure A-2: dsPICDEM™ 1.1 Plus Development Board Schematic (Sheet 1 of 5)73Figure A-3: dsPICDEM™ 1.1 Plus Development Board Schematic (Sheet 2 of 5)74Figure A-4: dsPICDEM™ 1.1 Plus Development Board Schematic (Sheet 3 of 5)75Figure A-5: dsPICDEM™ 1.1 Plus Development Board Schematic (Sheet 4 of 5)76Figure A-6: dsPICDEM™ 1.1 Plus Development Board Schematic (Sheet 5 of 5)77Appendix B. LCD Controller Specification79B.1 Overview79B.2 LCD Controller Interface79B.3 Commands80B.3.1 Command Structure80B.3.2 Command Types80B.3.2.1 Characters80B.3.2.2 Pixels81B.3.2.3 Columns81B.3.3 Power-up Defaults81B.3.4 Command Description81B.4 General Commands82B.4.1 Reset Command82B.4.2 Home Command82B.4.3 HomeClear Command82B.4.4 Scroll Command82B.5 Character commands83B.5.1 ChrPos Command83B.5.2 ChrPosInc Command83B.5.3 WrtChr Command83B.5.4 WrtChrInc Command83B.5.5 WrtChrNext Command84B.5.6 ChrClearRow Command84B.5.7 ChrClearEOL Command84B.5.8 ChrCursorOff Command84B.5.9 ChrCursorOn Command84B.5.10 ChrCursorBlink Command84B.6 Pixel commands85B.6.1 PixPos Command85B.6.2 PixOn Command85B.6.3 PixOff Command85B.6.4 PixLine Command85B.7 Column commands86B.7.1 ColPos Command86B.7.2 WrtColNext Command86B.7.3 WrtColNextOR Command86B.7.4 WrtColNextAND Command86B.7.5 WrtColNextXOR Command86B.8 Examples87Index89Worldwide Sales and Service92Размер: 4,1 МБСтраницы: 92Язык: EnglishПросмотреть