Firmware and Data Export Plan
EchoS Bank Rev A firmware plan:
MCU:
STM32L552 placeholder controller.
Host connection:
USB-C to Mac/laptop using USB device mode.
Data export:
- Stream raw complex impedance data to Mac.
- Export frequency, magnitude, phase, real impedance, imaginary impedance, timestamp, mux state, calibration state, and temperature.
- Save CSV-compatible records.
- Preserve raw data; do not only export processed results.
Per-measurement metadata:
- selected I+ electrode/channel
- selected I- electrode/channel
- selected V+ electrode/channel
- selected V- electrode/channel
- mux address state IN0-IN15
- mux enable state
- frequency
- excitation amplitude
- AD5940 gain/state
- calibration ID
- board temperature
- analog-region temperature
Rules:
- Do not modify schematic wiring.
- Do not add components.
- Do not modify USB.
- Do not modify AD5940, MCU, muxes, electrode dock, or calibration bank.