SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
Example
To measure the frequency/duty cycle of zero crossing event, the user needs to configure SDCMPHZx.HLTZ = 0x4000 and enable High Level (B) Threshold crossing (SDCPARMx.HZEN = 1). The ECCTL0.INPUTSEL register bit field must also be configured to pass on the COMPHZx signal to eCAP for frequency/duty cycle measurement.