This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP mcbsp routing



Hi team ,

i am working on the omap4460 .I have connected audio codec to MCBSP1 and bluetooth module to MCBSP2.Audio routing  through MCBSP1 works well .i am confused on how to change the default MCBSP1 configuration.

i would like to know how to route BT call and music through MCBSP2 to the audio codec through MCBSP1
.

BT<->MCBSP2<->MCBSP1<->Audio codec.

NOTE: audio codec<->MCBSP1  works well.

  • Hello Nirmal,

    Would it be possible to give more details about the operating system which runs on your board?

    Do you use Android release or Linux GLP release?

    See the ABE logical/physical port mapping:

    abe_connect_serial_port

    Prototype: u32 abe_connect_serial_port (u32 id, abe_data_format_t *f, u32 mcbsp_id);

    Parameters:

    id: port name

    f : data format

    i : peripheral ID (McBSP #1, #2, #3)

    Operations: enables the data exchanges between a McBSP and an ATC buffer in DMEM. This API is used to connect 44.1/48kHz McBSP streams to MM_EXT_OUT, 48kHz McBSP streams to MM_EXT_IN and 8/16kHz voice streams to VX_UL, VX_DL, BT_VX_UL, BT_VX_DL

    The detailed use-case below implements a path between a 16kHz Modem voice path to a 8kHz BT SCO path. The Modem and BT are respectively connected to McBSP2 and McBSP1.

    For more information refer to - http://www.ti.com/lit/ug/swpu245h/swpu245h.pdf

    You can see the McBSP configurations in your kernel:

    arch/arm/mach-omap2/mux44xx.c:

    arch/arm/mach-omap2/mcbsp.c

    sound/soc/omap/mcbsp.c

    #Q: I would like to know how to route BT call and music through MCBSP2 to the audio codec through MCBSP1.

    BT<->MCBSP2<->MCBSP1<->Audio codec.

    - The only option is to be used the ABE applications, available in ABE addendum.

    There is no options to change the signal routing for McBSP1 and McBSP2:

    Muxing characteristics:

    Best regards,

    Yanko