TO CONFIGURE SAIF1 for playback in I.MX28 BSP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TO CONFIGURE SAIF1 for playback in I.MX28 BSP

822 次查看
srinivasanshanm
Contributor III

Hi,

I verified I.MX28 BSP in I.MX28 EVK, & found out that SAIF0 is interfaced for SGTL5000.c , could anybody pls let me know whether SAIF1 is configured in I.MX28 BSP or not , if so is SAIF1 is configured for recording or what?.., could anybody pls confirm whether my understanding is correct or wrong w.r.t SAIF1 in I.MX28 BSP for I.MX28 EVK

In my custom board I need to configure SAIF1 as playback.. could anybody please let me know.. how this can be modified in I.MX28 BSP, as soon as possible 

Could anybody please give me the testapp in order to verify the write operations through the below nodes

/dev/snd/controlC0  /dev/snd/pcmC0D0c   /dev/snd/pcmC1D0p

/dev/snd/controlC1  /dev/snd/pcmC0D0p   /dev/snd/timer

/dev/snd/controlC0  /dev/snd/pcmC0D0c  /dev/snd/pcmC0D0p  -----> does this corresponds to SAIF0 playback or what??

/dev/snd/pcmC1D0p /dev/snd/controlC1 ---------> does this corresponds to SAIF1 playback or what??

Thanks in advance

标签 (2)
0 项奖励
回复
3 回复数

650 次查看
VladanJovanovic
NXP Employee
NXP Employee

As SAIF module is capable of half-duplex transfers only, in order to achieve full-duplex audio on i.MX28EVK, SAIF0 is configured for Tx and SAIF1 for Rx from SGTL5000 codec.

0 项奖励
回复

650 次查看
sandeshgowda
Contributor III

We configured SAIF0 as Tx mode and we want to configure SAIF1 also as TX mode(where both sharing same master clock as per reference manual). is't possible?

0 项奖励
回复

650 次查看
YixingKong
Senior Contributor IV

Thank you for you prompt response. I will close this discussion now. If you need help please come her again and reopen this thread.

Yixing

0 项奖励
回复