bu03-hardware-reference

Diagnose BU03 UWB wiring and SPI communication issues on STM32F407IGHx.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/51hhh/BU03 --skill bu03-hardware-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bu03-hardware-reference
Source: https://github.com/51hhh/BU03/tree/main/.github/skills/bu03-hardware-reference
Command: npx skills add https://github.com/51hhh/BU03 --skill bu03-hardware-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you diagnose BU03 UWB module hardware issues quickly, especially when checking pin wiring, SPI communication, DW3000 device identity, and basic runtime faults on an STM32F407IGHx platform.

Core Features & Use Cases

  • Wiring reference: Confirms the known-good 6-wire SPI connection and clearly lists which control pins are intentionally unconnected.
  • SPI and device troubleshooting: Explains the correct transfer pattern for DW3000 communication and how to interpret common DEV_ID readbacks such as no response or floating MISO.
  • Polling-based IRQ handling: Provides a fallback approach for systems without an IRQ wire by checking SYS_STATUS in the main loop.
  • Bring-up validation: Summarizes verified initialization steps, debug variables, LED status behavior, and current UWB configuration values for lab debugging.
  • Use case: When the module powers on but fails to initialize or returns the wrong device ID, use this Skill to verify wiring, transfer mode, and status signals before changing firmware.

Quick Start

Use this skill to inspect the BU03 wiring and explain the most likely cause of a failed DW3000 DEV_ID read.

Frequently Asked Questions about bu03-hardware-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How to fix DW3000 DEV_ID readback failures on STM32F407?

To fix DW3000 DEV_ID readback failures on STM32F407, verify your 3.3V power supply and ensure the SPI transfer runs continuously with the CS pin held low. This Skill diagnoses incorrect BU03 wiring and floating MISO issues.

What is the correct SPI pinout for BU03 UWB hardware debugging?

The correct SPI pinout for BU03 UWB hardware debugging uses a known-good 6-wire SPI connection. This Skill confirms the required wiring and clearly lists which DW3000 control pins are intentionally left unconnected.

How to handle DW3000 IRQ without a hardware wire on STM32F407?

To handle DW3000 IRQ without a hardware wire on STM32F407, implement polling-based IRQ handling. This Skill provides a fallback approach by checking the SYS_STATUS register directly in the main loop.

Why does my BU03 UWB module power on but fail to initialize?

Your BU03 UWB module fails to initialize due to incorrect DW3000 transfer modes or status signal errors. Use this Skill to verify wiring, validate debug variables, and inspect LED status behavior.

What are the known limitations of polling SYS_STATUS for DW3000 events?

A limitation of polling SYS_STATUS for DW3000 events is the lack of immediate hardware-triggered responsiveness. This approach serves as a fallback for systems lacking a physical IRQ wire, requiring continuous main loop checks.