Skip to main content

Module · Peripheral Matrix

List the peripherals on a microcontroller datasheet

DatasheetVend reads the peripheral sections and summary tables of a microcontroller or SoC datasheet and returns the peripherals it lists as structured JSON, one row per instance or block.

  • Get UART, SPI, I2C, CAN, timer, ADC and other peripheral instances in one list.
  • See DMA support, bus domain and maximum speed where the datasheet states them.
  • Each row carries the page it was read from, where recorded.
Start with a datasheet
peripheral_matrix (abridged)Illustrative excerpt
// Abridged. STM32F103C8 datasheet (DS5319 Rev 20), page 19.{  "schema_version": "peripheral_matrix_v1",  "peripherals": [    {      "type": "SPI",      "instance_name": "SPI1",      "features": ["Master and slave modes", "Full-duplex and simplex", "Hardware CRC"],      "max_speed": "18 Mbit/s",      "dma_supported": true,      "source_page": 19    },    {      "type": "I2C",      "instance_name": "I2C1",      "features": ["Multimaster and slave modes", "Standard and fast modes", "SMBus 2.0 / PMBus"],      "dma_supported": true,      "source_page": 19    }  ]}

What it does

What you can do with it

  • Resource budgeting

    See which UART, SPI, I2C and timer instances the datasheet lists, and check you have enough for your sensors and actuators. Counts are what the extraction recovered, so confirm them for your package.

  • Part comparison

    Run the module on each candidate part's datasheet and compare the peripheral lists side by side, for example a 32-pin and a 64-pin variant.

  • Firmware planning

    Start your hardware abstraction layer (HAL) from the list of peripherals the datasheet describes, with features such as DMA support where it is stated.

What the output includes

One row per peripheral, with its source

The module reads the peripheral chapters and device summary tables of an MCU datasheet. Which fields a row has depends on what the datasheet prints for that block.

  • Communication (UART, SPI, I2C, CAN)
  • Timers, watchdogs and PWM
  • Analog (ADC, DAC, comparators, op-amps)
  • External memory interfaces (FMC, QSPI)
  • Security accelerators (AES, TRNG, CRC)
  • Clock, DMA and interrupt blocks
  • type, instance_name and features for every row
  • bus_domain, channel_count, dma_supported, resolution_bits and max_speed where stated
  • source_page and source_text_snippet, where recorded
  • row_basis: whether the name is printed, or built from a stated count
  • Device summary table per package, where the datasheet has one
  • extraction_warnings

Who can use it

Embedded systems architects · Firmware developers · Hardware design engineers · Systems integrators · Technical product managers · Application engineers

Why DatasheetVend

Choosing a microcontroller by peripheral count means cross-referencing several tables, and the answer differs by package.

DatasheetVend puts the peripherals into one JSON structure, so you can compare parts and budget resources from a list instead of from page flipping.

A model reads the rows. Code then checks them against the datasheet text where it can, and flags rows it cannot place.

Trust and limits

A starting inventory, with the evidence beside it

Where the module is strong

  • Rows carry the source page, and the quote where one was recorded.
  • Optional fields such as bus_domain and dma_supported appear only when the datasheet states them.
  • A row says whether its instance name is printed in the datasheet or built from a stated count, so a count is not read as a named block.
  • A clocked peripheral given a data-rate figure, or a block shared between two names, is flagged in the warnings.

What it does not claim

  • It is built for microcontroller and SoC datasheets, not for passives, regulators or sensors.
  • It is not yet scored against a verified answer key. Check counts and maximum speeds against the datasheet before you rely on them.
  • A family datasheet can list more instances than your package has. Per-package availability is not always resolved.
  • Some blocks, such as GPIO counts and clock trees, are read less completely than communication peripherals and timers.
  • It does not account for pin multiplexing. Use the Pinout module for that.

Next step

List the peripherals on your part

Turn the peripheral sections of an MCU datasheet into a structured list you can compare and check.

Run it on a datasheet you have.

Free passes cover pinout, footprint, thermal, timing and pin cautions. The peripheral matrix 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