Patch to enable ASRC_P2P support for SSI based on Kernel 3.0.35 for I.MX6DL/DQ SebreSD boards

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

Patch to enable ASRC_P2P support for SSI based on Kernel 3.0.35 for I.MX6DL/DQ SebreSD boards

Patch to enable ASRC_P2P support for SSI based on Kernel 3.0.35 for I.MX6DL/DQ SebreSD boards

i.MX6 4.0.0 BSP release doesn't support ASRC_P2P function. This patch provides the reference codes to enable ASRC_P2P function for SSI. It can convert input sample rate to 44.1K_16bit/44.1K_24bit and 48K_16bit/48K_24bit. You can modify the configurations in the Board file.

By the way, the SSI controler works at slave mode.

Known limitations for the patch:

-- The SDMA doesn't support SSI Dual FIFO when using ASRC_P2P function.

-- From the waveform, the converted 24bit data have some abnormal data(values between 0 and 1) , but can't hear any abnormal sound from headphone. One suggestion is given under https://community.freescale.com/docs/DOC-95340

Attachments
Comments

Hi,

Lei Ge / Xiaoli Zhang

We have implemented P2P ASRC for recording using your attached patch.

ASRC is working perfectly but it stops working after 8 to 10 hours of Recording.

We are getting Overflow error in SDMA_MODE_P2P mode.

How to fix this issue?

Saurabh

%3CLINGO-SUB%20id%3D%22lingo-sub-1109319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPatch%20to%20enable%20ASRC_P2P%20support%20for%20SSI%20based%20on%20Kernel%203.0.35%20for%20I.MX6DL%2FDQ%20SebreSD%20boards%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1109319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ei.MX6%204.0.0%20BSP%20release%20doesn't%20support%20ASRC_P2P%20function.%20This%20patch%20provides%20the%20reference%20codes%20to%20enable%20ASRC_P2P%20function%20for%20SSI.%20It%20can%20convert%20input%20sample%20rate%20to%2044.1K_16bit%2F44.1K_24bit%20and%2048K_16bit%2F48K_24bit.%20You%20can%20modify%20the%20configurations%20in%20the%20Board%20file.%3C%2FP%3E%3CP%3EBy%20the%20way%2C%20the%20SSI%20controler%20works%20at%20slave%20mode.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EKnown%20limitations%20for%20the%20patch%3A%3C%2FP%3E%3CP%3E--%20The%20SDMA%20doesn't%20support%20SSI%20Dual%20FIFO%20when%20using%20ASRC_P2P%20function.%3C%2FP%3E%3CP%3E--%20From%20the%20waveform%2C%20the%20converted%2024bit%20data%20have%20some%20abnormal%20data(values%20between%200%20and%201)%20%2C%20but%20can't%20hear%20any%20abnormal%20sound%20from%20headphone.%20One%20suggestion%20is%20given%20under%20%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-95340%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.freescale.com%2Fdocs%2FDOC-95340%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1109319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ei.MX6%204.0.0%20BSP%20release%20doesn't%20support%20ASRC_P2P%20function.%20This%20patch%20provides%20the%20reference%20codes%20to%20enable%20ASRC_P2P%20function%20for%20SSI.%20It%20can%20convert%20input%20sample%20rate%20to%2044.1K_16bit%2F44.1K_24bit%20and%2048K_16bit%2F48K_24bit.%20You%20can%20modify%20the%20configurations%20in%20the%20Board%20file.%3C%2FP%3E%3CP%3EBy%20the%20way%2C%20the%20SSI%20controler%20works%20at%20slave%20mode.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EKnown%20limitations%20for%20the%20patch%3A%3C%2FP%3E%3CP%3E--%20The%20SDMA%20doesn't%20support%20SSI%20Dual%20FIFO%20when%20using%20ASRC_P2P%20function.%3C%2FP%3E%3CP%3E--%20From%20the%20waveform%2C%20the%20converted%2024bit%20data%20have%20some%20abnormal%20data(values%20between%200%20and%201)%20%2C%20but%20can't%20hear%20any%20abnormal%20sound%20from%20headphone.%20One%20suggestion%20is%20given%20under%20%3CA%20_jive_internal%3D%22true%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-95340%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.freescale.com%2Fdocs%2FDOC-95340%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1109320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Patch%20to%20enable%20ASRC_P2P%20support%20for%20SSI%20based%20on%20Kernel%203.0.35%20for%20I.MX6DL%2FDQ%20SebreSD%20boards%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1109320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ELei%20Ge%20%2F%20Xiaoli%20Zhang%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EWe%20have%20implemented%20P2P%20ASRC%20for%20recording%20using%20your%20attached%20patch.%3C%2FP%3E%3CP%3EASRC%20is%20working%20perfectly%20but%20it%20stops%20working%20after%208%20to%2010%20hours%20of%20Recording.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EWe%20are%20getting%20Overflow%20error%20in%20SDMA_MODE_P2P%20mode.%3C%2FP%3E%3CP%3EHow%20to%20fix%20this%20issue%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ESaurabh%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎08-07-2013 12:25 AM
Updated by: