DM300019 Microchip Technology, DM300019 Datasheet - Page 31
![BOARD DEMO DSPICDEM 80L STARTER](/photos/9/20/92024/dm300019_sml.jpg)
DM300019
Manufacturer Part Number
DM300019
Description
BOARD DEMO DSPICDEM 80L STARTER
Manufacturer
Microchip Technology
Type
MCUr
Specifications of DM300019
Contents
Board, CD, Sample Part
Processor To Be Evaluated
dsPIC30F and dsPIC33F
Interface Type
RS-232
Silicon Manufacturer
Microchip
Silicon Core Number
DsPIC30F6014A, DsPIC33FJ256GP710
Silicon Family Name
DsPIC30F And DsPIC33F
Kit Contents
Development Board And Docs On CD
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
dsPIC30F, dsPIC33F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DM300019
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
DM300019
Manufacturer:
MICROCHIP
Quantity:
12 000
3.4
© 2006 Microchip Technology Inc.
DEMONSTRATION CODE OPERATION
The following sections describe in more detail how the demonstration programs
interact with and take advantage of key dsPIC DSC, DSP and peripheral features. Full
details on the peripheral functionality and associated tasks are presented later in this
document.
3.4.1
The demonstration code samples switches S1 and S2 and uses their status to operate
the LEDs associated with processor ports RD4 and RD5, respectively. If S1 is pressed,
it sets program flag “LED1on”. If S1 is pressed again, it resets program flag LED1on.
Similarly, if S2 is pressed, it toggles program flag LED2on.
Another interrupt routine checks flags LED1on and LED2on every 500 milliseconds. If
the LED1on is true, the LED labeled RD4 is toggled on and off every 0.5 seconds,
causing the LED to blink. If LED1on is not true, the LED remains off.
This demo program is illustrated in Figure 3-1.
FIGURE 3-1:
Interrupt Processing
For 0.5 Sec Interval
INIT TIMER 1
S1 Pressed?
S2 Pressed?
LED1on Flag Set?
LED2on Flag Set?
INTERRUPT PROCESSING FLOW DIAGRAM
Start of 0.5 sec
Turn RD4 Off
Turn RD5 Off
START
Timer1 Init
Return
No
No
No
No
Yes
Yes
Demonstration Program Operation
Yes
Yes
LED1on = LED1on
LED2on = LED2on
RD4 = RD4
RD5 = RD5
S1 Released?
S2 Released?
Yes
Yes
DS51584B-page 27
No
No