Add support for reading transceiver temperature#1792
Open
martinling wants to merge 7 commits into
Open
Conversation
Member
Author
|
@miek I've revised this to use the same reading method on all boards - connect the analog temperature output to the LPC43xx ADC and read it that way. That gets us better resolution than was possible with the built in 5-bit ADC on the MAX2837 and MAX2839. I'm getting responsive and generally similar readings on HackRF One r4 & r9, HackRF Pro, and rad1o, but the absolute numbers feel a bit high, so I think we still need to do some calibration. |
martinling
marked this pull request as ready for review
July 25, 2026 20:49
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

All the MAX283x chips include a built-in temperature sensor, but we've never had support for reading it out in the standard firmware.
This PR adds:
hackrf_read_temperaturefunction to libhackrf.hackrf_info: