how to use I2C master block in HDL Code
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
SHIYU SONG
am 26 Mär. 2022
Beantwortet: Kiran Kintali
am 29 Aug. 2022
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 Kommentare
Akzeptierte Antwort
Kiran Kintali
am 29 Aug. 2022
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 Kommentare
Weitere Antworten (1)
SHIYU SONG
am 26 Mär. 2022
1 Kommentar
Cau Tran
am 22 Aug. 2022
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.
Siehe auch
Kategorien
Mehr zu HDL Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!