Skip to main content
Apill
Associate III
Sep 6, 2019 5:36 PM UTC
Question

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

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

    This topic has been closed for replies.

    6 replies

    S.Ma
    Principal
    Sep 6, 2019 6:09 PM UTC

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

    Apill
    ApillAuthor
    Associate III
    Sep 6, 2019 7:22 PM UTC

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

    S.Ma
    Principal
    Sep 6, 2019 7:26 PM UTC

    SPI Slave receiving data and I2C Master Transmit

    or

    SPI Master receiving data and I2C Slave Transmit

    or

    else?

    Still vague.

    Apill
    ApillAuthor
    Associate III
    Sep 7, 2019 3:01 AM UTC

    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.

    Tesla DeLorean
    Guru
    Sep 7, 2019 4:40 AM UTC

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..