Hi, Poul Erik,
We have example code for I2S module of K70 based on MQX os, I suppose you have installed MQX, pls refer to the directory:
C:\Freescale\Freescale_MQX_4_0\mqx\examples\i2s_demo, there is example called "i2s_demo_twrk70f120m", I think you can run the code. No matter whether the frame clock/bit clock are from K70, ADC or DAC, I think you can use synchronous mode(both receiver/transmitter use the same bit clock and frame clock), even you can use asynchronous mode, but the same bit clock/ frame clock signals drive both the transmitter and receiver, in the above case, the DAC and ADC converters receve/transmit data at the same time, in other words, they sample simultaneously. I do not know what the "phase difference" means and how you measure it.
I suppose you get the ADC sample firstly, in the next I2S cycle, you output the ADC sample to DAC, then test the phase difference, in theory, they has one conversion time phase shift, the additional phase shift is the difference of ADC and DAC conversion time.
If you use MQX os, I suspect that the receiver/transmitter data are saved in respective buffer, if you want to test the phase shift, I think it is okay to just use interrupt mode without MQX.