2025-08-30 10:05 AM
Hey
I work with the eval-board Nucleo h743ZI. I implemented sine wave playback using the DAC and DMA, and everything worked very well.
After that, I designed my own board with the same microcontroller and added an external 25 MHz crystal.
I couldn’t get the 25 MHz clock to work.
This is the cofiguration:
I try to debug my code and I saw that I get error at
SystemClock_Config:
.
.
.
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
here:
I switched to using the internal clock of the MCU to work with HSI.
The code runs normally, but I don’t see any signal at the DAC output.
This is the configuration:
Thank you very much
2025-08-30 10:16 AM - edited 2025-08-30 10:23 AM
Hi,
>I couldn’t get the 25 MHz clock to work.
You set the crystal input to "bypass" - you use really a crystal or an oscillator? (this works not for plain crystal.)
For crystal set it to ...crystal ..resonator.
Maybe - show your circuit, to see more.
+
Cube not complains about this 608 M setting ?
Try lowering all speeds first, just to be sure, its not something with too high clks.
+
btw
On my H743 board i use an oscillator, 16MHz ; never got a problem with the clock.
2025-08-30 4:46 PM
Hey
The cube not complains about the 608.
I attach what I work with.
and what about work with the internal clock? HSI? why is not work also
2025-08-31 2:57 AM
Hi,
so you have a plain crystal -> set in Cube :
+
your cer.caps at the crystal are way to big , for 25M : try 6pF or ... 10pF .
for 25M crystal typ. : 2x 5.6 pF (on nucleo board MB1363 , dnf)
+
What you have now ? H743 or H723 ...?
2025-08-31 4:45 AM
Hey
H723
I will try.
and you have an idea why is not work with HSI?
2025-08-31 5:18 AM
Hi,
> an idea why is not work with HSI?
No, it should work also. Maybe it will, if you reduce the strange 608M and try at first with reduced clock, lets say : all 50% lower.