3 ms·
Parsing semiconductor datasheets into structured register maps for under $0.25
- joezydeco 7mo agoIf DigiKey or Octopart had their act together they'd create a subscription service for $1/month or something like that and offer compiled maps for every part they carry.
- convolvatron 7mo agoif the logic houses had their act together they would publish this in a standard metadata format to begin with, and derive documentation from that.
- _paulc 7mo agoThis would be a good idea of it was reliable however browsing the parsed data for the BMP280 [1] (which in familiar with because I’ve written a driver for this) it looks like it misses a bunch of registers [2] [1] https://regforge.dev/bmp280_xai_grok-4-1-fast-non-reasoning_20260303T210335 https://regforge.dev/bmp280_xai_grok-4-1-fast-non-reasoning_... [2] https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp280-ds001.pdf#page24 https://www.bosch-sensortec.com/media/boschsensortec/downloa...
- coleman2247 7mo agoI looked over this datasheet. It appears what is in the datasheet was parsed. Looking over section 4.3 which goes over the registers, all of them seem to be captured. What missing registers were you referring to ?
- _paulc 7mo agoIt shows the 0xD0, 0xD0, 0xF3, 0xF4, 0xF5 registers but misses 0xF7-F9 (pressure) and 0xFA-FC (temp) - which are the actual measurement registers - plus all the trimming parameters (0x88-xA1) which you need to calibrate the readings. Temp (4.3.7) & Press (4.3.6) literally have their own sections in the datasheet.
- _paulc 7mo agoSlightly strangely I did see that the .h export does contain temp / press registers (but not the trimming params) but they dont show up in the interactive display: https://passtheaardvark-img.pgs.sh/screen.png https://passtheaardvark-img.pgs.sh/screen.png
- electricboots 7mo agoThey appear when "all registers" is selected in the drop down menu. Should probably be the default?
- cozzyd 7mo agoIt would be nice if vendors just provided a header file...