digital-power-embedded-c

Community

Build verifiable STM32 digital power C code.

AuthorKunYi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you produce production-grade embedded C for STM32G4xx digital power systems by enforcing physics-first real-time constraints (ADC/PWM timing, scheduling ownership, and protection priority) instead of generating generic code that may not work on hardware.

Core Features & Use Cases

  • Deterministic real-time design: Prescribes fast-loop/slow-loop/1ms layering with ISR hot-path discipline for cycle-budgeted control.
  • Control algorithm implementation guidance: PI/PR/LPF/NOTCH/IIR 2P2Z/PLL and dq/Clarke/Park transform patterns tailored for embedded execution.
  • Protection and recovery integration: Fault detect/confirm/shutdown/recovery chains with explicit shutdown ownership and integrator reset rules.
  • Hardware acceptance criteria: Every output includes concrete what-to-measure oscilloscope/validation limits to verify behavior.

Quick Start

Use this skill when you need an STM32G4xx-ready C implementation for a PFC/Vienna/DC-DC/LLC/PSFB/inverter control path with MISRA-oriented embedded constraints and explicit ADC-PWM synchronization.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: digital-power-embedded-c
Download link: https://github.com/KunYi/Skills/archive/main.zip#digital-power-embedded-c

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.