cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I am using STM32G0B1KBU6. I tried read ADC with DMA but DMA block my runtime. Why does DMA do that?

MSeze.1
Associate
 
1 REPLY 1
RBENF.1
ST Employee

Hello @MSeze.1​,

Can you please provide more information on your application ?

This could be a clock related issue.

Depending on how you configured your ADC and its clock, it is possible that too many interrupts are issued, preventing the main loop to run properly. In that case you can use a higher ADC clock prescaler to slow down its operation and allow the main loop to execute.

Regards,

Ryan