Lib-electronic-components siliconlabs

Silicon Labs Manufacturer Handler Skill

install
source · Clone the upstream repo
git clone https://github.com/Cantara/lib-electronic-components
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Cantara/lib-electronic-components "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/manufacturers/siliconlabs" ~/.claude/skills/cantara-lib-electronic-components-siliconlabs && rm -rf "$T"
manifest: .claude/skills/manufacturers/siliconlabs/SKILL.md
source content

Silicon Labs Manufacturer Handler Skill

Overview

SiliconLabsHandler manages Silicon Labs components including 8-bit MCUs (C8051, EFM8), 32-bit ARM MCUs (EFM32), wireless MCUs (EFR32), timing ICs, sensors, and USB bridges.

Supported Component Types

  • MICROCONTROLLER
  • MICROCONTROLLER_SILABS
  • MCU_SILABS
  • MICROCONTROLLER_SILICON_LABS
  • MCU_SILICON_LABS
  • EFM8_MCU
  • EFM32_MCU
  • EFR32_MCU
  • IC
  • CRYSTAL
  • OSCILLATOR

MPN Patterns

8-bit MCUs (8051-based)

PrefixDescription
C8051FxxxC8051 MCUs

EFM8 Series (8-bit MCUs)

PrefixDescription
EFM8BBxxxBusy Bee
EFM8SBxxxSleepy Bee
EFM8LBxxxLaser Bee

EFM32 Series (32-bit ARM MCUs)

PrefixDescription
EFM32GGxxxGiant Gecko
EFM32WGxxxWonder Gecko
EFM32HGxxxHappy Gecko
EFM32PGxxxPearl Gecko

EFR32 Series (Wireless MCUs)

PrefixDescription
EFR32BGxxxBlue Gecko (Bluetooth)
EFR32FGxxxFlex Gecko (Proprietary)
EFR32MGxxxMighty Gecko (Multi-protocol)

Wireless ICs

PrefixDescription
SIxxxxGeneral wireless ICs
BGMxxxxBlue Gecko Modules
EZR32xxxEZR32 Wireless MCUs

Timing Solutions

PrefixDescription
SI5xxxClock ICs
501xxxCrystal products
598xxxOscillator products

Sensors

PrefixDescription
SI7xxxTemperature/Humidity sensors
SI1xxxProximity/Ambient light sensors

Interface ICs

PrefixDescription
CP2xxxUSB-UART bridges
SI321xUSB controllers

Isolators

PrefixDescription
SI84xxDigital isolators
SI86xxIsolated gate drivers

Package Code Extraction

  • EFM32/EFR32: Single letter before dash (G=BGA) or full package name after dash (QFP100)
  • C8051: Suffix after dash (e.g., GQ)
  • SI parts: Suffix after last dash

Series Extraction

Returns human-readable series names:

  • "C8051", "EFM8 Busy Bee", "EFM8 Sleepy Bee", "EFM8 Laser Bee"
  • "EFM32 Giant Gecko", "EFM32 Wonder Gecko", "EFM32 Happy Gecko", "EFM32 Pearl Gecko"
  • "Blue Gecko", "Flex Gecko", "Mighty Gecko"
  • "Timing", "Environmental Sensor", "Proximity Sensor", "USB Bridge"
  • "Digital Isolator", "Isolated Gate Driver", "Bluetooth Module"

Replacement Logic

  • Must be same series for compatibility
  • Pin-compatible parts within same subfamily may be replaceable

Test Patterns

When testing SiliconLabsHandler:

  1. Use documentation tests for
    matches()
    behavior
  2. Use assertions for
    extractPackageCode()
    ,
    extractSeries()
    , null handling
  3. Instantiate directly:
    new SiliconLabsHandler()

Known Handler Issues

All issues fixed in PR #86