cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Motor Control SDK Work bench- Absolute SPI Encoders

briannaG
Associate

Hi there, 

I want to use the AS5048A SPI encoder with the STM32 Motor Control Work bench SDK to precisely control a 3 phase GL30 KV290 Motor. 

I noticed STM motor control work bench only supports quadrature encoders and I can apparently use custom code to make an absolute encoder work. 

Is there any information about how to do this? 

 

1 REPLY 1
GMA
ST Employee

Hello @briannaG,

As mentioned, only quadrature encoders are supported by the MCSDK tool.
Use this as an example. After generating the project, you can use the STM32CubeMX tool to enable and configure the SPI port.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA