I have a problem about configure SRU for ADSP-21569
due to project designed DAI0_PIN01 - DAI0_PIN09 is I2S input, and DAI1_PIN01 - DAI1_PIN10 is I2S output
like as photo
I had refer EZ-KIT reference sample code of Audio_Passthrough_I2S_21569, but they are I2S in/out within DAI1,
and sample code is work fine in EZ-KIT ADSP-21569.
(1) how could I configure SRU for passthrough first like as sample code of Audio_Passthrough_I2S_21569?
*pREG_PADS0_DAI0_IE = BITM_PADS_DAI0_IE_VALUE;
*pREG_PADS0_DAI1_IE = BITM_PADS_DAI1_IE_VALUE;
SRU2(DAI1_PB05_O,SPT4_ACLK_I); /*DAC clock to SPORT 4A*/
SRU2(DAI1_PB05_O,SPT4_BCLK_I); /*DAC clock to SPORT 4B*/
SRU2(DAI1_PB04_O,SPT4_AFS_I); /*DAC FS to SPORT 4A*/
SRU2(DAI1_PB04_O,SPT4_BFS_I); /*DAC FS to SPORT 4B*/
SRU2(SPT4_AD0_O,DAI1_PB01_I); /* SPORT 4A to DAC*/
#if defined(__ADSP21566__)|| defined(__ADSP21567__) || defined(__ADSP21569__)
SRU2(DAI1_PB05_O,DAI1_PB12_I); /*DAC clock to ADC */
#elif defined(__ADSP21562__)|| defined(__ADSP21563__) || defined(__ADSP21565__)
SRU2(DAI1_PB05_O,DAI1_PB09_I); /*DAC clock to ADC */
SRU2(DAI1_PB04_O,DAI1_PB20_I); /*DAC FS to ADC */
(2) in this designed, there are used MCLK, how about this PIN configure?