Hi all,
I am working on PROGRAMMABLE VOICE DAA SI3050, It has SPI Interface for control as well as PCM highway data interface, which is to be interfaced with I.MX6UL. Can anybody tell whether I.MX6UL has SSI interface ?. If this interface is possible, Please share the information on this.
Regards
Mahesh
It is Synchronous Audio Interface (SAI) in i.MX6UL.
The synchronous audio interface (SAI) supports full-duplex serial interfaces with frame synchronization such as I2S, AC97, TDM, and codec/DSP interfaces
You can download i.MX6UL Reference Manual for more detail information.
It can be found in: i.MX 6UltraLite Applications Processor|NXP
Hi Justin,
We have a custom Designed Board based on i.mx6D, Where the SLIC IC, LE9641 (Supporting PCM +SPI) is connected to the AUDMUX interface and the SPI interface of the i.mx6D respectively.
We are able to communicate with the SLIC IC trough SPI interface, but i m not getting CLOCK from the AUDMUX fro the PCM interface.
Could you please suggest anything on this?
Thanks
Sumit
Hi Saurabh patel,
Here are my code changes.
&audmux {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_audmux_3>;
status = "okay";
};
pinctrl_audmux_3: audmux-3 {
fsl,pins = <
MX6QDL_PAD_KEY_ROW1__AUD5_RXD 0x130b0
MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
>;
};
&ssi1 {
fsl,mode = "i2s-master";
status = "okay";
};
mux-int-port = 5 mux-ext-port = 2 and we are setting dai format as SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |SND_SOC_DAIFMT_CBS_CFS
and audmux configurations as
ret = imx_audmux_v2_configure_port(int_port,
IMX_AUDMUX_V2_PTCR_SYN |
IMX_AUDMUX_V2_PTCR_TFSEL(ext_port) |
IMX_AUDMUX_V2_PTCR_TCSEL(ext_port) |
IMX_AUDMUX_V2_PTCR_TFSDIR |
IMX_AUDMUX_V2_PTCR_TCLKDIR,
IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port));
ret = imx_audmux_v2_configure_port(ext_port,
IMX_AUDMUX_V2_PTCR_SYN,
IMX_AUDMUX_V2_PDCR_RXDSEL(int_port));
Hi Saurabh,
After using the SSI2 controller instead of SSI1, We are able to get the PCM Clock of 2.048Mhz and Frame Sync of 32Khz, But the SLIC IC supports PCM Clock rates of 1.024MHz, 1.536MHz, 2.048MHz. 3.073MHz, 4.096Mhz, 6.144MHz and 8.192Mhz with a Frame SYNC of 8KHz.
We have changed the "SSIx_SRCCR" register corresponding to SSI2 controller of i.MX6 processor with values of "0x00007F03" to make frame sync freq of 8Khz, But still no change, But we did not see any change in the Frame sync clock ,
Here in the below table we have used with marked configuration.
Do you have any idea, how we can get the frame Sync of 8Khz.
Thanks
Sumit
Hi
You can config the TSCKP and RSCKP to support both mode A&B.
TSCKP
Transmit Clock Polarity. This bit controls which bit clock edge is used to clock out data for the transmit
section. Note: TSCKP is 0 CLK_IST = 0; TSCKP is 1CLK_IST = 1
0 Data clocked out on rising edge of bit clock.
1 Data clocked out on falling edge of bit clock.
RSCKP
Receive Clock Polarity. This bit controls which bit clock edge is used to latch in data for the receive
section.
0 Data latched on falling edge of bit clock.
1 Data latched on rising edge of bit clock.
hi Freescale,
can you please provide the steps to enable Network mode (PCM) to capture 6 channel audio ?
in dtsi file can i change the CPU_DAI configuration as below ?
&ssi2 {
fsl,mode = "pcm-slave";
status = "okay";
};
regards
Nagendra