cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with DAC and DMA and CLOCK - STM32H723ZG

TOsso.1
Associate II

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:

TOsso1_0-1756573124071.png

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:

TOsso1_1-1756573306250.png

 

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:

TOsso1_2-1756573448891.png



Thank you very much

2 REPLIES 2
AScha.3
Super User

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 ?

AScha3_0-1756574117293.png

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.

If you feel a post has answered your question, please click "Accept as Solution".

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

1000291643.jpg

1000291644.jpg