cancel
Showing results for 
Search instead for 
Did you mean: 

Problem configuring ADC4 inputs with STM32CubeMx 6.13.0

JVERN.18
Associate III

Hello,

I have a problem with configuring some GPIO as input for the ADC4:

While they appear to be available in the documentation (and in the pop-up window associated with GPIO), the choice is grayed out in the tab associated with ADC4.


I'm using STM32CubeMx version 6.13.0 (but it's the same with previous versions).


Is this a bug or did I forget something?

Sincerely,

Jean-Louis

img1.pngimg2.pngimg3.png

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

Hello @JVERN.18 

As mentioned in the screenshot below, channel IN22 is only available if the sequencer is not fully configurable. Therefore, you can configure ADC4_IN22 as well.

SouhaibMAZHOUD_0-1732718481962.png

 

Thx,

Souhaib

 

View solution in original post

4 REPLIES 4
Souhaib MAZHOUD
ST Employee

Hello @JVERN.18 

Could you provide the name of the MCU that result this issue!

 

SofLit
ST Employee

Hello,

Do you mean for STM32U5F7, the the channels from 15 to Channel 23 + VDAC_OUT1 are grayed out?

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.
Souhaib MAZHOUD
ST Employee

Hello @JVERN.18 

As mentioned in the screenshot below, channel IN22 is only available if the sequencer is not fully configurable. Therefore, you can configure ADC4_IN22 as well.

SouhaibMAZHOUD_0-1732718481962.png

 

Thx,

Souhaib

 

JVERN.18
Associate III

Thank you for your response.

I didn't stay on the checkboxes long enough to see the message.

Furthermore, I don't really understand why in one case we can have access to all the inputs and why in the other this is not the case (and I did not find a super clear answer in the documentation), but I realize that it is like that!

Thanks again.

Jean-Louis