C2000 I2C communication

2 views (last 30 days)
Khashayar Olia
Khashayar Olia on 9 Mar 2020
Commented: Khashayar Olia on 12 Mar 2020
Hello,
I've been trying to setup I2C communication between two F28069M MCUs and have a problem in receiving more than one byte. This is the TX and RX setup pictures:
And this is what I observe on the bus, both data 4(b0100) and 5(b0101) are avaiable:
The probem is I see only one byte at the RX, athough I use mux/demux but the received byte toggels between 4 and 5.
P.S.: I understand the "Read Date Length" does not have anything to do with the number of byte, but I don't know how I can see more than one byte at the receiver.
  2 Comments
Khashayar Olia
Khashayar Olia on 12 Mar 2020
Hi Venkatesh,
Thanks for your reply. I reviewed the example and applied the same logic and it works now.
Thanks,
--Kash

Sign in to comment.

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!