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

16F88 Comparator Module VRef

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








16F88 Comparator Module VRef
PostPosted: Tue May 24, 2005 8:46 pm     Reply with quote

On the 16F88 if the voltage reference CVROE bit is set and the vref is output to the RA2/AN2/CVRef/VRef- pin, and the Comparator Module is configured for mode 6, is the internal vref used?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 24, 2005 9:06 pm     Reply with quote

See this thread. You must use Mode 2 if you want to use the internal Vref.
http://www.ccsinfo.com/forum/viewtopic.php?t=22955&highlight=16f88
dyeatman



Joined: 06 Sep 2003
Posts: 1923
Location: Norman, OK

View user's profile Send private message

PostPosted: Tue May 24, 2005 9:25 pm     Reply with quote

This is shown in the datasheet in section 14.0, page 127, first paragraph.

Quote:

14.0
The comparator voltage reference generator is a 16-tap
resistor ladder network that provides a fixed voltage
reference when the comparators are in mode ‘010’.
A
programmable register controls the function of the reference
generator
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