Skip to main content
DAlvarez
Associate II
October 17, 2023
Solved

Feature request: spi encoder

  • October 17, 2023
  • 1 reply
  • 1596 views

It would be very useful to be able to use an external encoder using any serial protocol.
I'm working with a RLS AksIM-2 with SPI, and I don't see an easy way to integrate this encoders with the code generated by the MC Workbench.
As at the moment the only supported encoder is a quadrature encoder, I tried to create a fake timer and emulate a quadrature encoder, but It didn't work.

Best answer by Gael A

Hello DAlvarez,

We would like to thank you for your request and inform you that we will be working on the implementation of this feature.
We will come back to you if we find an easy way to make a workaround in the meantime.

1 reply

Gael A
Gael ABest answer
ST Employee
November 17, 2023

Hello DAlvarez,

We would like to thank you for your request and inform you that we will be working on the implementation of this feature.
We will come back to you if we find an easy way to make a workaround in the meantime.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
Associate II
January 3, 2025

Hi Gael, 

Was there any progress on this?

We're about to implement the same encoder as DAlvarez, and though I'm sure it can be done any hints towards an easier path would be greatly appreciated.

Cheers,

Scott