>> skills/board-info-extractor

stars: 0
forks: 0
watches: 0
last updated: 2026-03-21 16:24:14

Board Information Extraction

Extract general identification and specification data from user-provided STM32 documentation PDFs.

What to Extract

  • MCU part number and family (e.g., STM32F407VGT6, F4 family)
  • ARM Cortex-M core type and version (M0, M0+, M3, M4, M7, M33)
  • Package type and pin count (LQFP, BGA, UFQFPN, etc.)
  • Maximum CPU frequency
  • Supply voltage range (VDD)
  • Operating temperature range (industrial, extended, etc.)
  • Flash memory size and type
  • SRAM size and regions
  • Key peripherals list (count of UART, SPI, I2C, timers, ADC channels, etc.)
  • FPU presence (single/double precision)
  • DSP instructions availability
  • DMA controller count and channel/stream count

Where to Find This Information

Datasheet (Primary Source)

Glob pattern: docs/datasheet/*.pdf

  1. Read pages 1-3 first - the overview table on the first pages contains:

    • Part number decoding
    • Core type, frequency, Flash/RAM sizes
    • Peripheral count summary
    • Package options
  2. Look for the "Description" section (typically page 1-2) for a feature summary

  3. Find the "Ordering information" table to decode the full part number:

    • STM32 F 407 V G T 6
    • Family / Core / Variant / Pin count / Flash size / Package / Temperature

Reference Manual

Glob pattern: docs/reference-manual/*.pdf

  1. Read pages 1-5 (table of contents)
  2. Navigate to Chapter 1: "Introduction" or "Device overview" - contains features list
  3. The features table summarizes all peripherals, memory sizes, and capabilities

User Manual (Board Documentation)

Glob pattern: docs/user-manual/*.pdf

  1. Read pages 1-5 for board description
  2. Look for "Features" section listing onboard components (LEDs, buttons, connectors, debugger)
  3. Find the "Hardware layout" section for board-specific information (crystal frequency, external components)

Extraction Process

  1. Glob docs/datasheet/*.pdf to find the datasheet
  2. Read pages 1-3 of the datasheet to get the overview table
  3. If datasheet not found, glob docs/reference-manual/*.pdf and read chapter 1
  4. Optionally read docs/user-manual/*.pdf pages 1-5 for board-level information
  5. Compile all extracted data into a structured profile

Output Format

Present extracted information as a structured board profile:

## Board Profile

**MCU**: STM32F407VGT6
**Family**: STM32F4 (High Performance)
**Core**: ARM Cortex-M4 with FPU and DSP
**Max Frequency**: 168 MHz
**Flash**: 1 MB
**SRAM**: 192 KB (128 KB + 64 KB CCM)
**Package**: LQFP100
**VDD Range**: 1.8V - 3.6V
**Temperature**: -40 to +85 C (Industrial)

**Peripherals**:
- UART/USART: 4x USART + 2x UART
- SPI: 3x SPI
- I2C: 3x I2C
- Timers: 14 (2x advanced, 10x general, 2x basic)
- ADC: 3x 12-bit ADC, 16 channels
- DAC: 2x 12-bit DAC
- DMA: 2 controllers, 16 streams
- USB: OTG FS + OTG HS
- CAN: 2x CAN
- Ethernet: 10/100 MAC

Additional Resources

Reference Files

For detailed guidance on navigating ST document structure:

  • references/extraction-guide.md - Document type navigation patterns, keyword search strategies, table format recognition
    Good AI Tools