Skip to main content
FMado.1
Associate
January 18, 2023
Question

SPI to I2C bridge

Did anybody already develop a code for SPI to I2C bridge using STM32CO?

If yes, where can I find it?

Thank you

This topic has been closed for replies.

3 replies

Bubbles
ST Employee
January 18, 2023

Hi @FMado.1​,

it's only days since the STM32C0 introduction. It's unrealistic to expect a lot of projects being available for it. But since these peripherals are ubiquitous in all STM32 family, if you find such application for other STM32 series (such as STM32G0, STM32F0) it will work on STM32C0 with just minor modifications.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
FMado.1
FMado.1Author
Associate
January 18, 2023

Could you point me to one of those applications using STM32GO/FO?

Thank you!

Tesla DeLorean
Guru
January 18, 2023

Look under the CubeF0 or CubeC0 directory trees for various board and peripheral examples.

You're likely to have to piece together a solution from SPI and I2C examples, implementing an appropriate protocol, similar to those from TI, NXP, etc.

Expect this to be a programming task you take on.

Use Google and Github perhaps as a source of examples and equivalent solutions that might port to your target chip and application.

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