Does IMX8MP support SAI1 TXFS/RXFS=512KHz, TXC/RXC=32.768MHz?

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

Does IMX8MP support SAI1 TXFS/RXFS=512KHz, TXC/RXC=32.768MHz?

跳至解决方案
2,347 次查看
Takashi_Kashiwagi
Senior Contributor I

Hi Community.

We have using IMX8MP with yocto (kernel 5.15).

We will be using SAI1 with the following settings. I would like to ask a question because there is something in the data sheet that I don't understand.

  • TXFS/RXFS=512KHz, TXC/RXC=32.768MHz (External FPGA provides these clocks)

Q. On page 79 of the datasheet (i.MX 8M Plus Applications Processor Datasheet for Industrial Products, Rev. 2.1), there was a note regarding SAI as shown below. We are planning to use TXC/RXC=32.768MHz, Is this condition supported?


TX does not support 50 MHz operation in Slave mode. To achieve 50 MHz BCLK in RX, configure BCI=1 in SAI TCR2
register and FSD=0 in SAI TCR4 register.

标签 (2)
0 项奖励
回复
1 解答
2,306 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @Takashi_Kashiwagi,

I hope you are doing well.

Yes, For the same please refer to this below thread, It will be helpful.
https://community.nxp.com/t5/i-MX-Processors/CCM-Changing-clock-parent-freezes-system/m-p/851562

Thanks & Regards,
Sanket Parekh

在原帖中查看解决方案

3 回复数
2,321 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @Takashi_Kashiwagi,

I hope you are doing well.

This means that if one is using the SAI in slave mode and you are using an external clock source that is 50 mhz, one will need to configure the SAI to use a different clock frequency.

Please refer to the datasheet and set the following values in the SAI registers as given below.
SAI_TCR2 = 1
SAI_TCR4 = 0

I have shared a reference link for the reference, Please refer to that, It will be helpful.
https://community.nxp.com/t5/i-MX-Processors/External-clock-that-provide-root-clock-for-SAI3-and-SPD...

Thanks & Regards,
Sanket Parekh

0 项奖励
回复
2,311 次查看
Takashi_Kashiwagi
Senior Contributor I

Hi Sanket-san

 

Thank you for reply!

 

Let me confirm

This means that if one is using the SAI in slave mode and you are using an external clock source that is 50 mhz, one will need to configure the SAI to use a different clock frequency.

If the clock is less than 50MHz(ex. 32.768MHz), I don't need to change the SAI settings, right?

 

Best Regards,

KASHIWAGI Takashi

0 项奖励
回复
2,307 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @Takashi_Kashiwagi,

I hope you are doing well.

Yes, For the same please refer to this below thread, It will be helpful.
https://community.nxp.com/t5/i-MX-Processors/CCM-Changing-clock-parent-freezes-system/m-p/851562

Thanks & Regards,
Sanket Parekh