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

ICSP 3.3v / 5v possible workaround...

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



Joined: 19 Jan 2006
Posts: 22

View user's profile Send private message

ICSP 3.3v / 5v possible workaround...
PostPosted: Wed Jun 07, 2006 5:12 pm     Reply with quote

The following occured to me:

ICSP is limmited at 3.3v
I need to run at 3.3v
If I connect both my Vdd pins on my PIC together, then wire them to a diode with its cathode facing the pins, and the anode wired up to the main 3.3v supply rail for the board, then under normal operation everything works fine asuming a small voltage drop across the diode.

If I attach the Vcc from the ICSP header to the cathde side of the didoe, then the programmer can drive the PIC at 5v without damaging the rest of the crcuit

This depends on all the other pins on the PIC going to 0v, not 5v (which would be bad for the 3.3v devices they connect to), when Vpp is detected - which I /think/ they do...


Does the above sound correct?

Ben
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

Re: ICSP 3.3v / 5v possible workaround...
PostPosted: Wed Jun 07, 2006 7:38 pm     Reply with quote

barkerben wrote:
asuming a small voltage drop across the diode.

You can find a Schottky diode with a forward drop of about 0.4V, which is better than 0.7V for the silicon diodes.

barkerben wrote:
This depends on all the other pins on the PIC going to 0v, not 5v (which would be bad for the 3.3v devices they connect to), when Vpp is detected - which I /think/ they do...

When the PIC is powered, the pins are in the high-Z state, and they don't source any current.
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