フィルターのクリア

how to use I2C master block in HDL Code

10 ビュー (過去 30 日間)
SHIYU SONG
SHIYU SONG 2022 年 3 月 26 日
回答済み: Kiran Kintali 2022 年 8 月 29 日
Hi, everyone !
I'm confused about the i2c master block in HDL Coder, and I can not find an example to use it.
Does anyone have a simple executable program?
In my program, I want to write 1 to 9 to an i2c controlled EEPROM device and then read data from it.
thanks !

採用された回答

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 件)

SHIYU SONG
SHIYU SONG 2022 年 3 月 26 日
here is my slx:
  1 件のコメント
Cau Tran
Cau Tran 2022 年 8 月 22 日
Do you have the answer for this issue?
I am a beginner for using I2C master block. I have same issue with you. Let's discuss for this problem.

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

カテゴリ

Help Center および File ExchangeHDL Coder についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by