How to make imx6ull to output SAI2_TX_BCLK & SAI2_TX_SYNC continuously?

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

How to make imx6ull to output SAI2_TX_BCLK & SAI2_TX_SYNC continuously?

Jump to solution
756 Views
ZhouYuwen
Contributor I

Hi all,

I am working on a board with imx6ull, I want the SAI2_TX_BCLK to output 256KHz and SAI2_TX_SYNC outputs 8KHz signals continuously, in order to initialize a si3281x SLIC device who needs these 2 signals as input clocks. My DTS is here:

&sai2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai2>; <12288000>;
fsl,sai-mclk-direction-output;
status = "okay";
};

pinctrl_sai2: sai2grp { <12288000>;
fsl,pins = <
MX6UL_PAD_SD1_DATA0__SAI2_TX_SYNC 0x17088
MX6UL_PAD_SD1_DATA1__SAI2_TX_BCLK 0x17088
MX6UL_PAD_SD1_DATA2__SAI2_RX_DATA 0x11088
MX6UL_PAD_SD1_DATA3__SAI2_TX_DATA 0x11088
>;
};

 

So how to make it  work continuously, or which SAI registers should I setup? Please help.

Labels (5)
0 Kudos
1 Solution
741 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may try as suggested in this other thread:

https://community.nxp.com/t5/i-MX-Processors/Generating-continuous-frame-clock-on-SAI-interface-of-i...

to keep the clocks running, you will need to xmit something like a "digital mute" which would be just zeros.

Best regards,
Aldo.

View solution in original post

0 Kudos
2 Replies
742 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may try as suggested in this other thread:

https://community.nxp.com/t5/i-MX-Processors/Generating-continuous-frame-clock-on-SAI-interface-of-i...

to keep the clocks running, you will need to xmit something like a "digital mute" which would be just zeros.

Best regards,
Aldo.

0 Kudos
737 Views
ZhouYuwen
Contributor I

thanks for the help!

0 Kudos