ΣSigmaStudio Ask AI Русский Log in

ADAU1467 Stop/Start clocks during boot

SigmaDSP & SigmaStudio S. Mahnken Apr 15, 2021 00:00 3 replies Original on forum ↗
Subscribe
S. Mahnken Question
Apr 15, 2021 00:00

Our system uses an ADAU1467 at its core. Several I2C peripherals are initialized by the ADAU1467 during the startup sequence. We'd like to prevent the BCLK and LRCLK signals from starting up before we complete our I2C initialization messaging to the peripherals.

We've identified that we can disable power to the CLK1 module during the boot-up, but we're having difficulty re-enabling it later. Are there other registers/bits that need to be set/cleared in order to re-enable power to the CLK1 module?

Is there a different (more preferred) way to hold the BCLK/LRCLK signals off until initialization completes?

Clarified a bit.

[edited by: S. Mahnken at 7:45 PM (GMT -4) on 15 Apr 2021]

S. Mahnken Reply
Apr 15, 2021 00:00

For sake of complete information, the control bit we're fiddling with is bit 10 (CLK_GEN1_PWR) of 0xF050 (POWER_ENABLE0).

Ken.M Reply
Apr 16, 2021 00:00

I think the simpler way to do this is to set the clock pins as inputs until the part comes up then reset them as outputs. The register write block would do this easily at run time. That would be the SERIAL_BYTE_x_0 register.

Ken

S. Mahnken Reply
Apr 16, 2021 00:00

Thanks, Ken. I like that idea. We'll try booting the DSP with the clocks as slaves, then turning them into masters once initialization has finished.