C2000 I2C communication

조회 수: 2 (최근 30일)
Khashayar Olia
Khashayar Olia 2020년 3월 9일
댓글: Khashayar Olia 2020년 3월 12일
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
Venkatesh Chilapur
Venkatesh Chilapur 2020년 3월 9일
Hi,
Checkout this page:
Additionaly contact MathWorks support.
Regards,
Venkatesh C
Khashayar Olia
Khashayar Olia 2020년 3월 12일
Hi Venkatesh,
Thanks for your reply. I reviewed the example and applied the same logic and it works now.
Thanks,
--Kash

댓글을 달려면 로그인하십시오.

답변 (0개)

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by