2019-09-06 10:36 AM
could some give me an understanding of how can i create an I2c to SPI bridge ?
2019-09-06 11:09 AM
Too vague, describe how the bridge is intended to work.
2019-09-06 12:22 PM
SPI has to read data, I2C has to write the date ,
2019-09-06 12:26 PM
SPI Slave receiving data and I2C Master Transmit
or
SPI Master receiving data and I2C Slave Transmit
or
else?
Still vague.
2019-09-06 08:01 PM
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.
2019-09-06 09:40 PM
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.
2019-09-06 10:07 PM