Skip to main content
Explorer
March 26, 2025
Question

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

  • March 26, 2025
  • 1 reply
  • 373 views

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

    This topic has been closed for replies.

    1 reply

    Super User
    March 26, 2025

    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.