Hi there
I'm developing a power meter using the ref design and a MSP430F6736.
I'm also using the ti energy library (its the same as the one that comes with the TI EVM single phase meter) to calculate the various values needed.
I noticed in the debugger, that the return from the asm function isqrt64() for the current value is completely wrong.
Does anyone have an updated version of this code or does anyone have an explanation of why the value returned is wrong?
i'm using ccs v6.1 (compiler V4.4) and the library "energy library code slac488" of 21 may 2012 although the code for the .asm is 27 jan 2012.
My compiler settings are large code model and small data model.
thanks in advance