cancel
Showing results for 
Search instead for 
Did you mean: 

SPI to I2C bridge

FMado.1
Associate

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

If yes, where can I find it?

Thank you

3 REPLIES 3
Bubbles
ST Employee

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
Associate

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

Thank you!

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