AnsweredAssumed Answered

Erro in code generation in STMCWB in FOC SDK 4.0

Question asked by waldmann.christian on Sep 19, 2014
Latest reply on Sep 22, 2014 by Gigi
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 "#define AUX_ENCODER" is wrongThere MUST be correctly "#define 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>


Outcomes