fdcavalcanti commented on issue #14816:
URL: https://github.com/apache/nuttx/issues/14816#issuecomment-2493759010

   @shizacat thanks. I did a quick test here without your RTC control 
modifications.
   
   The voltage is indeed returning a bad value. If I hold the ADC pin to 3v3 or 
GND I can see it changes 1 or 2 mV, which is not ok. Maybe some bad equation or 
calibration related? Also, measured with a voltmeter and it is not dropping as 
you showed.
   
   The difference when using the RTC code you suggested is that maybe something 
is not being properly shutdown, and it is externalizing that 1.4 V value, which 
is different than halving the input voltage. Weird anyway.
   
   Unfortunately we are not supporting register-based drivers anymore, we are 
now using the HAL approach. So I won't be able to go investigate this issue 
further.
   I'll add the ADC to our list of upgrades with the HAL, but if anyone on the 
community wants to take this on, please feel free.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to