Question
Erro in code generation in STMCWB in FOC SDK 4.0
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