Other Parts Discussed in Thread: C2000WARE
Hello ,
Since In the example
\C2000Ware_4_03_00_00\driverlib\f28004x\examples\cmpss\cmpss_ex1_asynch.c
Only One Shot Trip action is considered, the Cycle By Cycle is completely missing
Related to this a question was asked in
I consider the answer incomplete and please answer following question for clarification:
Please provide the complete code of cmpss_ex1_asynch.c, modified to replace OST with CBC since CBC is linked with DCBEVT2 and not DCBEVT1.
Also please include the modified example with RAMP on CMPSS in the next oficial release of C2000Ware
extract from cmpss_ex1_asynch.c
//
// Enable DCB as OST
//
EPWM_enableTripZoneSignals(EPWM8_BASE, EPWM_TZ_SIGNAL_DCBEVT1);
//
// Configure the DCB path to be unfiltered and asynchronous
//
EPWM_setDigitalCompareEventSource(EPWM8_BASE,
EPWM_DC_MODULE_B,
EPWM_DC_EVENT_1,
EPWM_DC_EVENT_SOURCE_ORIG_SIGNAL);
Thanks,
Andrei