Problems in reading the analogue pin value
my problem is as follows: I should use an MMS sensor to acquire an analogue signal. If I saw correctly, from the datasheet the power supply is 3.1 V and the ADC is 10 bit, so my output signal should reach saturation when 3 V is supplied as input.
However, I used a signal generator and supplied a sine wave of varying amplitude and offset as input (e.g. amplitude 3V and offset 1.5V) and saw that the sensor can see up to 2V (with offset 1V). Beyond this it does not provide a correct output signal. For example, even setting 2.5 V I cannot get a correct sine wave. Can you tell me what I am doing wrong?