Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 29th September 2008, 12:29 AM   (permalink)
Default Simple I2C question

I'm interfacing a PIC with a bunch of 3.3V devices. I *might* need to run the PIC off 5V for reasons I'll mention later. If the PIC is running off 5V, can I just use pull up resistors on the SDA and SCL lines to the 3.3V supply since they are open drain/open collector?

The reason I might need to use 5V is because of ICSP programming and USB stuff. I have to check if the 18F2550 can handle flash mem erases with a 3.3V supply with my programmer (melabs U2) and whether or not I need a 5V supply for any of the USB stuff.
speakerguy79 is online now  
Old 29th September 2008, 12:44 AM   (permalink)
Default

I think you will have problems as the inputs to the I²C module are schmitt triggers and require 0.8*Vdd for a valid high. This is only my interpretation of the data sheet and so I could be wrong.

There are various ways to solve this problem. See Microchips Hints & Tips

Mike.

Last edited by Pommie; 29th September 2008 at 12:52 AM. Reason: Changed link.
Pommie is online now  
Old 29th September 2008, 12:56 AM   (permalink)
Default

Nuts. I was thinking they would just be TTL/CMOS compatible.
speakerguy79 is online now  
Old 29th September 2008, 02:31 AM   (permalink)
Default

I just found this, which looks like an awesome and cheap solution to the problem. It just takes two MOSFETS and two additional pull-up resistors, is bidirectional, and offers isolation between the 3.3 and 5V sections when either power supply is powered down.

http://www.standardics.nxp.com/suppo...df/an97055.pdf

Last edited by speakerguy79; 29th September 2008 at 02:32 AM.
speakerguy79 is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Simple question speakerguy79 Electronic Projects Design/Ideas/Reviews 8 14th July 2008 07:17 AM
simple question ? amenoera Electronic Projects Design/Ideas/Reviews 3 21st June 2006 03:38 PM
Simple PIC question George L. General Electronics Chat 16 17th April 2006 10:25 PM
Very simple question 2 zambalik General Electronics Chat 3 17th July 2004 12:29 PM
very simple question xjackal General Electronics Chat 10 25th November 2003 07:50 PM



All times are GMT. The time now is 05:35 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker