Skip to main content
Associate III
November 27, 2024
Solved

Problem configuring ADC4 inputs with STM32CubeMx 6.13.0

  • November 27, 2024
  • 4 replies
  • 1017 views

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

Best answer by Souhaib MAZHOUD

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

 

4 replies

Technical Moderator
November 27, 2024

Hello @JVERN.18 

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

 

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.
mƎALLEm
Technical Moderator
November 27, 2024

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."
Souhaib MAZHOUDBest answer
Technical Moderator
November 27, 2024

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

 

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.
JVERN.18Author
Associate III
November 27, 2024

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