cancel
Showing results for 
Search instead for 
Did you mean: 

I2C between two stm32 board

darestani
Associate II

I am working on a project which needs data communication between two stm32 (f103rb and f429zg). I use stm32f103rb-nucleo examples_ll (I2C _OneBoard_Communication_IT) but it works for one byte and after that it stops working. I want it to work repetitively.

I don't know how to make it work in a loop and by pressing the button , communication gets done every time I push the master and slave push buttons.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
prain
Senior III

Does the I2C interrupt hits at all?

If the I2C interrupt not triggered (for any reason), only the first byte will transmit.

View solution in original post

1 REPLY 1
prain
Senior III

Does the I2C interrupt hits at all?

If the I2C interrupt not triggered (for any reason), only the first byte will transmit.