KL26 SAI - when using RX in synchronous mode, what to do with SAI_RX_SYNC/SAI_RX_BCLK pins? NC, tie to TX clocks?

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

KL26 SAI - when using RX in synchronous mode, what to do with SAI_RX_SYNC/SAI_RX_BCLK pins? NC, tie to TX clocks?

1,053 次查看
jasonmatocha
Contributor I

The Reference Manual for KL26 I2S port is unclear what to do with the clocks of the block that is in synchronous mode.

标签 (1)
0 项奖励
回复
2 回复数

887 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Helloo Jason,

- SAI_RX_SYNC is receive frame synchronization , connect to the SAI_TX_SYNC of other SAI interface .

SAI_RX_BCLK is the clock of receive bit , connect to the SAI_TX_BCLK of other SAI interface .

- About the configuration of SAI clock , please refer to : 5.7.10 I2S/SAI clocking of the KL26 reference manual.

pastedImage_0.png

configure the related registers .

And if you use the CW or KDS IDE, you can create one project with PE, then add the component "Init_I2S", configure the CLOCK:

pastedImage_1.png

Hope it helps


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

887 次查看
jasonmatocha
Contributor I

Hi Alice,

Thanks for your response.  My main question was if I want to master the SAI TX and slave the SAI RX to the SAI TX clocks, when I put SAI RX into Synchronous mode, do I have to physically route the SAI TX BCLK and FS to the SAI RX.  If not, I save 2 pins for other use.

I actually tried this out (had to make some mods to the SAI driver), and found that if SAI RX is in Synchronous mode, I do NOT have to physically drive SAI RX clocks.  That was good news.

0 项奖励
回复