AnsweredAssumed Answered

Integer conversion resulted in trucation - ID_DEMAG

Question asked by evans.luke on Mar 31, 2014
Latest reply on Apr 2, 2014 by Gigi
I am receiving this compiler error in SystemNDrivePrarms.h on lines 8182, 8216, and 8250 when compiling MCTasks.c.  (MC version: 3.4.1, IDE: IAR EW for ARM 7.10)

  ID_DEMAG,        /*!< Demagnetization current in s16A: 
                        Current(Amp) = [Current(s16A) * Vdd micro]/ 
                               [65536 * Rshunt * Aop] */

The demagnetisation value I input to MCWB is 5.1Ampere.  Did I do something wrong? 
To work-around, will the algorithm tolerate a maximum representable value that has not truncated?