I am trying to connect the ADAU1401 digital audio input and output to an STM32H7 microcontroller. I am setting the ADAU1401 as I2S master to transmit and receive audio streams. I've read in the datasheet that I should physically tie LRCLK_IN with LRCLK_OUT and BCLK_IN with BCLK_OUT. I have done this. The problem happens when configuring the GPIO registers in SigmaStudio. After setting MP4 pin as LRCLK_IN, when I set MP10 as LRCLK_OUT the DSP seems to freeze (no audio out in the DAC and the LED connected to MP2 does not respond anymore).
How should I properly set the GPIO registers for this case?
Below is a screenshot of the Hardware Configuration. When I set MP10 as LRCLK_OUT the DSP freezes. The same happens if I set LRCLK_OUT and after LRCLK_IN. The order does not matter.
And here is a screenshot of the schematic (just for testing). Audio is working fine through ADC and DAC:
Sorry if the images are not rendering properly. I couldn't insert images directly in this post, do not know why. This is my first post here.
Best Regards,
Miguel Moreto