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

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

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

Jump to solution
2,335 Views
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.

Labels (2)
0 Kudos
Reply
1 Solution
2,294 Views
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

View solution in original post

3 Replies
2,309 Views
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 Kudos
Reply
2,299 Views
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 Kudos
Reply
2,295 Views
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