Multiple problems with PIC16LF15313


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Multiple problems with PIC16LF15313

    I believe these newer PICs default to analog inputs. Try:

    ANSELA = 0

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    Did you find this post helpful? Yes | No

    Default Re: Multiple problems with PIC16LF15313

    Quote Originally Posted by mpgmike View Post
    I believe these newer PICs default to analog inputs
    i'd be astonished if you could find a pbp supported chip that doesn't default to analog
    Warning I'm not a teacher

  3. #3
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Multiple problems with PIC16LF15313

    This also sounds like the MCLR pin may not be tied high.

  4. #4
    Join Date
    Feb 2009
    Location
    Southern California
    Posts
    86


    Did you find this post helpful? Yes | No

    Default Re: Multiple problems with PIC16LF15313

    Thanks everyone. I'll try that in a couple hours, but you are probably correct. I was migrating from a 16F54, which didn't have analog options on the pins I was using, so when I was updating all the registers, I didn't think about adding new registers. I'm pretty sure you guys are correct though. I did have MCLR tied high. There must be some analog conversion going on that causes the unit to reset and somehow the pauseus command is enough to prevent it, but it isn't worth investigating if going digital cleans it all up.

    Thanks again.

Similar Threads

  1. Replies: 5
    Last Post: - 29th August 2014, 00:43
  2. Programming multiple pics with multiple programs
    By Luckyborg in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd April 2013, 17:47
  3. Multiple AND's
    By tazntex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st November 2008, 10:42
  4. Problems controlling multiple pics
    By gandora in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 29th May 2007, 08:59
  5. multiple lcd's
    By schu4647 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd June 2006, 05:02

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