16F1827 setup


Closed Thread
Results 1 to 26 of 26

Thread: 16F1827 setup

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Just remove _VCAPEN_OFF from your config line.

    It's definitely in my P16F1827.INC file, but if Microchip has updated include files, it may
    not be in the one you have. It should work either way.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2


    Did you find this post helpful? Yes | No

    Wink

    Bruce,

    Thanks for the help. It compiled without errors. Now off to testing! I will post back my results later.

    Nick

  3. #3
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Thumbs up

    I'll bet this thread has already saved me much frustration and gnashing of teeth.

    I assume that, when the device is erased, the CONFIGx registers are all 1s; and that all I have to specify are the parameters that would require a 0 to get what I want. Anything wrong with that assumption?
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  4. #4
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Macgman2000 View Post
    Bruce,

    Thanks for the help. It compiled without errors. Now off to testing! I will post back my results later.

    Nick
    Hello Macgman2000

    Were you ever able to get anything working? If so how?

    I've followed the suggestions in this thread, although all my files were already updated in my v2.60a. I still get the errors. I have the latest and greatest Mplab and Bruces' code simply will not compile.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: 16F1827 setup

    Quote Originally Posted by Bruce View Post
    It's definitely in my P16F1827.INC file, but if Microchip has updated include files, it may
    not be in the one you have. It should work either way.
    Hi Bruce.

    I searched on two MPLAB installations for this VCAPEN thing.

    It is not in my *.inc files and also it is absent from the DS41391C pdf file too.

    I wonder what is this for. Just curious.

    Ioannis

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: 16F1827 setup

    Hi Ioannis,

    In an early data sheet (and silicon I assume?) this was a config2, bit 4 option like in the 16F193x series for the voltage regulator capacitor enable/disable.

    It magically vanished when the newer data sheet & .inc files were released, so I would just ignore it.

    If you look in the CONFIG 2 section you'll see where they changed bit #4 to Reserved. Not sure what happened?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: 16F1827 setup

    Hmm, maybe ghosts in the bits...

    Who knows?

    Thanks anyway.

    Ioannis

Similar Threads

  1. 16F913 setup
    By Andre_Pretorius in forum General
    Replies: 31
    Last Post: - 17th April 2010, 23:45
  2. TMR1 external LP xtal setup check
    By comwarrior in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th October 2009, 18:11
  3. ADCIN setup for PIC16F688
    By PixController in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th February 2008, 18:38
  4. ADCIN setup help need
    By dangill in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th February 2008, 15:22
  5. Use Button For setup
    By tump in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 21st November 2007, 19:43

Members who have read this thread : 3

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