← All posts

Checking parts against datasheets

· Joe Cuffney

A schematic is only as good as its parts. If a part number doesn't exist, or a pin is wrong, the design is wrong. It doesn't matter how clean the drawing looks.

This post explains how etch checks parts: that they're real, that you can buy them, and that the design uses them the way their datasheets say.

The problem with made-up parts

Language models are good at producing text that looks right. Part numbers are text. So a model can write a part number that looks perfectly plausible and doesn't exist. Or it exists but has a different pinout. Or it's rated for 5 V and the design puts 12 V across it.

These mistakes are easy to miss in review. They're also expensive to find after a board is made. So etch doesn't trust the model on parts. It checks.

Step 1: is the part real and buyable?

Every part in an etch design has to be a real part number that you can buy. If the model writes a part number that isn't real, the check fails. If it's real but can't be bought, the check fails too.

This sounds basic. It's also the check that catches the most obvious hallucinations.

Step 2: what does the datasheet say?

Datasheets are long PDFs written for people. They have pin tables, absolute maximum ratings, recommended operating conditions, and a lot of notes. etch processes datasheets ahead of time and pulls out the facts it needs to check a design.

What etch extracts Example
Pin names and numbers Pin 1 is VIN, pin 2 is GND, pin 3 is VOUT
Pin roles Input, output, power, ground
Voltage limits Maximum input voltage
Ratings Current and power limits

Those facts become something the checks can use. A datasheet stops being a PDF you have to read and becomes data the build can test against.

Step 3: does the design match?

With the datasheet facts in hand, etch checks how the design uses each part.

  • Pins exist. If the code connects to a pin the part doesn't have, that's an error.
  • Pins are used for their role. A power pin should be tied to power, a ground pin to ground.
  • Ratings hold. If the design puts more voltage on a part than its datasheet allows, that's an error.
  • Nothing is left floating that the electrical rules say must be connected.

These checks run with the rest of etch's checks, before any schematic is made. A design that fails doesn't move on.

What you see when a check fails

You get an error, the same way you would from a compiler. It names the part, the pin or rating, and where in the circuit code the problem is. The exact wording will change during the alpha, but it looks something like this:

error: part U2 has no pin named "EN" (src/main.rs:41:5)
error: net VIN is 12 V, but U3 is rated for 6 V maximum on pin VIN (src/main.rs:18:5)

From there, two things can happen:

  1. The model reads the error, changes the design, and runs the checks again. Many mistakes get fixed this way without you doing anything.
  2. If it can't fix it, you see the error and the code. You can fix it yourself, or change your prompt.

Either way, you never get a schematic that quietly breaks the datasheet.

Limits I want you to know about

  • Coverage is growing. Not every part's datasheet has been processed yet. A part without a processed datasheet can't be checked as deeply.
  • Datasheets are messy. Extraction can be wrong, especially on unusual layouts. If etch flags something that looks like a false error, tell me and I'll fix the data.
  • Checks aren't design review. They make sure the design follows the datasheet. They can't tell you if it's the right part for your project.

Why this matters for what's next

Today etch goes from prompt to schematic. Next on the roadmap is schematic to PCB, then ordering boards through a CI-like pipeline. Every one of those steps depends on the parts being right. A footprint for a part that doesn't exist is worse than useless.

Getting parts right at the schematic stage is the foundation for everything after it.

If you have a part you'd like me to check first, or a datasheet that trips etch up, email me. Designing in etch is free, and you can join from the waitlist.