NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Parsing semiconductor datasheets into structured register maps for under $0.25 (regforge.dev)
_paulc 2 days ago [-]
This 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_... [2] https://www.bosch-sensortec.com/media/boschsensortec/downloa...

coleman2247 1 days ago [-]
I 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 14 hours ago [-]
It 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 14 hours ago [-]
Slightly 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

electricboots 7 hours ago [-]
They appear when "all registers" is selected in the drop down menu. Should probably be the default?
cozzyd 1 days ago [-]
It would be nice if vendors just provided a header file...
joezydeco 2 days ago [-]
If 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 1 days ago [-]
if the logic houses had their act together they would publish this in a standard metadata format to begin with, and derive documentation from that.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 05:17:42 GMT+0000 (Coordinated Universal Time) with Vercel.