Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 12th November 2009, 12:07 PM   #1
Default Speed on 18F4620

Ok guys. Exact timing shouldnt be a issue for my project. I need help with speed.

Should i use a 20mhz crystal or 8mhz int with PLL ?
AtomSoft is online now  
Old 12th November 2009, 12:19 PM   #2
Default

Quote:
Originally Posted by AtomSoft View Post
Ok guys. Exact timing shouldnt be a issue for my project. I need help with speed.

Should i use a 20mhz crystal or 8mhz int with PLL ?
You did not give us much to go on. The internal with PPL will clock at 32MHz as opposed to the more precise 20MHz crystal. Without reading you mind regarding the application I suggest you go with 32MHz in that you have more processiong power and save the cost of the crystal.

3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)

Last edited by 3v0; 12th November 2009 at 12:20 PM.
3v0 is online now  
Old 12th November 2009, 12:43 PM   #3
Default

Hey yeah sorry it's for my LCD stuff I fin the drawing to be slow. I would like to speed it up. I was reading the datasheet and noticed a 10mhz crystal with HSPLL would give me 40mhz aka 10mips which should be decent.
AtomSoft is online now  
Old 12th November 2009, 12:45 PM   #4
Default

Hey since u have been around pics longer and obviously know more which pic can u recommend to top the 18f4620 in speed and ram?
AtomSoft is online now  
Old 12th November 2009, 03:32 PM   #5
Default

This is a bit disjointed as I am running out of time and also helping on chat.

Quote:
Originally Posted by AtomSoft View Post
Hey since u have been around pics longer and obviously know more which pic can u recommend to top the 18f4620 in speed and ram?
Some of the 18F family go up to 16 MIPS which is 6 Mips faster then the 18F4620. A good example is the PIC18F43K20. But there is a problem.

The problem is that it is not supported by PICkit2 for program or debug. It is supported by ICD2 so if you have a inchworm and the companion board that converts it to USB you are in buisness.

I am guessing it is a speed issue with the PICkit2 and none of the chip over 40 Mhz (10 MIPs) will work with it. Not 100% sure.

You could move up to 24s and dsPICs but I do not think that is what you are looking to do.

Also you need to check the datasheet on the 4620.
"The HSPLL mode makes use of the HS Oscillator
mode for frequencies up to 10 MHz. A PLL then multiplies
the oscillator output frequency by 4 to produce an
internal clock frequency up to 40 MHz."

In short you can not use a 20MHz crystal and the PLL. You need to use a 10MHz and the PLL for 40MHz aka 10Mips..

3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)

Last edited by 3v0; 12th November 2009 at 03:40 PM.
3v0 is online now  
Old 12th November 2009, 04:01 PM   #6
Default

yeah i knew that about the 10mhz to 40 mhz to make 10 mips thing .... i guess ill look into 16bit and 32bit PIC Micros mainly because its about time i upgraded since i will be trying to do some imaging and video on these things heh and will be working with a large amount of data.. I might as well go bigger... I do have a ARM7 dev board but i feel like its not worth my time to switch over heh but i might just do ARM7 since they are so powerfull and have nice storage.

Also (i use C) so i can port a lot if not all over to it.
AtomSoft is online now  
Old 12th November 2009, 07:44 PM   #7
Default

3v0 check this out:
Nokia 6100 Library
AtomSoft is online now  
Reply

Tags
speed

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
18f4620 and servo cherise Electronic Projects Design/Ideas/Reviews 2 15th September 2009 01:26 PM
18F4620 Question cwickham Micro Controllers 5 4th April 2009 02:52 PM
simulation 18F4620 Mitt Micro Controllers 0 19th February 2009 01:06 PM
pic 18f4620 mai_elec Micro Controllers 3 25th January 2009 10:06 PM
18F452 to 18F4620 Oznog Micro Controllers 0 8th March 2005 02:18 AM



All times are GMT. The time now is 01:26 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker