esp32c6 temperature_sensor: Exceeding temperature measure range after adc_oneshot_del_unit (IDFGH-11828) #12921
Closed
3 tasks done
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.1.2-534-gbbd8d13f93
Espressif SoC revision.
ESP32C6
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
temperature_sensor should still work after adc_oneshot_del_unit.
What is the actual behavior?
Always got "temperature_sensor: Exceeding temperature measure range" after adc_oneshot_del_unit
Steps to reproduce.
Test using ADC1 ADC_CHANNEL_4.
(Note: it works if using ADC_CHANNEL_2 or ADC_CHANNEL_3, only ADC_CHANNEL_4 has this issue)
Attached the modified code to reproduce the issue , copy it to replace examples/peripherals/adc/oneshot_read/main/oneshot_read_main.c
oneshot_read_main.c.txt
Debug Logs.
More Information.
Note, I already manually applied the fix from #12864
The text was updated successfully, but these errors were encountered: