|
|
86a5db5b08
|
Optimize pin mapping for direct bitwise GPIO ops
Rewire GPIO↔HMC472A so GPIO(n) = step bit (n-1):
GPIO1→V6(0.5dB), GPIO2→V5(1dB), ... GPIO6→V1(16dB)
This enables single-instruction GPIO updates:
GPIO.out_w1tc = (step & 0x3F) << 1
GPIO.out_w1ts = (~step) & 0x7E
Replaces 28-line loop with 4-line bitwise code.
|
2026-02-03 00:28:33 -07:00 |
|
|
|
b5794c5f8d
|
Add hardware wiring documentation and KiCad schematic
- wiring.md: Pin mapping table, module pinout, logic levels
- wiring-diagram.svg: Visual connection diagram (S2 Mini ↔ HMC472A)
- hmc472-controller.kicad_pro/sch: KiCad project for EDA work
GPIO1-6 → V1-V6 (active-low, 16/8/4/2/1/0.5 dB)
5V VBUS → +5V, GND → GND
|
2026-02-03 00:04:56 -07:00 |
|