- Thread Starter
- #2,041
I'm afraid it's not entirely clear to me as to what the question was that Google is trying to answer.From Google, please anyone fact check
Reception (ADAT In)
PIO architecture lacks the asynchronous oversampling arrays, Phase-Locked Loops (PLLs), or delay-locked loops (DLLs) necessary to track and lock onto this incoming bit phase dynamically.
data bits will arrive at the Pico 2’s GPIO pin with an unpredictable phase offset relative to the Pico's internal clock cycles.
...
(I asked about the fact that my source device is part of BNC WC global network connecting all DDC and AD/DA converting devices, thinking that would obviate such issues)
No Sub-Clock Tracking: A standard Word Clock line only pulses once per audio frame (e.g., 48 kHz). It does not provide the high-frequency bit-rate clock (e.g., 11.2896 MHz or 12.288 MHz) needed to sample the center of each incoming NRZI bit.The Sampling Risk: Without phase alignment, the Pico 2's PIO sampler risks reading the digital pin exactly when the optical signal is transitioning between a 0 and a 1. This causes massive jitter, bit errors, and audible digital clicks.
...
Reco solutions
Dedicated ADAT Receiver IC (Highly Recommended)Route the output of your FCR6842031R optical jack directly into a dedicated hardware transceiver, such as a Coolaudio V1402 or an ALALES Alesis Semiconductor AL1402
or?
Implement a Tiny External CPLD / FPGAPlace a cheap, low-power CPLD (like a Lattice iCE40) between your FCR6842031R receiver and the Pico 2.The Mechanism: Feed both the BNC Word Clock and the optical data line into the CPLD. Use the CPLD to run a high-speed digital clock-data recovery (CDR) loop to deserialize the ADAT data, then feed it to the Pico 2 over a clean, synchronous SPI or TDM interface.
If Google's answer is in regards to fundamental feasbility of ADAT in/out on the RP2350, then it's incorrect. The PIO doesn't need a PLL in order to lock incoming bit phase. Each ADAT bit occupies about 25 clock ticks, which is perfectly adequate for clock recovery and for the RX to remain centered on the middle of each bit.