2025-03-26 3:21 AM - edited 2025-03-26 3:22 AM
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
2025-03-26 3:25 AM
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.