Skip to main content
TLi.5
Associate II
February 4, 2024
Solved

STM32G4 ADC Different Pin

  • February 4, 2024
  • 1 reply
  • 1913 views

STer:

      Using the ADC's Differential Function,But I can't find  ADC12_INN1  ADC12_INP1  match PIN ?

 

Best answer by AScha.3

Better look at the rm -> ADC1/2/3/4/5 connectivity , to see whats possible for ADCx :

AScha3_0-1707115166601.png

And when you set the channel in Cube, it anyway shows you, whats possible and on which pin you get the input.

1 reply

AScha.3
Super User
February 4, 2024

If you set IN1 -> differential, IN1 + IN2 are now _INP1 + _INN1 : (IN2 cannot use separate then)

 

AScha3_2-1707053730930.png

 

AScha3_0-1707053448455.png

+ on pins of IN1 + IN2 then:

AScha3_1-1707053507481.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
TLi.5
TLi.5Author
Associate II
February 5, 2024

Thank you for your reply!

May I take  ADC1_INx---INP   and ADC1_IN(x+1) --- INN?

AScha.3
AScha.3Best answer
Super User
February 5, 2024

Better look at the rm -> ADC1/2/3/4/5 connectivity , to see whats possible for ADCx :

AScha3_0-1707115166601.png

And when you set the channel in Cube, it anyway shows you, whats possible and on which pin you get the input.

"If you feel a post has answered your question, please click ""Accept as Solution""."