Files
RCM-Emulator/t210
Claude c6b532fdbd Read back CAR and MC registers, and measure the EMC at its modelled clock
Most CAR registers the model does not handle, and every MC register but
two, read 0 even after a write. Payloads saw a CLK_SOURCE divider, a
PLL misc word or an audio clock source they had just programmed come
back as 0.

- CAR: the fallthrough returns what was written. The SET/CLR alias
  registers are write strobes and keep reading 0. No CAR poll in bdk or
  hwtest waits for hardware to clear a bit it wrote, so read-back cannot
  turn a poll into a hang.
- MC: configuration registers read back (no MC register is polled).
- The PTO counter measures the EMC at the clock CAR and the PLLs give
  it, so it follows Minerva to 1600 MHz. At the 204 MHz boot clock it
  keeps the measured 203.991 / 204.001 MHz.

hwtest now reports the AUD_MCLK source, PLLA misc word and a clock
source divider it programs. Its verdict is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYewwDPujjo5B2xRyC5Grb
2026-09-25 21:21:30 +00:00
..
2026-05-02 00:52:26 +02:00
2026-05-02 00:52:26 +02:00