AnsweredAssumed Answered

Problem with certain STMCWB parameter combinations

Question asked by boeh.frank on Oct 27, 2014
Latest reply on Mar 13, 2015 by boeh.frank

Hi Gigi,

I have a motor with rather unusual electrical parameters (low inductance, high number of poles, very high electrical rpm), and the generated output files for these settings are not usable. The compiler complains for a  computed constant not fitting into signed 16-bit integer (cordic parameter CORD_C5, PLL parameter C5). I have attached the project and hope that you can easily reconstruct it. When I look into the header files, I also recognize that one significant digit is lost for the Ls parameter (13uH is converterd to "#define LS 0.00001").