How to make imx6ull to output SAI2_TX_BCLK & SAI2_TX_SYNC continuously?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to make imx6ull to output SAI2_TX_BCLK & SAI2_TX_SYNC continuously?

跳至解决方案
827 次查看
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.

标签 (5)
0 项奖励
回复
1 解答
812 次查看
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 项奖励
回复
2 回复数
813 次查看
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 项奖励
回复
808 次查看
ZhouYuwen
Contributor I

thanks for the help!

0 项奖励
回复