Skip to main content
Associate
March 17, 2026
Solved

Option for ADC3 Differential input is missing in CubeMX

  • March 17, 2026
  • 3 replies
  • 315 views

I am setting up my STM32F303RET6 for four differential inputs to be sampled simultaneously. As seen in the screenshot attached. there is no option for differential inputs on CubeMX. Am I missing something here? I have reset whole project to ensure no pins are assigned elsewhere.

Best answer by TDK

ADC3 Channel 1 differential mode uses ADC3_IN1 as the positive input and ADC3_IN2 as the negative input.

Screenshot 2026-03-17 120904.png

The ADC3_IN2 pin isn't broken out on the LQFP64 package, so differential mode for ADC3 channel 1 is not available.

Screenshot 2026-03-17 120621.png

3 replies

Peter BENSCH
Technical Moderator
March 17, 2026

Welcome @Ankurgupta4u, to the community!

The STM32F303RET6 has a 100-pin package, so the differential mode cannot be implemented for all ADC channels. With the STM32F303VET6 in the 144-pin package, you can indeed select the differential mode for ADC3 IN1.

Does it answer your question?

Regards
/Peter

In order 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.
TDK
TDKBest answer
March 17, 2026

ADC3 Channel 1 differential mode uses ADC3_IN1 as the positive input and ADC3_IN2 as the negative input.

Screenshot 2026-03-17 120904.png

The ADC3_IN2 pin isn't broken out on the LQFP64 package, so differential mode for ADC3 channel 1 is not available.

Screenshot 2026-03-17 120621.png

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

Thank you both, I have been trying to use PB0 and PB1 as differential inputs for ADC3 and had to install CubeMX since there are multiple docuements to refer. I still think it is a strange design choice. But I am able to configure OpAmp3 on PB0 and PB1 and direct the output to ADC3, which should address it without requiring design changes thankfully.

I would appreciate your advice about this approach.