Tool/software: Code Composer Studio
Hello, I have my CC2640R2 LaunchPad. I am using the ADCBufContinuous example. I test the program by inputting a sine wave of peak to peak voltage 1V (from function generator) into the LaunchPad.
The sine wave connects DIO 23 (ADC pin) and GND of the board. I use LabVIEW to get the COM Port data and what I see is a half sine wave of amplitude 1V. I do not include any offset in the hardware circuit and I
checked that the sine wave coming out from the function generator has positive and negative values with no offset. And therefore I wonder is there any setting I have to make before using the ADCbufcontinuous
example? The MCU is not able to read negative values and what I got should be a half sine wave with amplitude 0.5V instead.
I ensure that the LabVIEW program is correct and actually even if I don't use LabVIEW, I can see values close to 1V in Putty instead of 0.5V.
I wonder why this happens, can someone please kindly tell me the reason behind?
Thanks for your help!