cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401 Datasheet Error? Vih

TonyFauci
Associate II

So table 54 Vih for 5V tolerant pins is 0.7Vdd. For Vdd 3.3V this is 2.31V.

I'm having input capture trigger on signals that only reach 1.8V with 100% consistency on 4 pins.

Most stm32f4 the Vih for the same pins is 0.45Vdd + 0.3V, which would be 1.65V, however this is not the case for stm32f401.

So what is going on, did the datasheet incorrectly record Vih for f401 or is something else happening?

The "something else" I worry about is that the chip I'm testing with is of a batch where this is likely to happen but for the rest of the f401 1.8V is insufficient to trigger input capture. If this is the problem it wouldn't help for me to test with the handful of chips I have laying around since the rest of the f401 could be doing something else.

1 ACCEPTED SOLUTION

Accepted Solutions
Bob S
Principal

Those values are a minimum Vih voltage at which the chip is GUARANTEED to detect a "high" input over the specified VCC voltage AND temperature ranges.  It is NOT the minimum voltage that will EVER be detected as a "high" input.  The input MAY detect a 'high" at lower voltages, but that is not guaranteed and depends heavily on voltage, temperature and process variations in chip fab.  Out of spec signal like you are sending may work at room temperature on the chips you have on hand, but might fail to work at higher (or lower) temps or with chips from a different fab or production lot.

View solution in original post

9 REPLIES 9
KDJEM.1
ST Employee

Hello @TonyFauci ,

First let me thank you for posting.

I will check this issue internally and I will get back to you with more details as soon as possible.

Thank you.

Kaouthar.

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.

KDJEM.1
ST Employee

Hello @TonyFauci ,

These 2 formulas are correct  Vih = 0.7x Vdd is the threshold tested in production and Vih=0.45xVdd+0.3V is the threshold guaranteed by design.

This behavior is mentioned in data sheet figure 30: in blue the threshold level tested in production and in green the threshold level guaranteed by design.

KDJEM1_0-1696595244567.png

Could you please give more details about the test issue:

  • What is the Vdd value?
  • Which IO(s) is (are) impacted with this issue ?

Thank you.

Kaouthar

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.

Bob S
Principal

Those values are a minimum Vih voltage at which the chip is GUARANTEED to detect a "high" input over the specified VCC voltage AND temperature ranges.  It is NOT the minimum voltage that will EVER be detected as a "high" input.  The input MAY detect a 'high" at lower voltages, but that is not guaranteed and depends heavily on voltage, temperature and process variations in chip fab.  Out of spec signal like you are sending may work at room temperature on the chips you have on hand, but might fail to work at higher (or lower) temps or with chips from a different fab or production lot.

The vdd value is 3.3V, the pins are GPIOA 0,1,2,6.

Bob suggests guaranteed by design doesn't actually mean guaranteed in practice. Is this the case?

Hi Kaouthar,

> These 2 formulas are correct Vih = 0.7x Vdd is the threshold tested in production and Vih=0.45xVdd+0.3V is the threshold guaranteed by design.

The 'F401 datasheet says otherwise, and probably it's a documentation error:

waclawekjan_0-1696839751350.png

I'd recommend to review the DS.

JW

@KDJEM.1 

Hello @waclawek.jan ,

Yes, I confirm it is a documentation error and I reported internally for correction.

Internal ticket number: 163227(This is an internal tracking number and is not accessible or usable by customers).

Thank you 🙂.

Kaouthar

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.

Thanks, Kaouthar.

Jan

> Bob suggests guaranteed by design doesn't actually mean guaranteed in practice. Is this the case?

That is NOT what I said. The only "guarantee" is that Vih levels as sped'd in the data sheet will work across all all chips at all temperature/VCC settings covered in the datasheet.  The chips MAY also work with lower Vih levels, but that is not (ever) guaranteed.