Part Number: TMS320F280049 Tool/software: Code Composer Studio Hello, I want to realize a Trip Zone Interrupt through a comarator 3 driven trip event. My comparator runs and I configured hin via the following lines. CMPSS_configOutputsHigh(CMPSS3_BASE, CMPSS_TRIPOUT_FILTER | CMPSS_TRIP_FILTER); The filter is running and I checked the ouptut via CodeComposer. The comparator itself works fine. The x-bar is programmed through the following lines EPwmXbarRegs.TRIP5MUX0TO15CFG.bit.MUX4 = 0; XBAR_enableEPWMMux(XBAR_TRIP5, XBAR_EPWM_MUX04_CMPSS3_CTRIPH); At least the ePwm unit is programmed as follows EPWM_selectDigitalCompareTripInput(EPWM1_BASE, EPWM_DC_TRIP_TRIPIN5, EPWM_DC_TYPE_DCBH); EPWM_enableTripZoneSignals(EPWM1_BASE, EPWM_TZ_SIGNAL_DCBEVT1); EPWM_disableTripZoneAdvAction(EPWM1_BASE); EPWM_setTripZoneAction(EPWM1_BASE,EPWM_TZ_ACTION_EVENT_TZB,EPWM_TZ_ACTION_LOW); EPWM_enableTripZoneInterrupt(EPWM1_BASE,EPWM_TZ_INTERRUPT_DCBEVT1); The connection seems to be correct, but I get no Interrupt or Flag in the apropriate Register. There must be a configuration par that I am missing. Can somone give me a hint? Thanks, Martin
↧