Skip to main content
darestani
Associate II
Aug 20, 2020 2:43 AM UTC
Solved

I2C between two stm32 board

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.
prain
prainBest answer
Visitor II
Sep 2, 2020 8:11 AM UTC

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
Sep 2, 2020 8:11 AM UTC

Does the I2C interrupt hits at all?

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