Skip to main content
Associate III
February 9, 2026
Question

Unexpected OPAMP Output Voltage When Enabling OPAMP on EVSPIN32G4 DUAL

  • February 9, 2026
  • 1 reply
  • 308 views

I am using EVSPIN32G4 DUAL and observed the following behavior.

When calling:

LL_OPAMP_Enable(OPAMPx);

pelino_3-1770600480815.png

 

 

the OPAMP output immediately shows about 208 mV.

I measured this voltage at TP25.

pelino_0-1770600116378.png

This behavior occurs even though DAC3 is completely disabled.
After calling LL_OPAMP_Enable(), I checked the DAC3 registers and confirmed that:

pelino_4-1770600731443.png

 

All related DAC_CR and DAC_DHR12R registers remain set to zero.

 

I checked these registers because DAC3 Channel 2 is configured as the OPAMP minus (−) input, as shown in the configuration below.

pelino_2-1770600303038.png

 

My questions are:

1. Why does the OPAMP output show approximately 208 mV when the OPAMP is enabled ,even though DAC3 has no value configured and is fully disabled?

Thank you.

Best regards,

Pelino

1 reply

TDK
Super User
February 9, 2026

Op amps still do their thing even if their inputs are floating. What are you expecting to happen? It's best not to let input float or you end up with undefined behavior on the output.

If you measure TP18/TP19/TP25, it should be consistent with the op-amp behavior.

"If you feel a post has answered your question, please click ""Accept as Solution""."
pelinoAuthor
Associate III
February 9, 2026

According to UM2896, the comparator negative input (Vth) can be connected to the DAC or an internal reference.

pelino_0-1770632959700.png

 

On the EVSPIN32G4-DUAL board, when DAC3 is enabled but no DAC value is written,

the OPAMP output at TP25 stays at 208 mV.

My question is simply:

What is the actual default Vth voltage on the EVSPIN32G4-DUAL board in this condition, and where is it defined (hardware or firmware)?

Best regards,

Pelino

TDK
Super User
February 9, 2026

> DAC3 is completely disabled.

> DAC3 is enabled but no DAC value is written,

Which is it? Your register values above suggest it's disabled.

If the input is floating, the state will depend on what is connected to m1_shunt, but it doesn't seem very useful to me.

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