Hi,
I am using i.mx6dl board to implement an android based device.
And I would like to do a audio route like,
AUD3 --> audio codec (Speaker)
AUD4 --> I2S in (via HDMI in decoder)
And I would like to route AUD4 to AUD3 in normal.
Here is my question,
If it comes the notification sound from Android via AUD2(SSI), how could we mix it?
AUD4 --> AUD3
AUD2 --> AUD3? (how to mixing them)
Thanks,
Bruno
I'm not sure about your questions, you can configure AUDx to any port in the kernel, Each of the AUDMUX ports has its own set of registers that allows you to configure the port as desired. Please understand that you will be using six ports for three external signals. for more detailed information about this, one can refer to the SSI chapter in the Reference Manual.
for example you use AUD5, one can find the kernel source code like this
static iomux_v3_cfg_t mx6q_sabrelite_pads[] = {
….
/*AUD5 MUX*/
MX6Q_PAD_KEY_COL0__AUDMUX_AUD5_TXC,
MX6Q_PAD_KEY_ROW0__AUDMUX_AUD5_TXD,
MX6Q_PAD_KEY_COL1__AUDMUX_AUD5_TXFS,
MX6Q_PAD_KEY_ROW1__AUDMUX_AUD5_RXD,
…..
}
…./*you have modified here*/
static struct mxc_audio_platform_data mx6_sabrelite_audio_data = {
.ssi_num = 1,
.src_port = 2,
.ext_port = 5,
.init = mx6_sabrelite_sgtl5000_init,
.hp_gpio = -1,
};
Hi, Joan,
Thanks for your reply. And sorry for that I did not describe clearly.
I think I should break down my question. Could you help to clarified the first one?
Q. Is it possible to connect two external ports directly via AUDMUX?
For example, AUD3 and AUD4 connect the devices "AUX in" and "Speaker Out" respectively.
And the audio data route from "AUX in" to "Speaker Out" without via SSI2?
Thanks,
Bruno