cancel
Showing results for 
Search instead for 
Did you mean: 

Erro in code generation in STMCWB in FOC SDK 4.0

christianwaldmann9
Associate II
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
2 REPLIES 2
Gigi
ST Employee
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...
Lead II

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