Skip to main content
christianwaldmann9
Associate II
September 19, 2014
Question

Erro in code generation in STMCWB in FOC SDK 4.0

  • September 19, 2014
  • 2 replies
  • 705 views
Posted on September 19, 2014 at 08:32

When using the configuration Sensor-Less Observer with PLL as main sensor and the Hall sensors as auxiliary sensor, the STMCWB generates faulty code in ''drive parameter.h'':

On line 49, the ''&sharpdefine AUX_ENCODER'' is wrong

There MUST be

correctly

''

&sharpdefine AUX_HALL_SENSOR

''

With this wrong define, the peripherals are initialized badly and the configuration doesn't work at all.

This happens in single and dual motor control.

STSW-STM32100, FOC SDK 4.0.0, on STM32f4xxx, with Keil Tool chain

</p>

Online Support Incident -

</td>

</p>

TECH001645

</td> </tr> </tbody></table>

#stmcwb-auxiliary-hall-sensor
This topic has been closed for replies.

2 replies

Gigi
ST Employee
September 22, 2014
Posted on September 22, 2014 at 12:07

Ciao Christian

We discovered the same issue, the same day :) during an internal training.

Thank you for reporting, we will fix it asap.

Ciao

Gigi

Laurent Ca...
Senior III
June 17, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards