CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Fastest PIC18 available

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
carl



Joined: 06 Feb 2008
Posts: 240
Location: Chester

View user's profile Send private message

Fastest PIC18 available
PostPosted: Wed Feb 15, 2012 6:03 am     Reply with quote

Hi there,

Can anybody please explain to me my options regarding my choice of fastest PIC18 available.

After looking at the parameter search at Micrchip, I am slightly confused.

Usually the max CPU speed is set by an external oscillator (I can find 64Mhz), and the CPU speed is divided by four to give you your clock speed.

But I have found ones that use PLL to increase the speed from the external oscillator - would this give a faster clock speed??

My overall aim is to get the fastest PIC18 clock speed available.

Thanks
Carl
n-squared



Joined: 03 Oct 2006
Posts: 99

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Feb 15, 2012 6:16 am     Reply with quote

Hi
Microchip allows you to use the internal RC or an external crystal up to 16MHz, then use the internal PLL to multiply the frequency by 4, and THEN the circuitry DIVIDES it back to 16MHz for a 16MIPS cpu. That is the fastest you can achieve with PIC18 chips.

For higher speed you need to look at PIC24 or dsPIC3x chips.

BR
NN
_________________
Every solution has a problem.
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 6:40 am     Reply with quote

Also speed isn't everything ! It does allow sloppy code to run(Windows..applications) while good,tight coding can get the job done better.
My current laptop has kbd,lcd,word processor,rs232,LPT,bar code reader,modem,paging,etc. with only 32KB of RAM,32KB ROM,4MHz xtal.
My point is that code rather than speed is better.
carl



Joined: 06 Feb 2008
Posts: 240
Location: Chester

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 7:08 am     Reply with quote

Hi there,
Thanks for your replies.

N-Squared - thanks for the explanation - understand it now. But I'm sure I have seen somewhere a 96Mhz PLL - which would give a clock of 24Mhz.

Are you sure of the 16Mhz Clock being the fastest??

Temtronik - Understand and agree, although as usual it all depends on the application, and I think the new application will have to be fast regardless of the coding.

Thanks
Carl
Ttelmah



Joined: 11 Mar 2010
Posts: 19540

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 7:27 am     Reply with quote

The 96MHz PLL, is inside _USB_ PIC's. Not used directly to feed the CPU, but only via a divider (usually /2 to give 48Mhz operation).
A lot of the PIC24 chips will go much faster, but 64Mhz, is about the fastest current PIC18. 16MIPS.

Best Wishes
carl



Joined: 06 Feb 2008
Posts: 240
Location: Chester

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 7:32 am     Reply with quote

OK thanks All
carl



Joined: 06 Feb 2008
Posts: 240
Location: Chester

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 8:35 am     Reply with quote

Hmmm...

All the 64Mhz pic options (production types) all have a 'k' in the part, and I cannot find any of these parts supported in the my PCWH compiler 4.038.

Also the parts are not included in the devices file on my computer, and not all are included in my MPLAB version 8.10.00.00.

Ideally I would like one with high I/O count also (64).

So how would I go about resolving this issue??

Cheers
Carl
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 9:34 am     Reply with quote

You'll have to upgrade your compiler to be able to program the 'newer' PICs.

Sign of the times...they're making versions faster than we can figure out what to do with them !

With your requirement for fast speed and high pin count, perhaps your application can be split into 2 or 3 smaller PICs( distributed processing) ?
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Feb 15, 2012 9:57 am     Reply with quote

carl wrote:
... my PCWH compiler 4.038.
Oops, this is an old and very unstable compiler release that I wouldn't recommend for any production code. The early v4.0xx compilers were bad and it took CCS a long time to get them usable, only around v4.075 things started to work again as in the v3.249 versions
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group