cancel
Showing results for 
Search instead for 
Did you mean: 

Clocksettings on Nucleo h753zi

yentzee
Visitor

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

8 REPLIES 8
mbarg.1
Senior III

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 !

yentzee
Visitor

Thanks a lot. I wil try once I am home

Chaima_M
ST Employee

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.

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

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

Awesome, thanks a lot

Thanks for your help. I am a total beginner so maybe I am completely missing the obvious but I think this is for another board / setup. I think the h753zi cant do 480 mhz.

Also I  am wondering. The board doesn't seem to have a quartz. I tried two nights configuring but had lots of jitter / drifting clocks. 


@yentzee wrote:

Thanks for your help. I am a total beginner so maybe I am completely missing the obvious but I think this is for another board / setup. I think the h753zi cant do 480 mhz.

Also I  am wondering. The board doesn't seem to have a quartz. I tried two nights configuring but had lots of jitter / drifting clocks. 


Saying H753ZI doesn't tell us much. Nothing in your first post mentions if you're using a custom board or a development board. So are you using a Nucleo board? If so, you need to update the topic to say so.

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.
Karl Yamashita
Principal

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

 

I was told that if a devices starts to smoke, put the smoke back in. I guess I never got all the smoke because the device never worked afterwards.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.