Paul Kavan wrote:
Well, I have fanned out all 6 SSC lines to the codec now and have them configured individually to create the desired effect. However, it is still buggy. TF0 now does not activate properly when in capture mode. I get the same type of waveform I received when I was using TF0 to attempt capture. Nothing seems to work correctly except playback....and only when I have TF0 sent to the codec's frame receive and send pins.....
I want to look through the SoC code to where the SSC is activated/reset so I can try to determine what is happening. I know the SSC works well with this codec and want to figure out what I need to do to modify the code to make it happen with ALSA as well. I hate the idea of going back to the drawing board and trying to write my driver so that it uses the PDC, but the ALSA SoC is simply not working well enough yet with the at91sam9260.
Does anyone know where I can find this code at?
All of the SSC code is contained in sound/soc/at91/at91-ssc.c in functions at91_ssc_hw_params() and at91_ssc_shutdown().
../fam