Espanol
AddThis Social Bookmark Button

4.1 Primary oscillator without PLL

In this configuration, a primary oscillator at 4 MHz is used without any moltiplication. In this case, the tick duration is 500 ns, and the dsPIC (R) DSC is running at 2 MIPS. To configure the system in this way, the C language has to contain the following compiler directive:
_FOSCSEL ( FNOSC_PRI);
The OIL file will contain the following line:
KERNEL_TYPE = EDF { TICK_TIME = "500 ns ";};
The maximum relative deadline which can be expressed in the OIL file is 500ns  231,
which is slightly more than 1073 secs.
A template application which initializes an EDF periodic task for this case is available under the RT-Druid templates.