Other Parts Discussed in Thread: DIT4096, PCM3060
Tool/software: Starterware
Hi people,
I implemented the software example SPMA042b on my Tiva C and I can play files from my SD card so far but the ouput sound is scratchy... it sounds like an old vinyl disc.
I tried the amplifier with a PCM3060 as source and the sound is perfect so I think the amplifier and the connection is okay. The I2S BLCK and LRCLK is generated by a DIT4096. MLCK is a 12,288MHz oscillator which also supply the Tiva C XIN pin. The audio files have 48kHz sample rate with 16 bit. The core runs with 80MHz so I changed the SoundPlayContinue() call time linear to the time in the example.
I tried changing the SPI modes and frequencys, the sound format from I2S to left-justified tried different bit numbers and interrupt times, which SoundPlayContinue() is called, but nothing helps. I also disabled any other funktions so the MCU runs free between the calls.
Had someone the same problem or some hints which could be the problem ?
Thanks Alex