Other Parts Discussed in Thread: C2000WARE
It seems to me there is a bug in C2000Ware_3_04_00_00\driverlib\f2837xs\examples\cpu1\sdfm\sdfm_ex1_filters.c
The call to SDFM_configComparator looks like
SDFM_configComparator(SDFM1_BASE,
(SDFM_FILTER_1 | SDFM_FILTER_SINC_3 | SDFM_SET_OSR(32)),
(SDFM_GET_LOW_THRESHOLD(llt) | SDFM_GET_HIGH_THRESHOLD(hlt)));
But SDCMPHx register is zero after this call. I think the last line should be replaced with 'SDFM_THRESHOLD(hlt, llt)' :
SDFM_configComparator(SDFM1_BASE,
(SDFM_FILTER_1 | SDFM_FILTER_SINC_3 | SDFM_SET_OSR(32)),
SDFM_THRESHOLD(hlt, llt) );
Regards,
Alex