C2000 I2C communication

5 次查看(过去 30 天)
GEORGIOS KOTOULAS
GEORGIOS KOTOULAS 2022-2-24
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by