how to use I2C master block in HDL Code
조회 수: 7(최근 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.
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