This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear All,
I am using the LaunchXL-F28379D. I want to configure EPWM1 on CPU1 to trigger ADCA, wait for the end of conversion (EOC) of ADC to trigger an interrupt function, and then update the duty cycle.
Simultaneously, I want to configure EPWM4 on CPU2 to trigger ADCC, wait for the EOC of ADC to trigger an interrupt function, and then update the duty cycle.
How can I set up this configuration? Where can I find example code?
Thank you.
Sincerely,
Cody
Hi Cody,
There are several software examples that can help with this:
Please take a look at these examples and let me know if you find them helpful/have further questions.
Best Regards,
Allison
Dear Allison,
You mentioned the two examples above. I have studied and tried them, but the interrupt EOC on CPU2 never enters the function. Could you help me check my code to identify where I have configured an error?
Thank you.
Sincerely,
Cody
20240319c2_F28379D_DualCore_DAB_BUCK.zip
Dear Allison,
I succeeded! I referred to the dual-core ADC in ControlSuite. Upon tracing my project, I discovered that I had neglected to assign each peripheral to either CPU1 or CPU2. Consequently, I added a new configuration for SYSCTL in sysconfig. As a result, the interrupt for CPU2 can now enter the interrupt function.
Thank you.
Sincerely,
Cody