2024-06-27 06:41 AM
Hi, I'm using the STM32H563ZIT6 microcontroller with an 8 MHz external crystal oscillator. I have set the HCLK to 250 MHz, and my GPIO LED program is working fine. However, whenever I enable DAC channel 2, I encounter an HCLK configuration error. The system automatically sets the HCLK to 64 MHz, but I need it to remain at 250 MHz. My question is: why does enabling the DAC cause a clock configuration error, and why does the HCLK automatically change to 64 MHz? is there any clock setting to modify?