I.MX8MLPLUS ASRC resampling issue

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

I.MX8MLPLUS ASRC resampling issue

484 Views
amandalin
Contributor III

@hongdong_chu 

客户在用NXP I.MX8MPLUS,I.MX8MPLUS搭配外部的FPGA and DANTE 音频模块。首先I.MX8MPLUS在整个板子上面是从设备,I.MX8MPLUS通过网络1588协议跟外部的Clock generator相连后,链接到FPGA后,达到时钟同步。FPGA的MCLK通过SAI3跟I.MX8MPLS连接;外部的DANTE模块跟I.MX8MPLUS通过SAI2相连,但是DANTE的采样率不稳定(DANTE的音频模块时钟是DANTE自己的时钟)。在这个架构里,因为两个信号源分别是通过FPGA和DANTE模块给过来,时钟域不同,客户希望通过I.MX8MPLUS的ASRC达到DANTE和I.MX8MPLUS的时钟域一样,客户想了解ASRC工作原理以及是否满足他们现在架构要求

谢谢

0 Kudos
Reply
2 Replies

449 Views
hongdong_chu
NXP Employee
NXP Employee

@amandalin 

As discussed in the meeting with Hollyland, the ASRC can indeed address sample rate mismatches between different clock domains, but there are still some issues.

In the customer’s system diagram, there is already a synchronization mechanism in place among the FPGA, the i.MX8MP, and the network side. The remaining challenge is the synchronization with DANTE.

The ASRC can align the DANTE clock rate to its internal operating clock, but the operating clock is derived from the SYS PLL, which uses the 24 MHz crystal as clock source by default. Therefore, the ASRC operating clock and the network‑based clock still have a rate matching problem. And changing the SYS PLL's reference clock may affect the stability of the whole system, so the problem is difficult to address.

One feasible solution is to use an external module for the ASRC conversion, with its clock sourced from the clock generator in the diagram.
0 Kudos
Reply

317 Views
amandalin
Contributor III

@hongdong_chu 

many  thanks for you help ,customer had accepted us suggest ,he will choose add more IC to solution it.

 

thanks a lot

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2334465%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3EI.MX8MLPLUS%20ASRC%20resampling%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2334465%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F25002%22%20target%3D%22_blank%22%3E%40hongdong_chu%3C%2FA%3E%20%3C%2FP%3E%3CP%3ECustomers%20are%20using%20NXP%20I.MX8MPLUS%2C%20I.MX8MPLUS%20with%20external%20FPGA%20and%20DANTE%20audio%20module.%20First%20of%20all%20I.MX8MPLUS%20in%20the%20whole%20board%20is%20from%20the%20device%2C%20I.MX8MPLUS%20through%20the%20network%201588%20protocol%20with%20the%20external%20Clock%20generator%20connected%20to%20the%20FPGA%20after%20linking%20to%20the%20clock%20synchronization%2C%20FPGA%20MCLK%20through%20SAI3%20and%20I.MX8MPLS%20connection%3B%20external%20DANTE%20module%20with%20I.MX8MPLUS%20through%20SAI2%20connected%20to%20the%20external%20DANTE%20module%20with%20I.MX8MPLUS%20through%20SAI2%20connected%20to%20the%20external%20DANTE%20module.%20MX8MPLUS%20is%20connected%20to%20I.MX8MPLUS%20via%20SAI2%2C%20but%20the%20sample%20rate%20of%20DANTE%20is%20not%20stable%20(the%20clock%20of%20DANTE's%20audio%20module%20is%20DANTE's%20own%20clock).%20In%20this%20architecture%2C%20because%20the%20two%20signal%20sources%20are%20given%20through%20FPGA%20and%20DANTE%20module%20respectively%2C%20the%20clock%20domains%20are%20different%2C%20the%20customer%20would%20like%20to%20achieve%20the%20same%20clock%20domains%20of%20DANTE%20and%20I.MX8MPLUS%20through%20the%20ASRC%20of%20I.MX8MPLUS%2C%20the%20customer%20would%20like%20to%20understand%20the%20working%20principle%20of%20ASRC%20and%20whether%20it%20can%20satisfy%20the%20requirements%20of%20their%20current%20architecture.%3C%2FP%3E%3CP%3Ethank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2335561%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20I.MX8MLPLUS%20ASRC%20resampling%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2335561%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F170319%22%20target%3D%22_blank%22%3E%40amandalin%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3E%0A%3CP%3EAs%20discussed%20in%20the%20meeting%20with%20Hollyland%2C%20the%20ASRC%20can%20indeed%20address%20sample%20rate%20mismatches%20between%20different%20clock%20domains%2C%20but%20there%20are%20still%20some%20issues.%3C%2FP%3E%0A%3CP%3EIn%20the%20customer%E2%80%99s%20system%20diagram%2C%20there%20is%20already%20a%20synchronization%20mechanism%20in%20place%20among%20the%20FPGA%2C%20the%20i.MX8MP%2C%20and%20the%20network%20side.%20The%20remaining%20challenge%20is%20the%20synchronization%20with%20DANTE.%3C%2FP%3E%0A%3CP%3EThe%20ASRC%20can%20align%20the%20DANTE%20clock%20rate%20to%20its%20internal%20operating%20clock%2C%20but%20the%20operating%20clock%20is%20derived%20from%20the%20SYS%20PLL%2C%20which%26nbsp%3Buses%20the%2024%E2%80%AFMHz%20crystal%20as%20clock%20source%20by%20default.%20Therefore%2C%20the%20ASRC%20operating%20clock%20and%20the%20network%E2%80%91based%20clock%20still%20have%20a%20rate%20matching%20problem.%26nbsp%3BAnd%20changing%20the%20SYS%20PLL's%20reference%20clock%20may%20affect%20the%20stability%20of%20the%20whole%20system%2C%20so%20the%20problem%20is%20difficult%20to%20address.%3C%2FP%3E%0A%3CDIV%3EOne%20feasible%20solution%20is%20to%20use%20an%20external%20module%20for%20the%20ASRC%20conversion%2C%20with%20its%20clock%20sourced%20from%20the%20clock%20generator%20in%20the%20diagram.%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2339108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20I.MX8MLPLUS%20ASRC%20resampling%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339108%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F25002%22%20target%3D%22_blank%22%3E%40hongdong_chu%3C%2FA%3E%26nbsp%3B%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3Emany%26nbsp%3B%20thanks%20for%20you%20help%20%2Ccustomer%20had%20accepted%20us%20suggest%20%2Che%20will%20choose%20add%20more%20IC%20to%20solution%20it.%3C%2FU%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CU%3Ethanks%20a%20lot%3C%2FU%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E