Skip to main content
darestani
Associate II
August 20, 2020
Solved

I2C between two stm32 board

  • August 20, 2020
  • 1 reply
  • 1287 views

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

This topic has been closed for replies.
Best answer by prain

Does the I2C interrupt hits at all?

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

1 reply

prain
prainBest answer
Visitor II
September 2, 2020

Does the I2C interrupt hits at all?

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