Hi @mizrachidan
Any negative value further the specification could cause harm to the microcontroller.
You are using the GPIO as an input, correct?
How are you measuring the voltage?
You could correct the negative voltages adding a diode to allow only positive voltages. However, your values will be affected by this.
Let me know if you have another question.
Best Regards, Miguel.