STM32U585: ADC DMA not work on Optimization level 2 and 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
- Labels:
-
ADC
-
DMA
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
A complex system designed from scratch never works and cannot be patched up to make it work.
