dsPICDEM? 80-PIN STARTER
DEVELOPMENT BOARD USER ’S GUIDE
Chapter 3. Demonstration Program Operation
3.1
3.2
3.3
INTRODUCTION
The dsPICDEM 80-Pin Starter Development Board is shipped with example
applications programmed into the dsPIC DSC device. These examples exercise
several of the dsPIC DSC peripherals such as the 12-bit Analog-to-Digital Converter
(ADC) and UART interfaces. This chapter provides an overview of the demonstration
code. Detailed information on the dsPICDEM 80-Pin Starter Development Board
HIGHLIGHTS
Items discussed in this chapter are:
? Demonstration Program Summary
? Demonstration Code Operation
? Board Self-test
DEMONSTRATION PROGRAM SUMMARY
The preprogrammed demonstration program includes two functionally separate code
modules:
? Demonstration code module
? Board self-test code module
These two code modules have been combined into one composite program and coded
into the device. The board self-test code module has been included on the CD as a
library archive only and is briefly discussed at the end of this section. The following
sections present the operation of each module.
When power is applied to the dsPICDEM 80-Pin Starter Development Board, the dsPIC
DSC device begins executing the demonstration program, which consists of three
distinct functional tasks:
? Interrupt processing
? Analog-to-digital conversion
? Digital-to-analog conversion
3.3.1
Interrupt Processing
To illustrate interrupt processing, the demonstration program uses switches S1 and S2
as signals to drive LEDs RD4 and RD5 (output devices). When switch S1 is pressed
(to represent an interrupt), LED RD4 blinks at a 1 Hz rate (once per second) until switch
S1 is pressed again. Similarly, when switch S2 is pressed, LED RD5 blinks until switch
S2 is pressed again. Timer 1 is set up to interrupt every half second.
? 2006 Microchip Technology Inc.
DS51584B-page 25
相关PDF资料
DM300024 KIT DEMO DSPICDEM 1.1
DM330012 KIT USB STARTER FOR DSPIC33E
DM330013 MICROSTICK DSPIC33F/PIC24H BOARD
DNET1 SURGE SUPPRESSOR ETHERNET RJ45
DR-8094 RACK DOUBLE 84"X20.25"X36" BLK
DR-IAC5E INPUT MODULE AC 5VDC
DRIDC24A INPUT MODULE DC 34MA 24VDC
DRODC24 OUTPUT MODULE DC 13MA 24VDC
相关代理商/技术参数
DM300019 制造商:Microchip Technology Inc 功能描述:DEMO BOARD STARTER ((NW))
DM300020 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM MC1 Motor C RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300021 功能描述:开发板和工具包 - PIC / DSPIC High V Pwr Module RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300021 制造商:Microchip Technology Inc 功能描述:MODULE dsPICDEM MC1H 3 PHASE
DM300022 功能描述:开发板和工具包 - PIC / DSPIC Low V Pwr Module RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300023 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM SMPS Buck Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300024 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 1.1 GP RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300027 功能描述:开发板和工具包 - PIC / DSPIC 16-bit Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: