SPI data reading in simulink arduino connection using LS7366 R IC

4 Ansichten (letzte 30 Tage)
aakash dewangan
aakash dewangan am 31 Mär. 2023
Bearbeitet: aakash dewangan am 28 Okt. 2023
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.

Antworten (1)

Arun Kumar
Arun Kumar am 6 Apr. 2023
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 Kommentar
aakash dewangan
aakash dewangan am 27 Okt. 2023
Bearbeitet: aakash dewangan am 28 Okt. 2023
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,

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by