how to use I2C master block in HDL Code
3 次查看(过去 30 天)
显示 更早的评论
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 !
0 个评论
回答(2 个)
SHIYU SONG
2022-3-26
1 个评论
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.
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!