Page 1 of 1

maximum speed on PIC32?

Posted: Wed Jun 11, 2008 10:42 am
by lead_innovation
dear sir!
first thank you for trial version : Simulink embedded coder for dspic/pic24/pic32. :D
when i try to use Pic32 master block. i don't know "maximum speed on Pic32" (number milion instruction percent second)
the Xtal i use is 72Mhz.
thank again for best solution DSP on dspic.

Re: maximum speed on PIC32?

Posted: Thu Jun 12, 2008 12:23 am
by LubinKerhuel
Hello,

The C32 has a lot of multipliers or diviser factor allowing to configure the chip so as to get the desired MIPS.
On the master block, you have to :
- Set correctly the quartz mounted on your board. (Quartz or External Clock Frequency)
- Set the desired MIPS (Desired Instruction Per Seconds)
The blockset automatically compute all parameters so as to be as close as possible to the desired MIPS. The real MIPS achieved is showed in Number Instructions per Seconds
Dialog Box of C32 PIC
Dialog Box of C32 PIC
dsPIC_Master_C32.png (17.97 KiB) Viewed 10505 times

Re: maximum speed on PIC32?

Posted: Sat Jun 14, 2008 4:22 am
by lead_innovation
Thanks for reply!

i attachment a image. maximum Quartz is 72Mhz in PIC32MX360 => it excute on 1080 MIPS? (very fast with microcontroller!) that true?

Re: maximum speed on PIC32?

Posted: Sat Jun 14, 2008 9:41 am
by LubinKerhuel
Hi Stefano,

I do not see any image inside your last post.

From the microchip doc :
The external quartz you can use with a PIC32 chip must be within the [3.5 40]MHz range.
If you use an External Clock, it must be within the [0 72]Mhz range.

You can use PLL multiplier to speed up internally the clock.
I do not know that is the max speed that can be obtained with a PIC32. It is probably not 1080MIPS (that is 1 Ghz : too fast !)

I attach a very simple example running the PIC32 starter kit. The PIC32 starter kit has an external Quartz of 8Mhz. In the example, I use PLL and get a 1 Mips speed. However, I could get a wide range of speed by modifying the Desired Instruction Per Seconds.
PIC32_StarterKit_demo.mdl
Simple exemple for PIC32 Starter KIT
(25.89 KiB) Downloaded 743 times
All peripheral are not yet supported on the PIC32 family.

Re: maximum speed on PIC32?

Posted: Tue Jun 17, 2008 2:52 pm
by lead_innovation
dear sir!
i think i found answer for my question. the maximum on pic32 is 72MIPS on CPU and 32MIPS on peripheral(that i read manual C32). but i'm not sure.