mirror of
https://github.com/D-Modem/hardware.git
synced 2026-11-28 17:48:05 -08:00
pico-serial Line's firmware: a USB front end for its Si3056 + Si3018 DAA, the modem itself being D-Modem on the host (SPEC-L.md). - Si3056 bring-up: 48 MHz MCLK from the USB PLL on GPIO21, reset in serial mode 0, PLL1 N = 125 / M = 256, 9600 Hz, 16-bit mode, line side powered up; FDT checked. - si3056.pio: the RP2040 as the serial port's slave; every word through the portable frame engine (daa_frame.c) from the PIO's interrupt. Register accesses ride in secondary frames (LSB flag, then FC pin). - USB: one vendor interface shaped like the SmartUSB56's (alt 1: isochronous OUT/IN at 1 ms, IN lengths set by the codec's clock, and an interrupt endpoint for events), vendor requests for rate, hook, flash, line monitor, register access, status, reset, UF2; 1209:0002. - Host tests (test_line.c): the frame engine against a model of the Si3056's serial port, the sample streams, the device logic; mutations of the frame engine are caught. PROTOCOL.md "Line stick" documents it for the host's driver; CI builds it. Not yet run on hardware. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8