Part Number: TMS320F28377D
Hi,
I followed the instructions from technical reference manual to initialize the CMPSS module for F28377D. And it works well.
Right now, I would like to adjust the sampling window and threshold during run time. Can I just do the following two lines for CTRIPHFILCTL at runtime? Do I need to STOP CMPSS before and ENABLE it after? I hope that is not needed.
CmpssRegs.CTRIPHFILCTL.bit.SAMPWIN = MY_SAMPWIN; CmpssRegs.CTRIPHFILCTL.bit.THRESH = MY_THRESH;
Thanks
Fei