Vybrid ASRC sample code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Vybrid ASRC sample code

2,804件の閲覧回数
stefansinger
NXP Employee
NXP Employee

Hi, we need to write an ASRC driver for our Audio Framework on Vybrid. Is there any sample code to start from ? I believe a similar (or identical ?) block has been used on i.MX6, but obviously on Vybrid the ASRC is supposed to work together with the eDMA, so any sample for that would be great.

Thanks

Stefan

ラベル(5)
0 件の賞賛
返信
5 返答(返信)

1,794件の閲覧回数
juangutierrez
NXP Employee
NXP Employee

As a reference you can look at the linux driver implementation for imx6 at

the next directories:

<kernel_imx>/linux/drivers/mxc/asrc

<kernel_imx>/linux/include/linux/

<kernel_imx>/linux/sound/soc/imx/

<kernel_imx>/linux/sound/soc/codec/

and the next files:

mxc_asrc.c                ASRC driver implementation codes including stream interface    

mxc_asrc.h                ASRC register definitions and export function declarations    

imx-cs42888.c           memory to ASRC to ESAI TX implementation in 7.1 audio codec machine driver.

imx-pcm-dma-mx2.c   memroy to ASRC to ESAI TX implementation in 7.1 audio codec platform driver

imx-esai.c                  memroy to ASRC to ESAI TX implementation in 7.1 audio codec cpu driver.                   

cs42888.c                  memory to ASRC to ESAI TX implementation in 7.1 audio codec codec driver.

1,794件の閲覧回数
stefansinger
NXP Employee
NXP Employee

Since the setup on Vybrid is quite a bit different, I am still struggling. The ASRC chapter in the Vybrid RM actually has some C code. Does anyone have this code or any other example ?

0 件の賞賛
返信

1,794件の閲覧回数
timesyssupport
Senior Contributor II

Hello Stefan,

At the moment, I can't point to any direct reference. It looks like another thread here on the imxcommunity, https://community.freescale.com/message/332039#332039 takes advantage of the i.MX6 fsl-alsa-plugins to get this done rather easily.

We will need to review and see where we stand with the Vybrid kernel. I would expect we can follow up early week of 9/22.

Regards,

Timesys Support

1,794件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport do you have an update on this case?

0 件の賞賛
返信

1,794件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you  help on this case?

0 件の賞賛
返信