pic16LF819 not working with 3.3V


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2007
    Posts
    14

    Default pic16LF819 not working with 3.3V

    Does anyone know is there is a register value I have to set to get my pic16LF819 to work with 3.3V. It works fine with 5V.

  2. #2
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    What frequency are you at...And, have you tried HS oscillator setting if you are using a crystal/resonator? What about trying the internal oscillator to see if that works?

  3. #3
    Join Date
    Mar 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default

    I'm using a 4MHz external crystal and have XT_OSC set. This circuit works fine with an pic16F818 and pic16F84A but not with PIC16LF819 and like I mentioned earlier if I use 5 Volts as power supply the chip runs.

  4. #4
    Join Date
    Mar 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Disabling BOR

    I found in the sheets that if VDD goes below 4V a reset on brown out can occur and keep the chip from firing up.
    I have a line of code that reads

    @ DEVICE XT_OSC, MCLR_OFF

    I think this assembly statelment sets or resets configuration bits. I do not know the syntax for turning off or on other configuration bits. Does anyone know how to reset BOR or where this information is.

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    I think what Ron was trying to say is: The oscillator gets more power when HS is set instead of XT. I read that somewhere.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6
    Join Date
    Mar 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default I tried the HS

    I tried the HS setting and it still does not work. I think it has something to do with the Reset on Brown Out and I don't know how to deactivate the BOR

  7. #7
    Join Date
    Mar 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Got it

    '@DEVICE BOD_OFF' is what needed to be included. Does anyone know where I can find the information for the different configuration bit codes. i.e MCLR_OFF, XT_OSC, BOD_OFF etc.

  8. #8
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Try for mpasm @ __CONFIG & _BODEN_OFF
    for PM @ DEVICE PIC16LF819, BOD_OFF

    I am not sure if this pic has BOD, still looking at the data sheet
    edit: Yep as Paul correctly stated, info found in m16f81x.inc file
    Last edited by Archangel; - 16th March 2007 at 06:34.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  9. #9
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by jjohannson View Post
    '@DEVICE BOD_OFF' is what needed to be included. Does anyone know where I can find the information for the different configuration bit codes. i.e MCLR_OFF, XT_OSC, BOD_OFF etc.
    It is BOD_OFF you need (as you noted)
    - see datasheet section 12.1
    - see 16F819.inc file in your PBP folder
    - see m16F819.inc in your INC folder in your PBP folder
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

Similar Threads

  1. 2x16 lcd not working with pic16f72
    By vu2iia in forum Schematics
    Replies: 4
    Last Post: - 16th February 2011, 14:59
  2. Blink.Bas on 18f45k20 Newbie seeks working example.
    By DiscoEd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 03:36
  3. Pic 16 F628A not working
    By turkuaz in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th March 2009, 12:26
  4. 3.3V not working with 16f818
    By jjohannson in forum General
    Replies: 3
    Last Post: - 8th March 2007, 20:53
  5. Hserin not working...
    By robert0 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd August 2005, 12:25

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