QDK-nano PIC24/dsPIC-C30 - Quantum Leaps
QDK-nano PIC24/dsPIC-C30 - Quantum Leaps
QDK-nano PIC24/dsPIC-C30 - Quantum Leaps
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>QDK</strong>-<strong>nano</strong><br />
<strong>PIC24</strong>/<strong>dsPIC</strong>-<strong>C30</strong><br />
www.state-machine.com/pic<br />
Figure 3: Architecture of the <strong>PIC24</strong>/<strong>dsPIC</strong> port<br />
(IPL = 7) Non-Maskable Interrupt (NMI)<br />
IPL Level 7<br />
(NMI level)<br />
(IPL = 6) User interrupt<br />
(IPL = 5) User interrupt<br />
(IPL = 4) User interrupt<br />
IPL Levels 1-6<br />
(interrupt level)<br />
(IPL = 3) User interrupt<br />
(IPL = 2) User interrupt<br />
(IPL = 1) User interrupt<br />
(QP prio = n) User task (active object)<br />
(QP prio = n-1) User task (active object)<br />
. . .<br />
(QP prio = 2) User task (active object)<br />
IPL Level 0<br />
(task level)<br />
(QP prio = 1) User task (active object)<br />
(QP prio = 0) Idle task<br />
1.3 What’s Included in the <strong>QDK</strong>-<strong>nano</strong>-<strong>PIC24</strong>-<strong>dsPIC</strong>?<br />
This <strong>QDK</strong> provides a basic Board Support Package (BSP) for <strong>PIC24</strong> and <strong>dsPIC</strong> MCUs and two versions<br />
of the PEdestrian LIght CONtroller (PELICAN) crossing example for each processor. The PELICAN<br />
application is described in Chapter 12 of [PSiCC2] as well as in the Application Note “PEdestrian LIght<br />
CONtroller (PELICAN) Crossing” [QL AN-PELICAN 08] (included in the <strong>QDK</strong>-<strong>nano</strong> distribution):<br />
<br />
<br />
<br />
<br />
The PELICAN crossing example with the cooperative “vanilla” kernel for <strong>PIC24</strong>FJ128GA010;<br />
The PELICAN crossing example with the preemptive QK-<strong>nano</strong> kernel for <strong>PIC24</strong>FJ128GA010;<br />
The PELICAN crossing example with the cooperative “vanilla” kernel for <strong>dsPIC</strong>33FJ256GP710; and<br />
The PELICAN crossing example with the preemptive QK-<strong>nano</strong> kernel for <strong>dsPIC</strong>33FJ256GP710.<br />
Copyright © <strong>Quantum</strong> <strong>Leaps</strong>, LLC. All Rights Reserved.<br />
4 of 29