Skip to main content
Alan3
Associate
November 6, 2019
Question

STM32F769 no MCLK out from SAI

  • November 6, 2019
  • 2 replies
  • 645 views

Using the STM32F769I-DISC1 evaluation board I am trying to use SAI1 to output a TDM audio stream. I know the CODEC doesn't support that format but my production board will need it.

When configured as master transmitter, I get good SCLK, data and frame sync outputs but do not see any output for MCLK. I have NODIV in the CR1 register cleared and have double checked the settings of the MCLK GPIO port. Protocol is set to FREE and the output FIFO is being supplied with data continuously.

Are there any other conditions needed to get MCLK working?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
November 6, 2019

PLL's ?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Alan3
Alan3Author
Associate
November 6, 2019

If the documentation is correct, SCLK and MCLK are derived from the same input clock. Since SCLK is working I assume that source clock is good.