2021-06-17 04:06 AM
Hi!
I measure the frequency signal on the input of STM32F373. General Purpose Timer in Input Capture configuration is being used to do so. But when the rising edge width of the input signal is around 110 ms, I detect some extra, unexpected pulses. I suspect signal voltage to be in the Undefined range.
STM32F373xx datasheet on page 84 states that Schmitt trigger hysteresis has 100 mV for FT and FTf I/O.
I could find information neither in documentation nor on the Internet about the details of the hysteresis. Is it outside the range, inside or maybe symmetrically distributed around VIL, VIH values?
Thank you in advance for any information.
Solved! Go to Solution.
2021-06-17 04:20 AM
Probably inside, otherwise VIL/VIH specification would not make sense.
For better control of threshold and/or hysteresis, you may want to use a comparator (or maybe even an opamp).
JW
2021-06-17 04:20 AM
Probably inside, otherwise VIL/VIH specification would not make sense.
For better control of threshold and/or hysteresis, you may want to use a comparator (or maybe even an opamp).
JW
2021-06-17 05:42 AM
> I could find information neither in documentation nor on the Internet about the details of the hysteresis.
It's in the datasheet. Nominal is 100mV. No min/max is specified, but the limits on logic levels would imply a max.
2021-06-17 05:48 AM
How do such "nominal" values help anybody?
2021-06-21 02:23 AM
As I wrote above, I found information about the nominal value. But nowhere was the direction of the hysteresis specified, and this interested me.
Thank you for your reply.
2021-06-21 07:24 AM
> As I wrote above, I found information about the nominal value. But nowhere was the direction of the hysteresis specified, and this interested me.
I missed that part of the post.
Hysteresis is applicable in both directions and it is entirely within the "undefined" range below logic low and high. Those are the only guarantees you get.
Due to part to part variation and the desire of the manufacturer to meet the guarantees it's putting out, it's usually in the middle of the range.
2021-06-23 02:51 AM
This clears things out. Thank you all for your answers.