I2C Master block in SOC FPGA

2 ビュー (過去 30 日間)
Cau Tran
Cau Tran 2022 年 8 月 22 日
コメント済み: Cau Tran 2022 年 8 月 30 日
Hi everyone,
I have some confuse for the model I2C Master in SOC library. I see the Sda, scl, sclIn, sdaIn, I don't know how to implement these one in Xilinx hardware because in I2C protocol, It just have only one SDA and SCL.
And I am trying to simulate this model but It not run well, I think It need to have ack signal from slave device.
Do you have any example for I2C master block, please give me.
  1 件のコメント
Cau Tran
Cau Tran 2022 年 8 月 29 日
Can you help me to answer this question?

サインインしてコメントする。

採用された回答

Kiran Kintali
Kiran Kintali 2022 年 8 月 29 日
Please find attached a sample example of I2C Master and Slave model blocks with behavioral plant models for IMUs.
You can also find I2C Block reference in SoC Blockset here: https://www.mathworks.com/help/soc/ref/i2cmaster.html
  1 件のコメント
Cau Tran
Cau Tran 2022 年 8 月 30 日
Thank you so much.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by