Part Number: TMS320F280049C
Hi,
I'm planning to use hysteresis feature of CMPSS. I saw a register named as COMPHYSCTL. I'm connected ADCINB6 to positive input of high comparator and DAC ref to negative input of high comparator. And now, I need to set hysteresis and determine two threshold levels. Please, help on it.
The explanation of COMPHYSCTL is like below.
"
Comparator hysteresis. Sets the amount of hysteresis on the
comparator inputs.
0 None
1 Set to typical hysteresis
2 Set to 2x of typical hysteresis
3 Set to 3x of typical hysteresis
4 Set to 4x of typical hysteresis
"
There is also another information as below.

But I cannot understand above and conflict about the information. what "4x of typical hysteresis" is? of what hysteresis?
1) What does it mean "4x of typical hysteresis" ? What is typical hysteresis? Which value is multiplied by 4? Please, provide formula in order to get me understand fully.
2) By writing 4 to COMPHYSCTL is enough to set hysteresis?
3) What is the meaning of explanation in (1) at above table? It say that CMPSS DAC is used as reference. However, I set COMPHYSCTL to control hysteresis? What is the relationship between COMPHYSCTL and CMPS DAC reference? How both of them scale the hysteresis? Which drives really the hystresis?
4) I inserted below the real analog comparator with hysteresis. There is connectionn between positive input and output of comparator. It provides hystresis. However, I couldn't set relationship for inside of MCU. I only connect ADC inputs to CMPSS inputs.

5) How can I determine High threshold and low threshold?
Thank you in advance.



