How to drive STA350BW (X-NUCLEO-CCA01M1) from Raspberry Pi (or other) SBC
Hi,
I'm trying to attach a RaspberryPi-like SBC to the STA350BW dev board. I have I2C working (bit-banged), and have also connected the I2S LRCLK, BCLK and DATA signals.
However, looking at the documentation, it appears that a master clock (MCLK) is also required. Is this the case? I'm not sure I can generate a suitably fast MCLK from the SBC. If I'm able to obtain a suitable crystal oscillator, is this likely to work even if the BCLK and MCLK may not be *exactly* accurate?
Reading the status register returns 0xFF, which suggests that the PLL is not locked. I'm guessing this is why I'm not getting any audio at all (despite disabling the IDE bit).
Grateful for any advice.
Edit:
I've hooked up a clock source, and the PLL is now showing as locked. But I'm still not getting a peep out of the amp. The status register shows 0x7f (127) - suggesting that there are no other faults.
I've played with master volume, channel volume, as well as disabling IDE, BCLE, and bypassing most of the DSP functionality - still silence. Can anyone provide a good set of register configs that *ought* to make some sound? I'm sending 16-bit stereo at 44.1 right now.
Thanks,
Ben
