Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | PIC Timing

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

PIC Timing - Author Unknown - Jan 31 15:54:00 2004

I need to use an External Oscilator for my 16F628. Which setting
should I use? LP, XT, HS, EC?

What else do I need to do?

Thanks for any help.





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: PIC Timing - John Remington - Jan 31 17:49:00 2004

XT

--- wrote:
> I need to use an External Oscilator for my 16F628. Which setting
> should I use? LP, XT, HS, EC?
>
> What else do I need to do?
>
> Thanks for any help.

__________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Scott Kellish - Jan 31 18:14:00 2004

It depends on what freq Osc your using. From page 93, table 14-2 of the PIC16F62X datasheet (which I assume you forgot to mention that you read but were confused :) ),
 
Mode        Freq   
LP            32kHz or 200kHz
XT            100kHz, 2MHz or 4MHz
HS            8MHz, 10MHz or 20MHz
 
You need to refer to the data sheet because you must include capacitors on each leg of the XTAL. The tables give the appropriate values. There is also a similar table if your using a ceramic resonator circuit.
 
Scott Kellish
 
----- Original Message -----
From: John Remington
To: p...@yahoogroups.com
Sent: Saturday, January 31, 2004 5:49 PM
Subject: Re: [piclist] PIC Timing

XT

--- h...@yahoo.com wrote:
> I need to use an External Oscilator for my 16F628.  Which setting
> should I use? LP, XT, HS, EC?
>
> What else do I need to do?
>
> Thanks for any help.

__________________________________to unsubscribe, go to http://www.yahoogroups.com and follow the instructions

Yahoo! Groups Links
  • To






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Author Unknown - Jan 31 18:19:00 2004

When I put it on XT, it doesn't work at all. Right now, i have it on
INT....
ideas?

--- In , John Remington <jrem123@y...> wrote:
> XT
>
> --- honamos@y... wrote:
> > I need to use an External Oscilator for my 16F628. Which setting
> > should I use? LP, XT, HS, EC?
> >
> > What else do I need to do?
> >
> > Thanks for any help.
> >
> > __________________________________




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Scott Lee - Jan 31 18:20:00 2004

Nope. Use EC and you will gain the use of RA6!

--- In , John Remington <jrem123@y...> wrote:
> XT
>
> --- honamos@y... wrote:
> > I need to use an External Oscilator for my 16F628. Which
setting
> > should I use? LP, XT, HS, EC?
> >
> > What else do I need to do?
> >
> > Thanks for any help.
> >
> > __________________________________




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Phil - Jan 31 19:44:00 2004

doesn't this all depend on what he means by external oscillator? If
he means crystal or resonator, then this answer is correct but if he
wants to generate the clock elsewhere and pump it into the pic, then
EC is the way to go.

--- In , "Scott Kellish" <skellish@c...> wrote:
> It depends on what freq Osc your using. From page 93, table 14-2 of
the PIC16F62X datasheet (which I assume you forgot to mention that
you read but were confused :) ),
>
> Mode Freq
> LP 32kHz or 200kHz
> XT 100kHz, 2MHz or 4MHz
> HS 8MHz, 10MHz or 20MHz
>
> You need to refer to the data sheet because you must include
capacitors on each leg of the XTAL. The tables give the appropriate
values. There is also a similar table if your using a ceramic
resonator circuit.
>
> Scott Kellish
>
> ----- Original Message -----
> From: John Remington
> To:
> Sent: Saturday, January 31, 2004 5:49 PM
> Subject: Re: [piclist] PIC Timing > XT
>
> --- honamos@y... wrote:
> > I need to use an External Oscilator for my 16F628. Which
setting
> > should I use? LP, XT, HS, EC?
> >
> > What else do I need to do?
> >
> > Thanks for any help.
> >
> > __________________________________ > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions > Yahoo! Groups Sponsor
> ADVERTISEMENT > --------------------------------------------------------------------
----------
> Yahoo! Groups Links
>
> a.. To




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: PIC Timing - Scott Kellish - Jan 31 21:44:00 2004

Your right in that it depends on what he wants to use as a clock. He said "external osc", but if he's going to use a clock derived elsewhere than EC would be used. He really needs to read the datasheet as all (most) of the answers are right there.
 
Scott
----- Original Message -----
From: Phil
To: p...@yahoogroups.com
Sent: Saturday, January 31, 2004 7:44 PM
Subject: [piclist] Re: PIC Timing

doesn't this all depend on what he means by external oscillator?  If
he means crystal or resonator, then this answer is correct but if he
wants to generate the clock elsewhere and pump it into the pic, then
EC is the way to go.

--- In p...@yahoogroups.com, "Scott Kellish" <skellish@c...> wrote:
> It depends on what freq Osc your using. From page 93, table 14-2 of
the PIC16F62X datasheet (which I assume you forgot to mention that
you read but were confused :) ),
>
> Mode        Freq   
> LP            32kHz or 200kHz
> XT            100kHz, 2MHz or 4MHz
> HS            8MHz, 10MHz or 20MHz
>
> You need to refer to the data sheet because you must include
capacitors on each leg of the XTAL. The tables give the appropriate
values. There is also a similar table if your using a ceramic
resonator circuit.
>
> Scott Kellish
>
>   ----- Original Message -----
>   From: John Remington
>   To: p...@yahoogroups.com
>   Sent: Saturday, January 31, 2004 5:49 PM
>   Subject: Re: [piclist] PIC Timing>   XT
>
>   --- honamos@y... wrote:
>   > I need to use an External Oscilator for my 16F628.  Which
setting
>   > should I use? LP, XT, HS, EC?
>   >
>   > What else do I need to do?
>   >
>   > Thanks for any help.
>   >
>   >   __________________________________
>  
>
>   to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
>             
>       
>       > --------------------------------------------------------------------
----------
>   Yahoo! Groups Links
>
>     a.. To





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Author Unknown - Jan 31 21:57:00 2004

Well,
I have a 4MHz Oscillator. I tried XT, but it doesn't work. It only
works on INTRC(IN) for some reason. I have the appropriate capacitor
values for XT, but it still doesn't work.

Ideas?

Shamoon
--- In , "Scott Kellish" <skellish@c...> wrote:
> It depends on what freq Osc your using. From page 93, table 14-2 of
the PIC16F62X datasheet (which I assume you forgot to mention that
you read but were confused :) ),
>
> Mode Freq
> LP 32kHz or 200kHz
> XT 100kHz, 2MHz or 4MHz
> HS 8MHz, 10MHz or 20MHz
>
> You need to refer to the data sheet because you must include
capacitors on each leg of the XTAL. The tables give the appropriate
values. There is also a similar table if your using a ceramic
resonator circuit.
>
> Scott Kellish
>
> ----- Original Message -----
> From: John Remington
> To:
> Sent: Saturday, January 31, 2004 5:49 PM
> Subject: Re: [piclist] PIC Timing > XT
>
> --- honamos@y... wrote:
> > I need to use an External Oscilator for my 16F628. Which
setting
> > should I use? LP, XT, HS, EC?
> >
> > What else do I need to do?
> >
> > Thanks for any help.
> >
> > __________________________________ > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions > Yahoo! Groups Sponsor
> ADVERTISEMENT > --------------------------------------------------------------------
----------
> Yahoo! Groups Links
>
> a.. To





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: PIC Timing - Chad Russel - Jan 31 22:28:00 2004

If you have an oscillator and not a crystal, the you don't need any
capacitors. Just hook it up to the OSCIN or OSC1 pin and set the PIC
to HS, XT or LP.

--- wrote:
> Well,
> I have a 4MHz Oscillator. I tried XT, but it doesn't work. It only
> works on INTRC(IN) for some reason. I have the appropriate capacitor
>
> values for XT, but it still doesn't work.
>
> Ideas?
>
> Shamoon
> --- In , "Scott Kellish" <skellish@c...>
> wrote:
> > It depends on what freq Osc your using. From page 93, table 14-2 of
>
> the PIC16F62X datasheet (which I assume you forgot to mention that
> you read but were confused :) ),
> >
> > Mode Freq
> > LP 32kHz or 200kHz
> > XT 100kHz, 2MHz or 4MHz
> > HS 8MHz, 10MHz or 20MHz
> >
> > You need to refer to the data sheet because you must include
> capacitors on each leg of the XTAL. The tables give the appropriate
> values. There is also a similar table if your using a ceramic
> resonator circuit.
> >
> > Scott Kellish
> >
> > ----- Original Message -----
> > From: John Remington
> > To:
> > Sent: Saturday, January 31, 2004 5:49 PM
> > Subject: Re: [piclist] PIC Timing
> >
> >
> > XT
> >
> > --- honamos@y... wrote:
> > > I need to use an External Oscilator for my 16F628. Which
> setting
> > > should I use? LP, XT, HS, EC?
> > >
> > > What else do I need to do?
> > >
> > > Thanks for any help.
> > >
> > >
> >
> >
> > __________________________________
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
> >
> >
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> >
> >
> >
> >
> >
> >
> --------------------------------------------------------------------
> ----------
> > Yahoo! Groups Links
> >
> > a.. To

=====
My software has no bugs. Only undocumented features.

__________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Author Unknown - Feb 1 0:07:00 2004

Hey Chad,
I'm using a crystal. A 4MHz crystal...

What now?

Thanks for your help.
Shamoon

--- In , Chad Russel <chadrussel@y...> wrote:
> If you have an oscillator and not a crystal, the you don't need any
> capacitors. Just hook it up to the OSCIN or OSC1 pin and set the
PIC
> to HS, XT or LP.
>
> --- honamos@y... wrote:
> > Well,
> > I have a 4MHz Oscillator. I tried XT, but it doesn't work. It
only
> > works on INTRC(IN) for some reason. I have the appropriate
capacitor
> >
> > values for XT, but it still doesn't work.
> >
> > Ideas?
> >
> > Shamoon
> > --- In , "Scott Kellish" <skellish@c...>
> > wrote:
> > > It depends on what freq Osc your using. From page 93, table 14-
2 of
> >
> > the PIC16F62X datasheet (which I assume you forgot to mention
that
> > you read but were confused :) ),
> > >
> > > Mode Freq
> > > LP 32kHz or 200kHz
> > > XT 100kHz, 2MHz or 4MHz
> > > HS 8MHz, 10MHz or 20MHz
> > >
> > > You need to refer to the data sheet because you must include
> > capacitors on each leg of the XTAL. The tables give the
appropriate
> > values. There is also a similar table if your using a ceramic
> > resonator circuit.
> > >
> > > Scott Kellish
> > >
> > > ----- Original Message -----
> > > From: John Remington
> > > To:
> > > Sent: Saturday, January 31, 2004 5:49 PM
> > > Subject: Re: [piclist] PIC Timing
> > >
> > >
> > > XT
> > >
> > > --- honamos@y... wrote:
> > > > I need to use an External Oscilator for my 16F628. Which
> > setting
> > > > should I use? LP, XT, HS, EC?
> > > >
> > > > What else do I need to do?
> > > >
> > > > Thanks for any help.
> > > >
> > > >
> > >
> > >
> > > __________________________________
> > >
> > >
> > > to unsubscribe, go to http://www.yahoogroups.com and follow
the
> > instructions
> > >
> > >
> > > Yahoo! Groups Sponsor
> > > ADVERTISEMENT
> > >
> > >
> > >
> > >
> > >
> > >
> > ------------------------------------------------------------------
--
> > ----------
> > > Yahoo! Groups Links
> > >
> > > a.. To
> >
> > =====
> My software has no bugs. Only undocumented features.
>
> __________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: PIC Timing - Phil - Feb 1 0:59:00 2004

you know, shamoon, this is a bit like the movie Groundhog Day. About
a month ago, you had exactly the same questions and got exactly the
same answers. Since you obviously haven't solved your problem, you
should try a different tack. Maybe get an o'scope and see if the
crystal is oscillating or break down and buy a prebuilt proto board
like one of the MELabs LabX boards.

--- In , honamos@y... wrote:
> Hey Chad,
> I'm using a crystal. A 4MHz crystal...
>
> What now?
>
> Thanks for your help.
> Shamoon
>
> --- In , Chad Russel <chadrussel@y...> wrote:
> > If you have an oscillator and not a crystal, the you don't need
any
> > capacitors. Just hook it up to the OSCIN or OSC1 pin and set the
> PIC
> > to HS, XT or LP.
> >
> > --- honamos@y... wrote:
> > > Well,
> > > I have a 4MHz Oscillator. I tried XT, but it doesn't work. It
> only
> > > works on INTRC(IN) for some reason. I have the appropriate
> capacitor
> > >
> > > values for XT, but it still doesn't work.
> > >
> > > Ideas?
> > >
> > > Shamoon
> > > --- In , "Scott Kellish" <skellish@c...>
> > > wrote:
> > > > It depends on what freq Osc your using. From page 93, table
14-
> 2 of
> > >
> > > the PIC16F62X datasheet (which I assume you forgot to mention
> that
> > > you read but were confused :) ),
> > > >
> > > > Mode Freq
> > > > LP 32kHz or 200kHz
> > > > XT 100kHz, 2MHz or 4MHz
> > > > HS 8MHz, 10MHz or 20MHz
> > > >
> > > > You need to refer to the data sheet because you must include
> > > capacitors on each leg of the XTAL. The tables give the
> appropriate
> > > values. There is also a similar table if your using a ceramic
> > > resonator circuit.
> > > >
> > > > Scott Kellish
> > > >
> > > > ----- Original Message -----
> > > > From: John Remington
> > > > To:
> > > > Sent: Saturday, January 31, 2004 5:49 PM
> > > > Subject: Re: [piclist] PIC Timing
> > > >
> > > >
> > > > XT
> > > >
> > > > --- honamos@y... wrote:
> > > > > I need to use an External Oscilator for my 16F628. Which
> > > setting
> > > > > should I use? LP, XT, HS, EC?
> > > > >
> > > > > What else do I need to do?
> > > > >
> > > > > Thanks for any help.
> > > > >
> > > > >
> > > >
> > > >
> > > > __________________________________
> > > >
> > > >
> > > > to unsubscribe, go to http://www.yahoogroups.com and follow
> the
> > > instructions
> > > >
> > > >
> > > > Yahoo! Groups Sponsor
> > > > ADVERTISEMENT
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > ----------------------------------------------------------------
--
> --
> > > ----------
> > > > Yahoo! Groups Links
> > > >
> > > > a.. To
> > >
> > >
> >
> >
> > =====
> > My software has no bugs. Only undocumented features.
> >
> > __________________________________
> >






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: PIC Timing - Chad Russel - Feb 1 1:24:00 2004

:-p Is that Shamoon again? One more day until the blessed event
http://www.punxsutawneyphil.com/ My sister lives about an hour away,
and has threatened to take him out on Monday with her .30-06.

Same spiel as before. Leads to xtal as short as possible. Parallel
cut crystal. Use the crystal manufacturer's recommended capacitors.
Don't try to power your coffee pot also with the output of the xtal.
It's hard to keep these things from oscillating when they are not
supposed to. :-p

Good luck,
Chad
--- Phil <> wrote:
> you know, shamoon, this is a bit like the movie Groundhog Day. About
>
> a month ago, you had exactly the same questions and got exactly the
> same answers. Since you obviously haven't solved your problem, you
> should try a different tack. Maybe get an o'scope and see if the
> crystal is oscillating or break down and buy a prebuilt proto board
> like one of the MELabs LabX boards.
>
> --- In , honamos@y... wrote:
> > Hey Chad,
> > I'm using a crystal. A 4MHz crystal...
> >
> > What now?
> >
> > Thanks for your help.
> > Shamoon
> >
> > --- In , Chad Russel <chadrussel@y...>
> wrote:
> > > If you have an oscillator and not a crystal, the you don't need
> any
> > > capacitors. Just hook it up to the OSCIN or OSC1 pin and set the
>
> > PIC
> > > to HS, XT or LP.
> > >
> > > --- honamos@y... wrote:
> > > > Well,
> > > > I have a 4MHz Oscillator. I tried XT, but it doesn't work. It
>
> > only
> > > > works on INTRC(IN) for some reason. I have the appropriate
> > capacitor
> > > >
> > > > values for XT, but it still doesn't work.
> > > >
> > > > Ideas?
> > > >
> > > > Shamoon
> > > > --- In , "Scott Kellish" <skellish@c...>
> > > > wrote:
> > > > > It depends on what freq Osc your using. From page 93, table
> 14-
> > 2 of
> > > >
> > > > the PIC16F62X datasheet (which I assume you forgot to mention
> > that
> > > > you read but were confused :) ),
> > > > >
> > > > > Mode Freq
> > > > > LP 32kHz or 200kHz
> > > > > XT 100kHz, 2MHz or 4MHz
> > > > > HS 8MHz, 10MHz or 20MHz
> > > > >
> > > > > You need to refer to the data sheet because you must include
> > > > capacitors on each leg of the XTAL. The tables give the
> > appropriate
> > > > values. There is also a similar table if your using a ceramic
> > > > resonator circuit.
> > > > >
> > > > > Scott Kellish
> > > > >
> > > > > ----- Original Message -----
> > > > > From: John Remington
> > > > > To:
> > > > > Sent: Saturday, January 31, 2004 5:49 PM
> > > > > Subject: Re: [piclist] PIC Timing
> > > > >
> > > > >
> > > > > XT
> > > > >
> > > > > --- honamos@y... wrote:
> > > > > > I need to use an External Oscilator for my 16F628. Which
>
> > > > setting
> > > > > > should I use? LP, XT, HS, EC?
> > > > > >
> > > > > > What else do I need to do?
> > > > > >
> > > > > > Thanks for any help.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > __________________________________
> > > > >
> > > > >
> > > > > to unsubscribe, go to http://www.yahoogroups.com and follow
>
> > the
> > > > instructions
> > > > >
> > > > >
> > > > > Yahoo! Groups Sponsor
> > > > > ADVERTISEMENT
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> ----------------------------------------------------------------
> --
> > --
> > > > ----------
> > > > > Yahoo! Groups Links
> > > > >
> > > > > a.. To
> > > >
> > > >
> > >
> > >
> > > =====
> > > My software has no bugs. Only undocumented features.
> > >
> > > __________________________________
> >
=====
My software has no bugs. Only undocumented features.

__________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )