16F876 ADCON,CMcon,Tris settings


Results 1 to 8 of 8

Threaded View

  1. #5
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    As well as implicitly disabling the COMPARATORS, I also disable the VOLTAGE REFERENCE MODULE on the 16F877A...

    CMCON=7
    CVRCON=0

    Those two lines are the ONLY differences between the 'A' and the non-A I've ever included.

    You can then progress up to the 18F242/252 (with minor ADC software changes), but there's a HARDWARE difference with the ADC's once you go up to the 18F2420/18F2520 series (eg ADCON1 ADC Configuration %xxxx0100 from the 16F876 can't be pin configured on the 18F2420's).
    Last edited by Melanie; - 10th March 2010 at 18:59.

Similar Threads

  1. Config settings
    By Adrian in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th December 2007, 18:24
  2. 16F876 Usart Receive
    By syscoder in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st March 2007, 15:43
  3. Changing Settings ???
    By tico in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th December 2006, 03:10
  4. 16F876 : settings for 40Mhz
    By mischl in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 11th April 2005, 16:36
  5. Need help with migration 16F876 -> 18F252
    By NavMicroSystems in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 24th February 2004, 16:22

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts