cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585x ADC Differential and Single-Ended Channel Configuration

ram_jana
Associate II

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:

  1. One differential input signal using PA0 and PA1 (Channel 5)

  2. Six single-ended input channels: CH7, CH8, CH9, CH10, CH11, and CH12

Could you please guide me on the following:

  1. How can I read data with high precision for the differential signal (PA0 and PA1, CH5)?

  2. 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.

3 REPLIES 3
jerry65
Associate

I also want this

TDK
Super User

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?

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

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

 

Hope that helps! 

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.