cancel
Showing results for 
Search instead for 
Did you mean: 

Any links or information related to I2C to SPI bridge would be greatly helpful to me!!

Apill
Senior

could some give me an understanding of how can i create an I2c to SPI bridge ?

6 REPLIES 6
S.Ma
Principal

Too vague, describe how the bridge is intended to work.

SPI has to read data, I2C has to write the date , ​

S.Ma
Principal

SPI Slave receiving data and I2C Master Transmit

or

SPI Master receiving data and I2C Slave Transmit

or

else?

Still vague.

I have to implement the logic of SPI protocol to accept the data and I2C to write the data.

It could be SPI master/ slave or I2C master/ slave depending on the possibilities.

I have to use only one microcontroller( STM32F0) to accomplish this task, I am brain storming.

Is it connecting to some specific SPI device, or completely general?

You'd likely need to create some command/control through I2C registers, and then look at the requirements of the SPI devices you want to work with.

Perhaps you can send a simple state-machine, or sequence-controller, so that subsequent I2C requests translate to actions against the SPI device.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..