maximum speed on PIC32?

Create new topics, add your comment, remark, bugs...
Post Reply
lead_innovation
Posts: 4
Joined: Wed Jun 11, 2008 10:32 am

maximum speed on PIC32?

Post by lead_innovation » Wed Jun 11, 2008 10:42 am

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.

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: maximum speed on PIC32?

Post by LubinKerhuel » Thu Jun 12, 2008 12:23 am

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 10287 times

lead_innovation
Posts: 4
Joined: Wed Jun 11, 2008 10:32 am

Re: maximum speed on PIC32?

Post by lead_innovation » Sat Jun 14, 2008 4:22 am

Thanks for reply!

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: maximum speed on PIC32?

Post by LubinKerhuel » Sat Jun 14, 2008 9:41 am

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 736 times
All peripheral are not yet supported on the PIC32 family.

lead_innovation
Posts: 4
Joined: Wed Jun 11, 2008 10:32 am

Re: maximum speed on PIC32?

Post by lead_innovation » Tue Jun 17, 2008 2:52 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests