cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585: ADC DMA not work on Optimization level 2 and 3

Pankajkjain
Associate

Hi, 
I am working with STM32U585, I read 10 ADC channel which work perfectly on optimization level O0 and O1.

but when I set optimization level O2 or O3, I didn't get some channel's value. we got 0 on that channel. 

Channel which which not work there values are stable 1.65V on Pin. 

Some one please help to resolve this issue. 

 

Pankaj

1 REPLY 1

welcome to the forum.

Please show your code - preferably, a minimal example which illustrates the issue.

See: How to write your question to maximize your chances to find a solution.