16f887a


Closed Thread
Results 1 to 7 of 7

Thread: 16f887a

  1. #1
    Join Date
    Jun 2008
    Posts
    84

    Default 16f887a

    After using the PIC kit 2 with the 16f887 i decided to build another device using 16f877A
    I bough the DIP 40 pin chip and connected it according to the 887 circuit but of course using the correct leg number that match the 877A

    I can write to the device and verify the code, which I guess means that everything ok, but I couldn't run my program or any other simple test to see its running.
    I was trying to SEROUT some data to the UART.

    Is there something wrong i'm doing ?


    Menta.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    It would help to see some code.
    This chip has ADC so...
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hmm, never seen an 887A

    And along with the A/D on PORT's A,B and E ...
    The 16F887 has an Internal Oscillator, but the 16F877A doesn't?
    DT

  4. #4
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    Along the 16f877A circuits I saw, I didn't notice someone who connected an external ocs.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Here is a circuit and project;
    http://rentron.com/PICX1.htm

    The data sheet helps too
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Jun 2008
    Posts
    84


    Did you find this post helpful? Yes | No

    Default

    Yea, the problem was an external osc.
    I succeded to use a 8Mhz (also need to define that in the code), but for some reson 20Mhz doesn't work.

    Thank,
    Menta

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Do you have the config set HS_OSC or something like that.
    Dave
    Always wear safety glasses while programming.

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