Possible bug: STM32L4 ADC always reading zeroes #90067
Unanswered
petarsusac
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the
sensortile_box
board (STM32L4R9ZIJ6 MCU) and I'm trying to get some samples from the on-board analog microphone with the MCU's internal ADC. But no matter which channel I try to sample, I'm constantly getting zero values and nothing else. Unfortunately I cannot access the pin directly and measure the voltage, but I think there should at least be some noise and not always stuck at exactly zero. This can be replicated by running theadc_dt
sample with the following overlay:Could this be a bug in the ADC driver? Maybe a clock configuration issue?
Some of the things I tried:
Beta Was this translation helpful? Give feedback.
All reactions