SPI data reading in simulink arduino connection using LS7366 R IC

조회 수: 3 (최근 30일)
aakash dewangan
aakash dewangan 2023년 3월 31일
편집: aakash dewangan 2023년 10월 28일
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