SPI data reading in simulink arduino connection using LS7366 R IC

4 次查看(过去 30 天)
Hi,
Please let me know how to use SPI data reading in simulink.
I read the documentation page of SPI block, but did not understand clearly.
I am reading the speed of encoder and using a quadrature decoder IC (LS7366 R) to decode the encoder signal.
Please let me know how to read the speed using simulink in arduino.

回答(1 个)

Arun Kumar
Arun Kumar 2023-4-6
Hi Aakash,
Here is a tutorial of communicating with spi based EEPROM:
You can follow similar approach to communicate with other sensors.
Hope this helps!
  1 个评论
aakash dewangan
aakash dewangan 2023-10-27
编辑:aakash dewangan 2023-10-28
I did not get the clear idea about using SPI in simulink with arduino from documentation of mathworks:(.
DO I need to shift to my IDE code because simulink doesnot have simpler solution?
Thank you,

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by