Society of Robots - Robot Forum

Software => Software => Topic started by: mpuvdd on January 21, 2008, 04:13:28 PM

Title: PICMCUTOSC
Post by: mpuvdd on January 21, 2008, 04:13:28 PM
Hello all,
Could anyone tell me what TOSC stands for and what exactly it is?  I can't find anything on the topic in any search.

Thanks,
mpuvdd
Title: Re: PICMCUTOSC
Post by: rgcustodio on January 21, 2008, 04:23:34 PM
looks like timing or oscillator related.
have you checked the data sheet of the specific PIC?
Title: Re: PICMCUTOSC
Post by: hazzer123 on January 21, 2008, 04:24:20 PM
I think it means Timer Oscillator.

For example on a PIC, there will be 2 pins TOSC1 and TOSC2 which can be wired to a crystal oscillator. This is a sort of secondary oscillator which runs a timer on the chip. This is useful for having a Real Time Clock in the pic since a crystal with frequency 32768 KHz can be used (has nice divisibility).

Oh and Tosc can also be the time for one pulse from the oscillator. For a PIC, for every 4 oscillator pulses, one cycle happens. So Tcycle = 4*Tosc.
Title: Re: PICMCUTOSC
Post by: mpuvdd on January 21, 2008, 06:26:44 PM
I got ya, makes sense.
Yeah, it actually wasn't in the data sheet either.

Thanks a lot,
mpuvdd