-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to add the internal temperature sensor support? #2116
Comments
It's for sure possible, a PR would be most welcome :). |
I'd need lots of guidance first, I do not know enough of the esp-idf and esp-hal to commit to it yet ^^; |
Just some notes/thoughts. For anyone wanting to implement. Might make a good "beginner" task, since turning on is just a few bit flips, and you just read the lowest byte and follow a set algorithm.
Basic low-level bit-flipping and definitions for the TSENSor are here:
Hardware ports/memory are already defined in:
Would need to add the "tsens" peripheral here, I think
Would it be better to add the higher level implementation here, since it's connected to the ADC peripheral? But then it might get "hidden" and hard to find.
Or would it be better to implement this in
|
not esp32 has support for it https://docs.espressif.com/projects/esp-idf/en/stable/esp32c3/api-reference/peripherals/temp_sensor.html
Twin issue for the esp-idf-hal crate esp-rs/esp-idf-hal#333
The text was updated successfully, but these errors were encountered: