timing-analysis
/timing-analysis
Analyze real-time constraints, ISR latency, DMA transfer times, and LED protocol timing for embedded systems. Use when debugging timing-sensitive code, optimizing frame rates, or verifying protocol compliance.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Analyze real-time constraints, ISR latency, DMA transfer times, and LED protocol timing for embedded systems. Use when debugging timing-sensitive code, optimizing frame rates, or verifying protocol compliance.
Arguments
/timing-analysis <component, function, or timing issue to analyze>
Original author description
Analyze real-time constraints, ISR latency, DMA transfer times, and LED protocol timing for embedded systems. Use when debugging timing-sensitive code, optimizing frame rates, or verifying protocol compliance.
How it works
- What This Skill Analyzes
- How To Use
- What You'll Get
SKILL.md preview
--- name: timing-analysis description: Analyze real-time constraints, ISR latency, DMA transfer times, and LED protocol timing for embedded systems. Use when debugging timing-sensitive code, optimizing frame rates, or verifying protocol compliance. argument-hint: <component, function, or timing issue to analyze> context: fork agent: timing-analysis-agent --- Analyze timing-critical code paths for real-time constraint violations and optimization opportunities. $ARGUMENTS ## What This Skill Analyzes ### LED Protocol Timing - WS2812/SK6812/APA106 bit timing compliance (T0H, T0L, T1H, T1L, reset) - SPI clock rate calculations for wave8 encoding - RMT resolution and duration encoding accuracy - Reset pulse duration adequacy across chipsets ### Frame Rate Analysis - Total frame time budget (show() to DMA complete to reset delay) - Per-LED encoding time multiplied by LED count = encoding phase duration - DMA transfer time at configured clock rate - Inter-frame gap and CPU availability ### ISR Latency - Interrupt response time constraints - ISR execution time (must be <10us for most applications) - Priority inversion risks from ISR-held resources - Nested interrupt handling ### DMA Transfer Timing - Transfer size multiplied by clock period = transfer duration - Double-buffer swap timing and pipeline stalls - Chunk encoding overlap with DMA transmission - SPI/I2S/RMT peripheral clock configuration ## How To Use ``` /timing-analysis src/platforms/esp/32/drivers/spi/ /timing-analysis What is the maximum frame rate for 300 WS2812 LEDs on ESP32-S3 using SPI? /timing-analysis Check if the RMT timing meets WS2812 spec ``` ## What You'll Get - Timing breakdown with calculated durations (ns/us/ms precision) - Protocol compliance verification against LED chipset datasheets - Frame rate estimates for given LED counts - Bottleneck identification and optimization suggestions - Clock configuration recommendations
Versions
The database has no other skills named timing-analysis.
Database snapshot: 13.11.2026 · package version 3f41ae00e154 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90esp32-isr-latency-budget
Use when designing, reviewing, debugging or validating isr latency budget for ESP32 firmware; apply target-specific constraints, failure analysis and measurable verification before release. - 100embedded-systems
Use when developing firmware for microcontrollers, implementing RTOS applications, or optimizing power consumption. Invoke for STM32, ESP32, FreeRTOS, bare-metal, power optimization, real-time systems, configure peripherals, write interrupt handlers, implement DMA transfers, debug timing issues. - 100esp32-dma-cache-psram
Use when debugging DMA failures, PSRAM buffers, cache coherency, alignment, camera, SPI, I2S or peripheral transfer corruption. - 100embedded-systems
Use when developing firmware for microcontrollers, implementing RTOS applications, or optimizing power consumption. Invoke for STM32, ESP32, FreeRTOS, bare-metal, power optimization, real-time systems, configure peripherals, write interrupt handlers, implement DMA transfers, debug timing issues. - 100driver-review
Review and implement hardware driver code — DMA safety, interrupt correctness, timing constraints, peripheral register usage, channel drivers, and peripheral mock implementations. Use when writing, modifying, or reviewing LED drivers, SPI/I2S/RMT/UART/PARLIO/LCD_CAM peripherals,… - 100dma-baremetal
Bare-metal DMA skill for memory-peripheral transfers. Use when configuring DMA channels, circular mode, double buffering, or DMA IRQ completion. Activates on queries about DMA bare-metal, circular buffer, memory-to-peripheral, or DMA stream configuration.