TO CONFIGURE SAIF1 for playback in I.MX28 BSP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TO CONFIGURE SAIF1 for playback in I.MX28 BSP

660 Views
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

Labels (2)
0 Kudos
3 Replies

488 Views
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 Kudos

488 Views
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 Kudos

488 Views
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 Kudos