I have encountered a very weird response of of the internal adc when including the arm_math library. I use kinetis design studio and ksdk 1.3. in my application I use adc0 in the 16bit differential mode. my board is custom made and is based on the k64f mcu. My aim to use the arm_math library to process the digitized data. however, when I include the arm_math library by (#include arm_math.h ), the digitized data show just half the value of the previous measurement without the arm_math library. I have made sure that the measurement conditions have been kept all the same for both measurement.
does anyone have any explanation for that or have encountered this problem?