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.
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.
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?
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.
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.
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.
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
'@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.
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.
Bookmarks