2025-09-14 7:59 PM
Hi,
Running STM32MX Tool 6.15.0 On Windows 10.
Started a project for a STM32U535CCTx.
I've enabled ADC and configured channel IN8. The software thinks this is connected to PA4, but the datasheet says it is connected to PA3. See screen caps below.
Regards
John
Solved! Go to Solution.
2025-09-16 2:24 AM
Hello @jminack ,
If you enable ADC1 as IN8 Differential, you can notice that ADC1_IN8 and ADC1_IN9 are automatically activated on PA3 and PA4 and while using ADC1 as IN8 Single-ended, ADC1_IN8 is automatically activated on PA3.
The message [PA4 is mapped with GPIO_Output] indicates that it is not possible to work with IN8 differential while using PA4 pin as GPIO_Output.
Thanks
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-14 8:01 PM
Additionally, generated code matches datasheet:
2025-09-14 11:53 PM
Hello @jminack ,
I moved this post to "STM32CubeMx" destination, and it will be handled by our CubeMx team.
Thank you for your contribution.
2025-09-15 12:20 AM
Hello @jminack,
First let me thank you for posting.
Your request is under investigation, and I will get back to you ASAP.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-15 3:52 PM
I have attached a simple example MX project that reproduces this issue.
Steps:
1) Create new project for STM32U535CCTx
2) Configure pin PA4 as output.
3) Enable ADC1, IN8 (which is PA3).
See screen capture.
Even though the software has allocated IN8 to PA3, it is reporting there is a conflict with PA4 for IN8.
2025-09-16 2:24 AM
Hello @jminack ,
If you enable ADC1 as IN8 Differential, you can notice that ADC1_IN8 and ADC1_IN9 are automatically activated on PA3 and PA4 and while using ADC1 as IN8 Single-ended, ADC1_IN8 is automatically activated on PA3.
The message [PA4 is mapped with GPIO_Output] indicates that it is not possible to work with IN8 differential while using PA4 pin as GPIO_Output.
Thanks
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-17 4:50 PM
Ok, thanks for the explanation. I still find it a bit confusing, because at the point it was displaying the message single ended was selected.
However, that is a minor issue. Thanks very much for getting back to me. Appreciated.
Regards
John