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?

ソリューションへジャンプ
923件の閲覧回数
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 解決策
908件の閲覧回数
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 返答(返信)
909件の閲覧回数
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 件の賞賛
返信
904件の閲覧回数
ZhouYuwen
Contributor I

thanks for the help!

0 件の賞賛
返信