It is currently 19 May 2012, 18:15





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
 PIC clock source. 
Author Message
Post PIC clock source.
Since the blank PIC doesn't know the type and configuration of its clock
until its programmed with that info, does that mean that a crystal or EXT CR
need not be present during programming?

TIA.


30 Dec 2007, 15:49
Post Re: PIC clock source.
"ian field" <dai.ode@ntlworld.com> wrote in message
news:O6gbj.40321$wD5.19889@newsfe3-gui.ntli.net...
> Since the blank PIC doesn't know the type and configuration of its clock
> until its programmed with that info, does that mean that a crystal or EXT
> CR
> need not be present during programming?
>
> TIA.
>

Ian,

If you are thinking about in-circuit serial programming, you may want to
read Olin Lathrop's article here:
http://www.embedinc.com/picprg/icsp.htm

Also, the Microchip In-Circuit Programming (ICSP) Guide is available from
the Microchip site.

If you are thinking about a stand-alone programmer, then the PIC wouldn't
have anything connected to it, anyway.

Richard


30 Dec 2007, 15:49
Post Re: PIC clock source.
ian field wrote:
> Since the blank PIC doesn't know the type and configuration of its clock
> until its programmed with that info, does that mean that a crystal or EXT CR
> need not be present during programming?
>
> TIA.
>
>
>

No clock needed for programming,it seems to be clocked from the
programmer lines (data,clock,Vpp[+13V])


30 Dec 2007, 15:49
Post Re: PIC clock source.
"ian field" <dai.ode@ntlworld.com> wrote in message
news:O6gbj.40321$wD5.19889@newsfe3-gui.ntli.net...
> Since the blank PIC doesn't know the type and configuration of its clock
> until its programmed with that info, does that mean that a crystal or EXT
> CR
> need not be present during programming?
>
> TIA.
>
>

The pics default to the internal oscillator. There are default configuration
bits.

For programming the clock is external an supplied by the PGCx line. The data
is clocked in so the internal oscillator is not used(well, except for some
internal stuff but not for sending commands and receiving data.


30 Dec 2007, 15:49
Post Re: PIC clock source.
"Jon Slaughter" <Jon_Slaughter@Hotmail.com> wrote in message
news:Jmvbj.677$El5.198@newssvr22.news.prodigy.net...
>
> "ian field" <dai.ode@ntlworld.com> wrote in message
> news:O6gbj.40321$wD5.19889@newsfe3-gui.ntli.net...
>> Since the blank PIC doesn't know the type and configuration of its clock
>> until its programmed with that info, does that mean that a crystal or EXT
>> CR
>> need not be present during programming?
>>
>> TIA.
>>
>>
>
> The pics default to the internal oscillator. There are default
> configuration bits.
>
> For programming the clock is external an supplied by the PGCx line. The
> data is clocked in so the internal oscillator is not used(well, except for
> some internal stuff but not for sending commands and receiving data.
>

The task in hand is that I have tutorials from a number of different sources
and each author seems to have their own favourite clock frequency, for
example most of the assignments in the PIC in practice use 32.768kHz clock.

To make it easier to try assignments from different tutorials I've decided
to build a multi-frequency clock generator that can be connected to whatever
project board I happen to be using, instead of having to keep swapping
crystals and loading capacitors for the different clock frequencies.

If the clock isn't needed during programming then there's no need to make
provision to connect the clock module to any of the programming header
boards I build.


30 Dec 2007, 15:49
Post Re: PIC clock source.
But the PIC defaults to a certain OSC type !
It doesnt just have none.


30 Dec 2007, 15:49
Post Re: PIC clock source.
"Marra" <cresswellavenue@talktalk.net> wrote in message
news:4dc86828-732e-4502-ab13-00e68a72abe5@s12g2000prg.googlegroups.com...
> But the PIC defaults to a certain OSC type !
> It doesnt just have none.
>

Of course not - one of the ICSP pins is a clock signal, I wanted to know if
that alone is sufficient during programming.


30 Dec 2007, 15:49
Post Re: PIC clock source.
On 2007-12-22, ian field <dai.ode@ntlworld.com> wrote:
> Since the blank PIC doesn't know the type and configuration of its clock
> until its programmed with that info, does that mean that a crystal or EXT CR
> need not be present during programming?

You mean like an AVR does? No. You can program it with no clock at all.

--
Ben Jackson AD7GD
<ben@ben.com>
http://www.ben.com/


30 Dec 2007, 15:49
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group, phpBB SEO.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.