Connect with us

Looking for newer equivalent of PIC16C84

Discussion in 'Electronic Basics' started by [email protected], Sep 1, 2005.

Scroll to continue with content
  1. Guest

    I have a program written for a PIC16C84 microcontroller that I need to
    implement using one of the newer equivalents.

    I know that the 'F' series replaced the 'C' series, but these might
    have been discontinued as well.

    Here is a link to the device I am building:

    There are circuit diagrams towards the bottom for the PIC and code.

    Any assistance would be greatly appreciated!

  2. Steve,

    The PIC16C84 was discontinued and its successor, the PIC16F84(A), can be
    considered obsolete. Both can be replaced by the PIC16F628 which has more
    content in the same package. But... its architecture differs and its
    objectcode is not compatible. Even the source code is not fully compatible,
    so you may have to made changes in that source code and recompile it. I've
    done this for a PIC16C56 source and it's quite some work. Nevertheless it
    can be done... if you can get that source code. I can't find it on the
    webpage you mentioned.

    petrus bitbyter
  3. Guest

  4. Steve,

    A quick inspection learns that you have to change at least two things:
    - Leave the configuration macros out. (Not the configurationdirective.) I
    did not check whether or not you have to add something to the configuration
    word. The parallel programming bit may need to be reset for instance.
    - Add 14H to the addresses of the variables as the general purpose registers
    of the PIC16F628 start at 20H rather then at 0Ch in the PIC16C84.

    petrus bitbyter
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day