I2C Master block in SOC FPGA

조회 수: 4(최근 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개)

Community Treasure Hunt

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

Start Hunting!

Translated by