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

SPI bus, 3.3V Master, 5V Slave

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



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

SPI bus, 3.3V Master, 5V Slave
PostPosted: Tue Mar 25, 2008 11:13 am     Reply with quote

The bus would be between two PICs as in the subject line. Will I need a level translator between the two for clock, DI and DO?
Master = 18F67J50, slave = 16F887.
Matro
Guest







PostPosted: Tue Mar 25, 2008 12:00 pm     Reply with quote

Here is the classical level shifter for I²C bus.
w w w . nxp . com / news / backgrounders / bg_esc9727 / images / bg_esc9727_1. jpg
Remove the spaces I insert to be able to post this link. ;-)

It perfectly applies here.

Matro.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 25, 2008 12:13 pm     Reply with quote

That method is intended for i2c. There are several IC's that
incorporate that method. Example:
http://focus.ti.com/docs/prod/folders/print/pca9306.html

For SPI translators, read this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=23154
bwhiten



Joined: 26 Nov 2003
Posts: 151
Location: Grayson, GA

View user's profile Send private message

PostPosted: Tue Mar 25, 2008 12:34 pm     Reply with quote

From these replies I take the answer is yes. I have a very nice bidirectional level translator from TI I already use, TXB0104 that can handle some extreme speeds at 3.3 to 5 and is very reasonably priced for 4 I/O.
Does any one see any issue with this component that I haven't noticed?
Also the TXS0104 series for open-drain drivers like I2C.
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