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 CCS Technical Support

Power another IC from PIC internal LDO

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



Joined: 28 Jun 2014
Posts: 38

View user's profile Send private message

Power another IC from PIC internal LDO
PostPosted: Mon Jun 30, 2014 3:10 pm     Reply with quote

Hi all,
Is it possible to power another components of my board from PIC internal LDO ?

I'm using PIC16F1459 with 3.7v battery (4.2v full) and I need to power another part of my board with 3.3v.

I was thinking to use Vusb3v3, is it a good idea ?


Edit: Mistyped, I mean PIC16F1459.


Last edited by gabirelms on Tue Jul 01, 2014 5:52 am; edited 1 time in total
Ttelmah



Joined: 11 Mar 2010
Posts: 19543

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 2:50 am     Reply with quote

No.

You don't have regulator.....

Yours is an LF device. On the LF device, _you_ have to supply VUSB externally.
Quote from the data sheet:
"On F devices, the regulator is powered by VDD. On LF devices, the VUSB3V3 pin should be externally connected to VDD."
_Externally connected_. Vdd has to be between 3, and 3.6v, and directly feed Vusb.

It's rather pointless using a USB capable chip, since you can't use USB with your supply voltage....
gabirelms



Joined: 28 Jun 2014
Posts: 38

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 5:51 am     Reply with quote

Sorry, I mistyped.
I mean PIC16F1459.
This one has internal LDO, and Vusb 3v3 has 3.3v output.
temtronic



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

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 6:53 am     Reply with quote

What is the 'device' ? How much current does it draw under MAXIMUM load conditions ?

I doubt the LDO has enough current capacity though it's not in the datasheet( well, that I could find....)

Perhaps you can power the 'device' from an I/O pin ? Providing it doesn't draw too much current this could be a viable method.

hth
jay
gabirelms



Joined: 28 Jun 2014
Posts: 38

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 8:13 am     Reply with quote

It is a motion dection sensor. It consumes 70uA in stand-by and 500uA when it wakes up, only 2-3 seconds.

What another I/O can I use ?
temtronic



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

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 2:28 pm     Reply with quote

Any free I/O pin will easily supply 500uA all day long and it's controllable. The PIC program can turn it on/off when required.

Just do an output_high(pin_name); to turn it on, same as an LED .

hth
jay
gabirelms



Joined: 28 Jun 2014
Posts: 38

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 3:28 pm     Reply with quote

Hi temtronic, thanks for your reply. Any pin the output will be 3.3v ?

By the way, this can be a good idea to completely OFF a SPI flash memory than consumes 5uA during sleep. what do you think ? doable ?
temtronic



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

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 3:44 pm     Reply with quote

just put a 10K r as the 'load' and then cut code to turn on the pin and measure the output voltage. It should be close to Vdd, well within say 90%+ of it.

I've done this with 5V PICs for decades..so it should work for 3V ones.

Learn by doing ! Nothing is a better teacher than hands on, bench level education !!

hth
jay
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Tue Jul 01, 2014 4:36 pm     Reply with quote

And when the magic smoke comes out, don't do that again :-)

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
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