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