← AXO-003

Circuit review & bench-test guide

AXO-003 — Shift-register lab PMOD module

Design-stage — board not yet fabricated

Document purpose#

Component-level explanation and bench-test plan for axo-003-shift-lab, from generate_design.py, the module README.md, and the 74HC595 and KCSC02-105 datasheets. Never fabricated; values are verification targets.

1. What the board does#

Teaches what SPI is by making the student bit-bang a shift chain first: two cascaded 74HC595 serial-in/parallel-out registers. The first drives a single-digit 7-segment display; the second drives 8 LEDs. Data shifted into U1 overflows via QH' into U2 — the cascade is the lesson.

PMOD J1  SER ─> U1 SER ; U1 QH' ─> U2 SER (cascade)
         SRCLK ─> both SRCLK ; RCLK ─> both RCLK (latch) ; ~SRCLR ─> both
         U1 QA..QH ─> 220R ─> 7-seg (U3 KCSC02-105)
         U2 QA..QH ─> 330R ─> 8 LEDs

2. Safety and scope boundaries#

4. Interfaces#

5. Component-by-component review#

6. Datasheet summary (74HC595)#

KCSC02-105: 0.28" single digit, common-cathode, Vf ~1.9 V — 220 Ω gives ~6 mA/segment at 3.3 V.

7. Expected values before bench testing#

8. Manual review checklist#

9. Ordered bench-test procedure#

A. Unpowered: verify QH'→SER cascade, ~OE low, ~SRCLR high, common-cathode to GND, no VCC-GND short.

B. Power, idle: 3.3 V. Pulse ~SRCLR low→high then RCLK; confirm blank display, LEDs off, low idle current.

C. Single-stage shift: clock 8 bits (0x01) into SER with SRCLK, pulse RCLK; confirm one U1 output (one segment) lights. Walk the bit to verify each segment maps as expected.

D. Cascade shift: clock 16 bits so the low 8 land in U2; pulse RCLK; confirm the LED byte appears while the 7-seg shows the high byte — proving QH' overflow.

E. Latch timing scope: scope SER, SRCLK, RCLK together; confirm outputs change only on RCLK, not during SRCLK bursts (the glitch-free-latch lesson).

F. Digit sweep: display 0–9 by writing segment patterns; confirm the segment map and DP.

10. Troubleshooting map#

11. Bench record template#

Board: axo-003  Cascade verified: [ ]
Idle blank: [ ]   Single-segment walk OK: [ ]
Cascade (16-bit) OK: [ ]   RCLK-only latching confirmed: [ ]
Digit 0-9 map correct: [ ]
Notes:

12. Review conclusion#

A zero-hazard teaching board; the one thing to verify is the QH'→SER cascade and the RCLK-vs-SRCLK latch behavior on a scope, since that waveform is the lesson that makes the later hardware-SPI modules click.