Skip to main content
Granitovich
Visitor II
May 22, 2026
Question

Motor control with resolver

  • May 22, 2026
  • 0 replies
  • 60 views

Good afternoon,

I am working with the STSW-TTM005 example for a resolver-equipped motor and encountered an issue:
Link: STSW-TTM005 | Product - STMicroelectronics

  • The motor does not rotate, but instead oscillates between windings.

  • In sensorless mode, the motor rotates correctly.

  • During debugging, the resolver angle appears correct.

  • I tried changing that setting:
    #define RESOLVER_ANGLE_OFFSET_DEGREE 185.0f // Angular offset in electrical degrees between the resolver and the rotor's magnetic flux, but it didn't work

Could you please clarify which resolver-equipped motor was used to validate this solution? My setup is as follows:

  • Control board: NUCLEO-G431RB

  • Driver board: based on DRV8353

  • Resolver board: STEVAL-TTM005A

  • Firmware version: 5.4.8

  • Motor specifications: PMSM with resolver, 20 poles, 24V DC, 67A peak

I would appreciate guidance on whether my configuration is compatible and any recommended adjustments.

Thank you for your support.

Best regards, Anatoliy