本文へ移動
cccskills
無料GitHub で公開

embedded-systems-expert

Expert-level embedded systems covering microcontrollers, RTOS, peripheral interfaces, low-power design, bare-metal programming, and embedded Linux.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.5 KB
  • .gitkeep0 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Embedded Systems Expert

Before Starting

  1. Bare-metal or RTOS-based?
  2. Which microcontroller family? (ARM, AVR, ESP32, STM32)
  3. Real-time constraints or resource constraints primary concern?

Core Expertise Areas

Microcontroller Fundamentals

Architecture: CPU core, flash, RAM, peripherals integrated on one chip. ARM Cortex-M: dominant family, M0 to M7, increasing performance and features. Memory map: code, SRAM, peripherals mapped to address space. Interrupts: NVIC handles priorities, ISR must be short and non-blocking. Startup code: initialize stack, copy data to RAM, zero BSS, call main.

Peripheral Interfaces

GPIO: general purpose IO, configure as input or output, pull-up or pull-down. UART: serial communication, baud rate, start and stop bits, parity. SPI: synchronous serial, four wires, master-slave, high speed. I2C: two-wire serial, multi-device on same bus, 7-bit addressing. PWM: pulse width modulation, motor control, LED dimming, DAC approximation.

RTOS

Task: independent thread of execution, priority, stack size. Scheduler: preemptive priority-based, context switch at tick or preemption. Semaphore and mutex: synchronization between tasks, prevent priority inversion. Queue: inter-task communication, FIFO data passing. FreeRTOS: most popular open source RTOS, widely supported.

Low-Power Design

Sleep modes: stop, standby, hibernate trade wake time for power savings. Clock gating: disable peripheral clocks when not in use. Voltage scaling: reduce core voltage at lower frequencies. Wake sources: RTC, GPIO interrupt, watchdog timer to exit low power mode.

Best Practices

  • Keep ISRs short, set flags and return, process in main loop or task
  • Use watchdog timer to recover from firmware hangs
  • Test memory usage to avoid stack overflow
  • Use hardware debugger not just printf for embedded debugging

Common Pitfalls

PitfallFix
Stack overflowSize stack carefully, use RTOS stack monitoring
Race condition on shared dataUse mutex or disable interrupts around critical section
Floating point in ISRAvoid FPU in ISR or save and restore FPU state
Blocking in ISRSet flag in ISR, process in task or main loop

Related Skills

  • electronics-expert
  • circuit-analysis-expert
  • linux-expert

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert-level abstract algebra knowledge. Use when working with groups, rings, fields, modules, Galois theory, representation theory, or algebraic structures. Also use when the user mentions 'group', 'ring', 'field', 'homomorphism', 'isomorphism', 'normal subgroup', 'quotient group', 'Sylow theorem', 'Galois theory', 'polynomial ring', 'ideal', 'module', 'vector space', or 'representation theory'.

日本語の概要は準備中です。原文の説明を表示しています。

luokai0/ai-agent-skills-by-luo-kai122026年5月6日 更新

Expert-level acoustics knowledge. Use when working with sound waves, acoustic propagation, resonance, standing waves, Doppler effect, room acoustics, ultrasound, noise control, musical acoustics, or architectural acoustics. Also use when the user mentions 'sound wave', 'decibel', 'frequency', 'resonance', 'standing wave', 'Doppler effect', 'acoustic impedance', 'reverberation', 'ultrasound', 'noise control', 'harmonics', or 'sound intensity'.

日本語の概要は準備中です。原文の説明を表示しています。

luokai0/ai-agent-skills-by-luo-kai122026年5月6日 更新

Expert-level aerodynamics covering subsonic and supersonic flow, lift and drag, airfoil theory, boundary layers, compressible flow, and CFD methods.

日本語の概要は準備中です。原文の説明を表示しています。

luokai0/ai-agent-skills-by-luo-kai122026年5月6日 更新

Expert-level air quality engineering covering pollutant sources, atmospheric dispersion, air quality standards, emission controls, and air quality modeling.

日本語の概要は準備中です。原文の説明を表示しています。

luokai0/ai-agent-skills-by-luo-kai122026年5月6日 更新

Expert-level aircraft structures covering structural design philosophy, wing and fuselage analysis, fatigue and damage tolerance, composite structures, and certification.

日本語の概要は準備中です。原文の説明を表示しています。

luokai0/ai-agent-skills-by-luo-kai122026年5月6日 更新

Expert-level algorithms and complexity theory covering sorting, searching, graph algorithms, dynamic programming, greedy algorithms, NP-completeness, and algorithm design paradigms.

日本語の概要は準備中です。原文の説明を表示しています。

luokai0/ai-agent-skills-by-luo-kai122026年5月6日 更新

luokai0 のスキルをすべて見る

このスキルの問題を報告する