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 support@ccsinfo.com

--- pics with gate control of internal timer clock counting-

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



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

--- pics with gate control of internal timer clock counting-
PostPosted: Sun Oct 23, 2011 6:07 pm     Reply with quote

I inherited a design with a 16f887 using the T1 gate function to get 2 us resolution for event time events using a sys clock of 16 mhz.

I'd like to improve the resolution to 1 us with an 18F part at 32 mhz , but find that this gating feature is not universally available.

(because of processing time requirements I can't simply jump the present prescalar setup down from /8 to /4 - as that already failed )

A search of the forum was not successful -
the microchip com web site 'java' interactive device selector was no help either.

Can anybody point me to a resource that clearly identifies parts WITH the
T1 ( or really ANY of the timers ) WITH the external gate feature ??
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Oct 23, 2011 7:01 pm     Reply with quote

One way would be to use Google. Search the Microchip website for the
following things: A PDF file for 18F with a T1G pin. Put in the TBLRD
instruction to make sure it doesn't return 16F or 12F results:
Quote:

site:microchip.com type:pdf PIC18F T1G TBLRD
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Mon Oct 24, 2011 6:39 pm     Reply with quote

i could not make ANY web or microchip search turn up a result ;-((

i only asked here - in case somebody knew offhand -
of any 18F , 5V parts that had T1G support

so i stated a microchip support ticket on it.

will share the results when i hear from m-chip on this question

A-B
temtronic



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

View user's profile Send private message

PostPosted: Mon Oct 24, 2011 6:53 pm     Reply with quote

Any chance you could use another pin as the 'T1G' pin to control the timer on/off bit in the SFR ?
Just trying to think of options.....
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Mon Oct 24, 2011 7:23 pm     Reply with quote

I also searched the collection of PDF's on the dozen 28 & 40 pin 18f's i've evaluated or used in a design. No luck there either - will wait and see what m-chip says.
Ttelmah



Joined: 11 Mar 2010
Posts: 19369

View user's profile Send private message

PostPosted: Tue Oct 25, 2011 2:11 am     Reply with quote

Did you actually 'try' PCM Programmers suggestion?.
It merrily returns 9 PIC18 chip data sheets, with the requirements. The very first one, 64MHz operation, gate control. The F version as opposed to the LF, runs to 5.5v max.
A good demo of how to actually _use_ Google....

Best Wishes
temtronic



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

View user's profile Send private message

PostPosted: Tue Oct 25, 2011 5:33 am     Reply with quote

It is amazing that Google can find the 'right stuff' FAST ! Now , if it'd show me WHERE I left my truck keys.......I'd be outta here !
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