Hi
We are using the CMPSS of the TMS320F28377S
With the DAC set to 1/2 of VREF (2048) (VREF is 3.0V from VDAC pin) and an external voltage generator we measured the trip voltages, both 0-> 1 and 1->0
All voltages are in range 1.455 V +/- 10 mV
But we found that hysteresis has a value of about 3 mV, whichever value (0 to 4) we write in the COMPHYSCTL
(to do this we use the CMPSS_setHysteresis( vBase_ul, vHys_guh ) function )
The measure is done in the following way:
we use a DC voltage generator starting from 1.4V and increasing the voltage, monitoring continuously the outputs of CMPSS_getStatus( vBase_ul )
When the output goes to 1 we trace the voltage and start decreasing the voltage
We will expect an hysteresis of about 35mV (48 DAC LSB) when set to the maximum but we are not able to measure it
The behavior is the same for all CMPSS (both High and Low
Pls, any suggestion?
By the way using a square wave and EPWM outputs we measure the time and filter response and they are as expected.
Thanks
Antonio
