C2000 I2C communication

Hello MW team,
Im using Arduino board to communicate with my F28379D via I2C. Im trying to send from Arduino 4 independent data (x,y,z,w) and read them separately on F28379D. The code for the Arduino is written in the Arduino IDE and the code for the F28379D in Simulink. I can send and read only one data but when it commes to add more data its not working propperly (Im using demux to seperate the data ) I also tried SCI but the same result..
Is there any spesific way to send data and receive it from the I2C Receive block?
From arduino to arduino i can use some chars to seperate the values, is this the right way to go ? can i use chars in Simulink?
Thanks for your time,
George

Answers (0)

Categories

Asked:

on 24 Feb 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!