cancel
Showing results for 
Search instead for 
Did you mean: 

ADC PWM synchronization 500 kHz

gocafe1
Associate

I’m working  STM32H735G-DK, I tried to synchronize the ADC with timmer1, I want to synchronize it at 500 kHz but the maximum that I get is 250 kHz.  This are the images for clock configuration, ADC1 and Tim1, a GPIO is set in 1 when get into on the HAL_ADC_conCpltCallback function is the yellow waveform.WhatsApp Image 2023-10-10 at 12.17.45.jpegWhatsApp Image 2023-10-10 at 12.17.31 (1).jpegWhatsApp Image 2023-10-10 at 12.17.31.jpegWhatsApp Image 2023-10-10 at 12.17.30 (2).jpegWhatsApp Image 2023-10-10 at 12.17.30 (1).jpegWhatsApp Image 2023-10-10 at 12.17.30.jpegWhatsApp Image 2023-10-10 at 12.17.29.jpegWhatsApp Image 2023-10-10 at 12.17.28.jpeg

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Using a DMA based solution is the better option at this high of an interrupt frequency.

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

View solution in original post

1 REPLY 1
TDK
Guru

Using a DMA based solution is the better option at this high of an interrupt frequency.

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