What are the voltage levels for detecting logical low/high on the MKE04P80M48SF0?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What are the voltage levels for detecting logical low/high on the MKE04P80M48SF0?

908 Views
marcusaa
Contributor I

Reading the datasheet i can see that the voltage levels are suppose to be: (column 6 is min and 8 max)

pastedImage_1.png

Which means i should detect a low under 5V*0.35 = 1.75V and a high over 5V*0.65 = 3.25V

and the hysteresis 5V*0.06 = 0.3V 

When i did my own measurements i got the following:

High to low : 2.26V

Low to high: 2.76V

Hysteresis: 0.5V

Neither of my results agree with the datasheet. Am I interpreting the datasheet wrong? Did i configure the port wrong?

The voltages was measured with a DMM at the pin on the uC and a program with just reads out the register status.

/Marcus

Labels (1)
3 Replies

687 Views
egoodii
Senior Contributor III

You are just looking at the difference between 'datasheet guaranteed response points' and typical-part values.  That is, you can generally expect 'wider than 300mV hysteresis', and 'well centered about 1/2Vdd'.  The datasheet just has 'margin built in' to allow for per-part process variations.

The other thing to always keep in mind about CMOS logic is that any 'intermediate voltage' creates some rail-to-rail cross-conduction in the input-stage transistors, leading to a small increase in device current.

0 Kudos

687 Views
marcusaa
Contributor I

Hi Earl,

This built in margin, where can I see in the datasheet that they have added it? or is this a general knowledge.

So this mean that if i want to find the actual 'switching' level of a port I need to measure it.

Could you pleas elaborate a bit more what you mean in the second part. Why would this effect my 'logical' reading of the port?

/Marcus

0 Kudos

687 Views
egoodii
Senior Contributor III

I think we will classify this under 'general knowledge'.  That is, ANY digital-function device will list the voltage above which an input is GUARANTEED to be sensed as a logic '1', and another voltage below which it is GUARANTEED to be sensed as a logic '0', and 'between those' is a no-man's-land for which the forwarded logic-level is indeterminate.  Now these parts have hysteresis on the inputs, so at least a 'mid voltage input' will not bounce around and do 'silly things', but (to use your 5V example) any voltage between 1.75V and 3.25V CANNOT be expected to resolve as 'any particular' logic level (and, as I also mentioned, will result in increased input-stage current).  'In general' you can 'expect' the P and N FETs of a CMOS input stage to be 'fairly well balanced', and thus to switch 'very near 1/2 Vdd'.  This 'datasheet margin' (+/-0.75V on your 5V example) is there to allow some imbalance to exist over a range of parts and pins (and thus tolerance for the manufacturing variables such as those defining circuit element dimensions and 'transistor doping' levels), yet give a circuit designer 'known limits' to work within.

Even if you 'measure' a particular part&pin 'switch point' at some particular temperature, you MUST expect that 'switch point' to be different for other parts/pins/temps, anywhere within the 'guaranteed limits' of the datasheet.

If you need ANY kind of 'assured switching points', you need to use 'real' comparator(s), either internal or external, which give 'much tighter' switch-points against some reference voltage (at the expense of being slower analog circuits, of course!).