Skip to main content
Associate
Oct 16, 2026 12:37 PM UTC
Question

STM32F373CCT6 SDADC: Incorrect Readings with Internal VDDA Reference on One Board After Environmental Testing

Subject: STM32F373CCT6 SDADC: Wrong Readings with VDDA Reference on One Board After Environmental Testing

Hello ST Support Team,

We use the STM32F373CCT6 to read four analog inputs with SDADC1 and SDADC2. One of our boards developed a problem during environmental testing (temperature change, dry heat, cold, damp heat cyclic and steady state), where it ran in full-function mode throughout.

What happened

The board worked correctly until day 2 of the damp heat steady-state test (40 °C). Then all four channels read with an offset (for example, a 100 V input read as 50 V). After a power cycle it worked for 2 to 3 hours, then read full scale (3.3 V) even with no input. Reflashing the firmware did not help.

A couple of days later we debugged it with the same firmware (internal VDDA reference). With no input, each channel should read 1.65 V (confirmed with a multimeter at the MCU pin), but the firmware reads 1.85 V on all four channels. With the reference set to internal 1.8 V, the readings are correct.

Configuration

  • Single-ended offset mode, gain 0.5
  • MCU clock 72 MHz, SDADC clock 1.5 MHz
  • VDDA (pin 9) and VDDSD (pin 24): 3.3 V
  • Formula: voltage = (float)raw_value * (SDADC_VREF_VOLTAGE / 32768);

Questions

  1. What could cause wrong readings with the VDDA reference while the internal 1.8 V reference reads correctly?
  2. Can you share the SDADC internal architecture (especially the VDDA connection to the reference path) or a document to help us debug this?
  3. Please advise on a solution.

Thank you for your support.

Best regards,

MADHAVARAJA RS

ILLUMINEN TECHNOLOGIES

 

 

9 replies

mƎALLEm
ST Technical Moderator
Oct 16, 2026 3:07 PM UTC

Hello, ​@Madhavaraja and welcome to the ST community,

1- Is that issue is specific to one board or you have the same issue for all boards perceiving the same environment (temperature change, dry heat, cold, damp heat cyclic and steady state)?

2- What do you mean by “damp heat”? with humidity? if yes, did you apply coating to protect the electronics from the moisture?

Can you share the SDADC internal architecture (especially the VDDA connection to the reference path) or a document to help us debug this?

Nothing to share apart from what was provided in the documentation: datasheet, reference manual, errata sheet ..

PS: 

A couple of days later we debugged it with the same firmware (internal VDDA reference). With no input, each channel should read 1.65 V

We can’t rely on conversion of a floating input. You need to apply an external voltage.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate
Oct 22, 2026 2:02 PM UTC

Thank you for your response and support.

I have attached the complete failure analysis document for your reference. The details related to your previous question are included and highlighted in the document.

Kindly review the document and help us identify the root cause of the failure and suggest a suitable solution.

As we are planning to start production next month with around 1,000 units, your timely response and support would be greatly appreciated in resolving this issue before production.

If you require any further information or clarification, please let us know. We will be happy to provide the necessary details.

Thank you for your support.

mƎALLEm
ST Technical Moderator
Oct 22, 2026 2:40 PM UTC

Hello ​@Madhavaraja ,

1- Just to warn you this is not a ST peer to peer support channel. So your data and schematics are exposed to public.

2- U9 OpAmp is supplied by 5V and especially U9A OpAmp is connected to AIN0 (I suppose the ADC input). Are you sure you are not exceeding the allowed voltage for the ADC input?

3- Ok you have another behavior when you exposed the boards to an other environment (heat, humidity etc ..), but there are other components are involved. Who told you the issue is related to STM32? Did you monitor the U9A OpAmp output on TP19? Is the voltage output delivered by U9A OpAmp is what you expect in that environment? if you don’t have the evidence we cannot go further than that.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate
Oct 23, 2026 6:44 AM UTC
  1. Thank you for informing us. We will provide any further details or additional information only if required for further investigation.
  2. During our chamber testing, the AC input voltage for all analog input channel is maintained at 110 V ( From the autotransformer) and continuously it has been monitored. Even considering a worst-case fluctuation / spike of an additional 100 V to 130 V at the input of the autotransformer, the total AC input voltage would be approximately 210 V to 230 V,  which results the voltage at TP19 to remain below 3V, Since at 300 volt the AIN0 will reach 3.28V. We also monitored the TP19 voltage using a multimeter after the issue occurred. The measured voltage is below the controller recommended operating voltage( < 3.3V ). 

    Your support to help & investigate the issue further and identify the actual root cause would be greatly appreciated. This help us determine the cause and resolve the issue. 

    Kindly let us know if you need any further details. Thank you for your support and assistance.
mƎALLEm
ST Technical Moderator
Oct 23, 2026 8:19 AM UTC

Hello,

Thank you for the input. But to be honest it won’t be obvious to help on that case as we don’t have the board to test the case. if we are not able to find a solution for a such use case here, I kindly recommend you to contact your local FAE for further investigation.

Meanwhile, the point regarding the AIN input still unclear.

You said “We also monitored the TP19 voltage using a multimeter after the issue occurred. The measured voltage is below the controller recommended operating voltage( < 3.3V ). ” → Ok you have answered the question about the fact that AIN input doesn't exceed 3.3V but you didn’t answer my previous question: How do you know the conversion issue is related to STM32? does TP19 voltage still reflecting the AC voltage input during the all test? 

Is the behavior seen on all boards or on some of them? if yes, give the ratio of the failure.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
waclawek.jan
Super User
Oct 23, 2026 8:39 AM UTC

Further investigation was carried out by comparing the voltages across capacitors C74 and C75
on the faulty board and a working AC voltage measurement board, with the SDADC reference
configured to internal VDDA (REFV = 11). The voltage was 3.27 V on the working board and
2.99 V on the faulty board.

 

Did you actually read out content of SDADC_CR1 to verify REFV=0b11, or did you just infer this from the program which was running there at the time?

While in the faulty state, did you try to power-cycle the board?

What happens if you deliberately set REFV to 0b00 and let the SDADC run, what is the voltage on the the VREFSD+ pin?

Can you reproduce the problem? 

JW

Associate
Oct 23, 2026 1:51 PM UTC

1. SDADC_CR1 Register Verification
We have not read the SDADC_CR1 register during runtime to verify the REFV field directly. However, we configured the reference voltage selection as REFV = 0b11 in STM32CubeMX. Based on this configuration, we expect the setting to remain unchanged during runtime, as we have not intentionally modified it in the firmware.
2. Power-Cycling the Board During the Fault
The board operated normally under all test conditions initially. However, on the second day, during the Damp Heat Steady State test, it started reporting incorrect readings. For example, when the actual input voltage was 110 V, the software displayed 150 V.
We removed the board from the chamber and power-cycled it, but the incorrect readings persisted. We then verified the voltage levels at all relevant hardware test points and confirmed that they were within the expected range. After some time, the board started reporting the correct readings again.
The following day, we power-cycled the board and placed it back inside the chamber for testing. Initially, the board reported the correct readings for approximately 2–3 hours, after which the readings reached the full-scale value of 3.3 V. From that point onward, the readings remained at full scale during chamber testing, even after power-cycling the board.
3. Testing with REFV = 0b00
We configured the SDADC reference voltage to use the external VREFSD+ input (REFV = 0b00) and measured the voltage across capacitors C74 and C75. The measured voltage was 0 V.
4. Reproducing the Issue
Since the root cause of the issue has not yet been identified, we cant able to reproduce the fault.

mƎALLEm
ST Technical Moderator
Oct 26, 2026 8:44 AM UTC

You didn’t answer my previous question. Please review my previous post.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.