2026-03-16 10:00 PM - edited 2026-03-16 10:06 PM
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.
Solved! Go to Solution.
2026-03-17 9:10 AM
ADC3 Channel 1 differential mode uses ADC3_IN1 as the positive input and ADC3_IN2 as the negative input.
The ADC3_IN2 pin isn't broken out on the LQFP64 package, so differential mode for ADC3 channel 1 is not available.
2026-03-17 12:36 AM
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
2026-03-17 9:10 AM
ADC3 Channel 1 differential mode uses ADC3_IN1 as the positive input and ADC3_IN2 as the negative input.
The ADC3_IN2 pin isn't broken out on the LQFP64 package, so differential mode for ADC3 channel 1 is not available.
2026-03-17 10:33 AM
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.