2025-06-17 8:31 PM
Hi ST Community Team,
I am currently working with the STM32U585x SoC family and need assistance with configuring the ADC for multiple channels. My project involves:
One differential input signal using PA0 and PA1 (Channel 5)
Six single-ended input channels: CH7, CH8, CH9, CH10, CH11, and CH12
Could you please guide me on the following:
How can I read data with high precision for the differential signal (PA0 and PA1, CH5)?
How can I read data from the single-ended channels listed above?
I would appreciate your help in configuring both types of signals in a single project, Please share the STM32 Cube configurations and Firmware of it.
Thank you in advance for your support.
2025-06-17 10:09 PM
I also want this
2025-06-18 5:36 AM
This should be fairly trivial to set up in CubeMX. Have you tried? Have you gotten the ADC to work in a project at all?
2025-06-18 9:02 AM
Hi @ram_jana
As mentioned by @TDK, with CubeMX, you should be able to set CH5 to differential mode (the corresponding negative channel will be automatically locked.)
You can check this FW example including .ioc file: STM32CubeU5 /Projects /NUCLEO-U575ZI-Q /Examples /ADC /ADC_DifferentialMode
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.