Hello
The SAI device (on the Kinetis 120MHz) does not allow division of “Time slots” data stream.
Data frames (x frames) are stored in a one data stream buffer. Data arrangement in the data buffer is dependent on the sequence transmission "Time slots" 0,1,2,... in frame.
For a I2S codec are used only 2 time slots (0,1) and data arrangement in buffer is
Slot: 0 1
LeftChannel, RightCHannel, // Sample 0
LeftChannel, RightCHannel, // Sample 1
LeftChannel, RightCHannel, // Sample 2
LeftChannel, RightCHannel, // Sample 3
...
LeftChannel, RightCHannel, // Sample n
=> Buffer arrangement: uint16_t Buffer[2][SampleNum]; // first index: 0 = LeftChannel, 1= RightChanne