In order to synchronize the I2S data stream I need to reset de device.
Do you have any suggestion?
Can you please provide more detail about your system and what you are trying to accomplish?
As long as your ADAU1761 is running off the same master clock as the other devices on your I2S bus, there should be no need to reset the ADAU1761. It should simply sync with the other devices, based on the LRCLK and BCLK signals on the serial port.
in my scenario I have 2 ADAU1761 and a microcontroller connected by I2S.
The first ADAU1761 is the master, the second ADAU1761 and the micro are SLAVE devices.
The microcontroller read a SDcard and stram the audio on the I2S.
I certain case I need to reset the micro and in order to syncronize the micro I2S I need to have a
correct I2S DATA line level.
How are you detecting that the I2S data stream is out of sync? Are you dropping or doubling samples?
It sounds like in your system that one of the ADAU1761s should be your clock master to supply clocks to the microcontroller. The ADAU1761's serial port clocks need to be synchronous with the master clock, or else you will get added/dropped samples. If another device, such as the microcontroller, is your clock master, then you will need a sample rate converter between the ADAU1761 and serial port clock source.
Retrieving data ...