Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Help Me Please.... How to convert SPI to I2C

Status
Not open for further replies.

Starhung

Newbie level 2
Joined
Dec 11, 2002
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
27
i2c spi converter

Hi all,
Does anyone know how to convert SPI bus to I2C by CPLD or by other
methods?
Please help me. Thank you.

Sincerely,
Star Hung
 

huahua

Member level 2
Joined
Sep 21, 2002
Messages
42
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
263
spi i2c converter

Use an MCU and write a program to bridge them.
 

beuch

Member level 3
Joined
Jun 6, 2001
Messages
65
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
France
Activity points
518
i2c to spi converter

Hi,

Look to microchip MCU, some of them have SPI peripheral and I2C peripheral. The software is then reduced.

beuch.
 

Starhung

Newbie level 2
Joined
Dec 11, 2002
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
27
spi to i2c converter

Hi,
Thanks for your advice.
The detail situtation describe as follow.
We use TI's DSP, which only provides SPI interface, to capture a picture from a CMOS sensor but the sensor only provides I2C interface for control signal communication. We can't add more MCU between the DSP and the sensor because it's not efficiency. Therefore, we use a CPLD and write a program in it to transfer the control signal from SPI to I2C. Because it's a urgent event, I wonder if anybody have the experience to overcome this question. Must I need to write the program or is there any sample code for that already?
Thank you very much.

Sincerely,
Star
 

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,271
spi to i2c

Look Ubicom (Scenix) SX18/20/28 it is very fast and
have virtual SPI, I2C, RS232 (use it for debugging or logging data) pheripheals.
 

Stark

Member level 2
Joined
Aug 10, 2001
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
342
spi to i2c conversion

we know IIC standard can be capable to run up to 400Khz and so the most cpu in the market today can support this data rate without any problem.
Stark
 

sonia sharma

Newbie level 6
Joined
May 15, 2008
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
INDIA
Activity points
1,378
convert spi to i2c

Hi,
use chip SC18IS600/601.This is a SPI to I2C converter.
 

kasirajang

Newbie level 5
Joined
Mar 6, 2007
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,331
Re: i2c spi converter

Hi all,
Does anyone know how to convert SPI bus to I2C by CPLD or by other
methods?
Please help me. Thank you.

Sincerely,
Star Hung


you can use SPI to I2C converter from silabs : CP2120

regards,
kasirajan G
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top