2024-06-05 10:56 PM
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
Solved! Go to Solution.
2024-06-12 01:21 AM - edited 2024-06-12 01:22 AM
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.
2024-06-12 04:40 AM
Thank you so much for the suggestion.
I will try and see what works for me.
-Regards