MATLAB Answers

Interfacing the ls7366r chip with simulink using a Raspberry pi

12 views (last 30 days)
Mihir Pingle
Mihir Pingle on 10 Jul 2020
Edited: Mihir Pingle on 17 Aug 2020
Hello everyone,
I was struggling with the interface of the raspberry pi with the quadrature encoder directly using the analog input. But, the hardware is not good enough to detect all the inturrupts in the encoder signal. So, I bought the board with ls7366r chip on it. Now I need to create the one time initialization and the register read using the raspberry pi interfaced with simulink. Does anyone have the model with which I can do this?

  0 Comments

Sign in to comment.

Answers (1)

Reeno Joseph
Reeno Joseph on 30 Jul 2020
Hi Mihir,
As of R2020a, we don't have a Simulink block to support quadrature encoder in Raspberry Pi.
Please follow our guide Device Driver blocks to create a custom block to read encoder values.
Hope this helps,
Reeno Joseph

Community Treasure Hunt

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

Start Hunting!

Translated by