This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

iQmathLib work only in debug

Other Parts Discussed in Thread: MSP430G2553

Hi,

I'm trying the Qmath library and I have the first problem. All works well (and very fast) when I Debug my code from CCS (lcd display correct values etc..)  but, when I reset the LaunchPad removing and  replugging the usb cable the library stop to work and all function (also _Q) return 0 (zero).

I'm using:

MSP430G2553

LaunchPad v1.5

CCS v5

this is part of code:

cx= _Q( (rxdata[14]<<8 | rxdata[15]) /k);
cy= _Q( (rxdata[16]<<8 | rxdata[17]) /k);
cz= _Q( (rxdata[18]<<8 | rxdata[19]) /k);
ch= _QtoF(_Qatan2(cx, cz))*k*10;

What I'm doing wrong ?

**Attention** This is a public forum