8M Plus - Asynchronous Sample Rate Converter (ASRC)

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

8M Plus - Asynchronous Sample Rate Converter (ASRC)

ソリューションへジャンプ
1,170件の閲覧回数
djsftree
Contributor I

Hi,

Section 14.5 descibes the ASRC in the 8M Plus.

This looks more advanced that previous ASRC in Freescale MCUs.

I am particularly interested in the FIR / IFIR pre-filters per context - see 14.5.2.7

Are there any plans to bring this advanced filtering functionality to the ALSA plugin?

https://github.com/nxp-imx/imx-alsa-plugins

If not, do you have any example code for the FIR / IFIR filtering contexts?

I'm seeing some traffic regraing the ASRC for the 8M N

https://github.com/Freescale/meta-freescale/pull/1389

It looks like it requires a firmware binary for coefficients.

https://github.com/Freescale/meta-freescale/commit/2cc7e931cdae51aeb2eeddb69b2c0a16784fa8d8

dts looks like it shows firmware binary too

https://www.kernel.org/doc/Documentation/devicetree/bindings/sound/fsl%2Ceasrc.yaml

0 件の賞賛
返信
1 解決策
1,129件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @djsftree 

I hope you are doing well.

Are there any plans to bring this advanced filtering functionality to the ALSA plugin?

[Ans]: We can't share this information until the next BSP release.

Yes, ASRC requires firmware binary.

It is referenced in easrc node at imx8mp.dtsi as below.

firmware-name = "imx/easrc/easrc-imx8mn.bin";

firmware binaries can be placed at /lib/firmware/imx in rootfs

One can download firmware binaries using as below.

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.18.bin

$ chmod +x firmware-imx-8.18.bin

$ ./firmware-imx-8.18.bin

easrc binary can be found at ~/firmware-imx-8.18/firmware/easrc

One can refer to /sound/soc/fsl/fsl_easrc.c

Thanks & Regards

Sanket Parekh

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,125件の閲覧回数
djsftree
Contributor I

Thanks Sanket.  I look forward to using the ASRC soon!

0 件の賞賛
返信
1,130件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @djsftree 

I hope you are doing well.

Are there any plans to bring this advanced filtering functionality to the ALSA plugin?

[Ans]: We can't share this information until the next BSP release.

Yes, ASRC requires firmware binary.

It is referenced in easrc node at imx8mp.dtsi as below.

firmware-name = "imx/easrc/easrc-imx8mn.bin";

firmware binaries can be placed at /lib/firmware/imx in rootfs

One can download firmware binaries using as below.

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.18.bin

$ chmod +x firmware-imx-8.18.bin

$ ./firmware-imx-8.18.bin

easrc binary can be found at ~/firmware-imx-8.18/firmware/easrc

One can refer to /sound/soc/fsl/fsl_easrc.c

Thanks & Regards

Sanket Parekh

0 件の賞賛
返信
337件の閲覧回数
praveen_yaramada
Contributor II

Hello @Sanket_Parekh ,

I'm following up on a previous discussion where it was mentioned that we'd need to wait for the next BSP release to see advanced filtering support integrated into the ALSA plugin. Now that some time has passed, I was wondering if these plans have materialized? Is there a merge request or any reference available that details this integration?

Best regards

Praveen

0 件の賞賛
返信