CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

16F628A does not work at 3.3V

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
IceMetal



Joined: 20 Nov 2008
Posts: 79
Location: white Plains, NY

View user's profile Send private message Yahoo Messenger

16F628A does not work at 3.3V
PostPosted: Wed Mar 20, 2013 12:06 pm     Reply with quote

according to the datasheet
http://www.digikey.com/product-detail/en/PIC16F628A-I%2FP/PIC16F628A-I%2FP-ND/529766
the pic16f628 should work at 3.3V but I can not find the correct set of fuses to getting working at that voltage anything under 4.2V it turns off.
are this the correct fuses?
#FUSES INTRC
#fuses NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP, INTRC_IO

what am I missing?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Wed Mar 20, 2013 12:20 pm     Reply with quote

Maybe related to the oscillator speed?
Pager 136 of the datasheet...

.. thats a 100% maybe.
_________________
CCS PCM 5.078 & CCS PCH 5.093
temtronic



Joined: 01 Jul 2010
Posts: 9202
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Mar 20, 2013 12:24 pm     Reply with quote

From what I read, you'll have to disable the brownout fuse.
"Brown-out Detect Voltage 3.7 4.0 4.3 V"

So my thinking is that since 3.3 < 3.7 , PIC sees a 'brownout' condition and will not operate.

Simple test to confirm....set fuse to NOBROWNOUT... and see what happens.

Also note that 3.3volts is close to 'not working' and the 'L' version should be used.

hth
jay
IceMetal



Joined: 20 Nov 2008
Posts: 79
Location: white Plains, NY

View user's profile Send private message Yahoo Messenger

PostPosted: Wed Mar 20, 2013 12:33 pm     Reply with quote

temtronic wrote:
From what I read, you'll have to disable the brownout fuse.
"Brown-out Detect Voltage 3.7 4.0 4.3 V"

So my thinking is that since 3.3 < 3.7 , PIC sees a 'brownout' condition and will not operate.

Simple test to confirm....set fuse to NOBROWNOUT... and see what happens.

Also note that 3.3volts is close to 'not working' and the 'L' version should be used.

hth
jay


thank you Jay, that works!!!
temtronic



Joined: 01 Jul 2010
Posts: 9202
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Mar 20, 2013 1:02 pm     Reply with quote

some days I amaze myself of the seemingly useless trivia my mind retains....
glad it works.....
prof in college said..better to know which book the information is in, than trying to remember everything....life is too short.

jay
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Wed Mar 20, 2013 1:11 pm     Reply with quote

DR. J strikes again ;-))


if this is for a commercial release,
you owe it to your customers to use the L , low volt version.

you are in MARGINAL performance land and might check for things like oscillator jitter while in this LV situation compared
with the standard F part.
Mustang1945



Joined: 07 Jul 2015
Posts: 31
Location: Ecuador

View user's profile Send private message

PostPosted: Thu Oct 08, 2015 3:45 pm     Reply with quote

temtronic wrote:
From what I read, you'll have to disable the brownout fuse.
"Brown-out Detect Voltage 3.7 4.0 4.3 V"

So my thinking is that since 3.3 < 3.7 , PIC sees a 'brownout' condition and will not operate.

Simple test to confirm....set fuse to NOBROWNOUT... and see what happens.

Also note that 3.3volts is close to 'not working' and the 'L' version should be used.

hth
jay


temtronic,thanks... i had the same problem with a PIC16f887, but now it works!!!
drolleman



Joined: 03 Feb 2011
Posts: 116

View user's profile Send private message

PostPosted: Thu Oct 08, 2015 5:02 pm     Reply with quote

The vdd programming voltage must be above 4.5v. Yes it will run at 3.0v +. If you look at table 17-1 it states that the vdd min must be at 4.5v for block erase (D132) to work, and programming. The 628a becomes a pain below 4.5, even the LF version.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 09, 2015 7:17 am     Reply with quote

A good upgrade chip for the 16F628 or 16F628a is the 16F1847 (or LF).
It's pin compatible, is designed for low-power (especially the LF version),
has many new features, and costs much less. We did a cost reduction
mod on an old product and used this PIC. It does require ICD3 or Pickit3
or the CCS equivalent programmer. It's supported by MPLAB 8.92
and MPLAB-X and CCS.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group