C2000 I2C communication

3 vues (au cours des 30 derniers jours)
Khashayar Olia
Khashayar Olia le 9 Mar 2020
Commenté : Khashayar Olia le 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 commentaires
Venkatesh Chilapur
Venkatesh Chilapur le 9 Mar 2020
Hi,
Checkout this page:
Additionaly contact MathWorks support.
Regards,
Venkatesh C
Khashayar Olia
Khashayar Olia le 12 Mar 2020
Hi Venkatesh,
Thanks for your reply. I reviewed the example and applied the same logic and it works now.
Thanks,
--Kash

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with Aerospace Blockset dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by