On Sat, Mar 25, 2017 at 04:45:46PM +1100, Matt Flax wrote:
On 25/03/17 06:09, Mark Brown wrote:
Could you please be concrete about what the two formats you're talking about here are and how these differences are observable on the wire? I don't know what "two data word edge triggered ABP" means.
On the codec side it is a regular TDM stream. On the SoC side, two channels are arbitrarily offset from a PCM frame sync clock (PCM_FS) leading edge. I have chosen to have 64 bits per frame with 1 bit offset for the first word (from the leading edge) and 33 bits offset (from the leading edge) for the second word. This resembles I2S, but it doesn't have to for the bcm2835.
What's internal to the SoC is not relevant here, what matters is what's externally visible. The formats on the DAI are how the SoC interfaces with the outside world.