Other Parts Discussed in Thread: SYSCONFIG
I have followed the C2000 Academy LAB9: Lab - Control Law Accelerator (SysConfig) for the TMS320F28379D. The target board is launchpad. I have done some small modifications:
1- The trigger source for ADCA conversions is set as EPWM1 SOCA.
2- The trigger source for ADCA Interrupt 1 is changed to ADCA EOC3 (We are sampling four inputs and want to trigger interrupt when last input is converted). Also interrupt is registered for ADCA interrupt 1.
The settings are done as shown below:
The CLA Task 1 is executed successfully (as indicated by blinking of D10 LED) if the EPWM1 frequency is increased to 10 KHz. However if I set the EPWM frequency to 20 KHz then the CLA task execution stops. I have verified that the LED counter only increments once and no more after that. I have tried troubleshooting at my end but unable to understand this behavior. Please guide.
Following are the settings for CLA Task 1: