Reading sensor data off several ICM-20948 via SPI with Arduino due in Simulink
8 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm trying to get several ICM-20948's data(Strawberry Linux) via SPI with Arduino due in Simulink.
However, the block parameters of the ICM20948 IMU Sensor in Simulink Support Package for Arduino Hardware only have an I2C address column, so I don't know what to do when combining with SPI communication.
Please let me know how to use SPI WriteRead block and combine with ICM20948 IMU Sensor block in Simulink Support Package for Arduino Hardware.
Information:
I've already installed Simulink Support Package for Arduino Hardware.
I got a ICM-20948's data via SPI with Arduino due in Arduino IDE.
0 件のコメント
回答 (1 件)
Anil Kumar
2023 年 6 月 13 日
Hi Taketoshi,
The ICM20948 IMU sensor block is only for the I2C communication. Consider using SPI WriteRead block for the the SPI communication.
See below links for more info
Thanks
Anil
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!