Skip to main content

Module · Logic Levels

Read logic levels as the datasheet states them

DatasheetVend reads VIL, VIH, VOL and VOH from a datasheet into structured JSON, with the supply rail, load current and source page each value was stated for.

  • Reads input thresholds and output levels for each supply rail the datasheet states.
  • Keeps the source or sink current an output level was stated at (IOH, IOL).
  • Reads Schmitt-trigger hysteresis where the datasheet states it.
Start with a datasheet
logic_levels (abridged)Illustrative excerpt
// Abridged. STM32F103C8 datasheet (DS5319 Rev 20), pages 61 and 64.{  "schema_version": "logic_levels_v1",  "input_thresholds": [    {      "symbol": "VIL",      "limit_kind": "max",      "value": { "value": null, "unit": "V", "expression": "0.35 VDD", "rail_dependency": "VDD" },      "pin_scope": ["All I/Os except BOOT0"],      "evidence": [{ "source_page": 61, "source_table": "I/O static characteristics" }]    },    {      "symbol": "VIH",      "limit_kind": "min",      "value": { "value": null, "unit": "V", "expression": "0.65 VDD", "rail_dependency": "VDD" },      "pin_scope": ["All I/Os except BOOT0"],      "evidence": [{ "source_page": 61, "source_table": "I/O static characteristics" }]    }  ],  "output_levels": [    {      "symbol": "VOL",      "limit_kind": "max",      "value": { "value": 0.4, "unit": "V" },      "condition": { "supply_min_v": 2.7, "supply_max_v": 3.6, "load_current_ma": 8, "current_direction": "sink" },      "evidence": [{ "source_page": 64, "source_table": "Output voltage characteristics" }]    }  ]}

What it does

What you can do with it

  • Inter-IC compatibility

    Check a driver's VOH (min) against the receiver's VIH (min), and its VOL (max) against the receiver's VIL (max), using each part's stated thresholds.

  • Level shifter selection

    Compare the supply rails and thresholds of the parts in a signal path to see where a level shifter may be needed.

  • Drive strength checks

    Check the source and sink current an output level was stated at against the load you plan to drive, such as an LED, a FET gate or a bus line.

What the output includes

Thresholds with their conditions

Each row keeps the value, or the supply formula as printed (for example 0.35 VDD), the conditions it was stated under and the page it came from.

  • VIL and VIH input thresholds
  • VOL and VOH output levels
  • Schmitt-trigger thresholds and hysteresis (VT+, VT-, VHYS)
  • Source and sink current (IOH, IOL) per output level
  • Supply rail and voltage range per row
  • Pin scope, where the page names one
  • Source page and table, where recorded
  • Canonical JSON and audit JSON

Who can use it

Digital design engineers · Systems architects · Signal integrity engineers · Hardware and firmware integration · FPGA and CPLD developers · Verification engineers

Why DatasheetVend

Threshold tables use different symbols, supply-relative formulas and per-rail conditions, so comparing two parts by hand is slow.

Code reads the threshold tables first. A model reads the pages only when those rows are missing, and code then checks each row against the page it cites. A row the page does not support is withheld or flagged for review.

Trust and limits

Thresholds as printed, with limits to know

Where the module is strong

  • A threshold printed as a supply formula (0.35 VDD) stays a formula, with the rail it depends on, instead of a computed voltage.
  • Rows are checked against the text of the page they cite.
  • Each min, typ or max value is checked against the column its page prints it under, and any change is named on the row.

What it does not claim

  • Rows can be missed, most often in tables with merged cells, wrapped rows or no drawn rules. Check the result against the cited page.
  • Input leakage, pull-up and pull-down values and pin capacitance are not reliably read yet.
  • If VIH or VIL is missing, a JEDEC reference level may be filled in. That row is marked as derived from the standard and flagged for review.
  • It does not calculate propagation delay, rise and fall times, trace impedance or loading effects.
  • It reads digital I/O tables. For passives, connectors, batteries and pure analog parts it reports that no logic levels are present.

Next step

Check your signal chain against the datasheets

Run a datasheet and get its logic levels as JSON, with the page each value came from.

Run it on a datasheet you have.

Free passes cover pinout, footprint, thermal, timing and pin cautions. Logic levels runs on module credits instead.

Cookies. Strictly necessary cookies keep you signed in and remember this choice. Optional analytics (Google, Microsoft, PostHog) show us how the site is used. Cookie details