cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 dual core connectivity protocol handling

HDesa.1
Senior

Hello,

Could you please help me with handling a same channel I2C protocol between 2 core.

I have two devices connected on the same I2C channel(I2C1). I want to run one device on M7 core and another on M4 core. How to handle the communication between the devices and the microcontroller so that there is no interference during communication?

- Regards

Hrishikesh

-Regards
Hrishikesh
11 REPLIES 11

As I said you need to handle that with semaphores. I'm not expert of i2c but you need to test. 

If you face a synchro issues, I think you can opt with my first scenario: one core handles the comm + one slave and the second core handles the second slave.

Hope I answered your question.

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.

Thank you so much for the suggestion.

I will try and see what works for me.

-Regards

-Regards
Hrishikesh