M1 complete: XIAO M0 drives LP5562 LEDs over I2C

Add error-resilient firmware with diagnostic LED blink patterns
(3 slow = alive, solid = I2C OK, fast burst = I2C error). Document
EVM external MCU wiring: disconnect P6 EN jumper, power VDD from
XIAO 5V, leave SCL/SDA jumpers in place with MSP430 unpowered.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
michael
2026-03-05 12:03:31 -08:00
parent 5970a21b54
commit e45273bc71
3 changed files with 67 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
# xblink Project Status
**Current Milestone**: M1LED Smoke Test (I2C verified via EVM USB bridge, XIAO M0 flash pending)
**Current Milestone**: M2Engine Patterns
**Last Updated**: 2026-03-05
---
@@ -24,7 +24,7 @@
- [x] Update `main.rs` with I2C init + GPIO EN + LP5562 direct PWM test
- [x] Verify `cargo build --release` compiles
- [x] Verify LP5562 I2C control via EVM USB-to-I2C bridge (`tools/lp5562_evm.py`)
- [ ] Flash XIAO M0 and verify RGBW LED channels with Rust firmware
- [x] Flash XIAO M0 and verify RGBW LED channels with Rust firmware
### M2: Engine Patterns
@@ -142,7 +142,7 @@
|------|--------|-------|
| Seeed XIAO M0 | Available | Dev board MCU (SAMD21G18A) |
| LP5562EVM | Available | TI eval module, RGBW LEDs, I2C addr 0x30 |
| Mini-USB cable | Not on hand | Needed to flash XIAO M0 |
| Mini-USB cable | Available | USB-C, used for flashing XIAO M0 |
| NTAG5 Link Click | Available, partially wired | Missing I2C jumper to XIAO |
| Hall effect sensor | Not available | Need to source — TI DRV5032FB (SOT-23) for prototype |
| ACR1552 PCSC reader | Available | For ntag5sensor Python tooling |