Dear,
I'm trying to generate a 2 KHz beep on the PCM1774 but the sine wave is disturbed (see channel 1). What can cause this mismatched signal?
The audio data format is I2S, no de-emphasis filter and oversampling on.
I have set a sample rate of 8 KHz (this is also the LRCK). I'm generating a 2 MHz (256 * fs) system clock and using the SPI bus for sending the data bytes at 1 MHz (128 * fs). The DAC is set in slave mode (for receiving LRCK and BCK). The image underneath is showing DIN on channel 1 and BCK on channel 2. The value written is 0x7FFF.
The image underneath shows LRCK on channel 1 and BCK on channel 2. There is a gap of 3.68 us between the 2 signals. Can this be the cause?
According the datasheet there must be (minimum? or exact?) 1 period of BCK signal before setting the data in I2S mode.
Best regards
Wim