cancel
Showing results for 
Search instead for 
Did you mean: 

DAC Clock Configuration issues

Berlin-raj123
Associate III

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?

 

When I disable the DAC, the HCLK works perfectly at 250 MHzWhen I disable the DAC, the HCLK works perfectly at 250 MHzi was enabled the DACi was enabled the DACafter giving resolve clock issues it automatically generating 64mhz for hclkafter giving resolve clock issues it automatically generating 64mhz for hclkScreenshot 2024-06-27 190425.png

0 REPLIES 0