Skip to main content
Associate II
July 21, 2025
Question

Clocksettings on Nucleo h753zi

  • July 21, 2025
  • 5 replies
  • 707 views

Hi,

I am completely new to the st family of microcontrollers and an amateur.

Before I had my setup running with an esp32 but I just missed the performance I need so I switched. I tried to configure within cubemx and import into platformio for furher development

I want to connect three audiodevices using i2s (2 receive, 1 send) with the stm generating the necessary clocks for it and I am really struggleing to do so. I want to run 48 kHz and was wondering if you have any ideas how to set it up properly. Thanks for helping

5 replies

mbarg.1
Senior III
July 21, 2025

Use STM32CubeIDE to generate an i2s example like AudioPlayer for STM32H7B3I-DK board - you will get all settings, eventually get a board to test it ...

H7 family shares the same setup for all I2s peripherals !

mbarg.1
Senior III
July 21, 2025

I noticed that there is no ??.ioc for H7.

Here my code for 3 I2S plus ethernet & USB ... & 48kHz exact.

yentzeeAuthor
Associate II
July 21, 2025

Awesome, thanks a lot

yentzeeAuthor
Associate II
July 21, 2025

Thanks a lot. I wil try once I am home

Chaima_M
ST Employee
July 21, 2025

Hello @yentzee ,

To create a new project, please refer to Section One, "Create New Project using STM32CubeMX of STM32StepByStep:Step2 Blink LED -stm32mcu" article to learn how to configure the appropriate clock for your application. For more detailed information, please consult RM0433 .

With best regards.

Karl Yamashita
Principal
July 21, 2025

If you are using a NUCLEO-H753ZI then there are no external crystals but there is the MCO clock from the ST-Link.

KarlYamashita_1-1753131694744.png

You have to set up for High Speed Clock HSE

KarlYamashita_2-1753131753204.png

 

 

Only the CPU clock can run at 480MHz. The peripheral clocks can only run at 240/120MHz. 

KarlYamashita_0-1753131428755.png

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
yentzeeAuthor
Associate II
July 22, 2025

Thank you so much for your answer. I will try qäwhen I am at home. Is that a stable clocksource?

i might just buy another board with a quartz. 

yentzeeAuthor
Associate II
July 22, 2025

I just ordered a WaveShare CoreH743I STM32 MCU Core Board STM32H743IIT6 JTAG/SWD Debug Interface (WS16635)

I hope that this will di better. There is a 8mHz crystal on board and I think I should be able to use the settings from the post above.

Really looking forward to it as I had two nights with a terrible sounding 500 Hz testtone  running all the time sounding completely off due to sync issues. I