Part Number: TMS320F28379D
Dear Experts,
Good day!
I am working with a three level active neutral point converter (ANPC) at the University of Central Florida. In each phase I have set 50kHz switching frequency in PWM for the inner 4 switches. Whereas I have set 1kHz switching frequency in PWM for the outer 2 switches. I need to generate 50kHz carrier signal using time period based PWM (calling a PWM interrupt) to implement space-vector control for the inner switches before sending the signal to the reference based PWM. I have to generate 60Hz signal using another PWM interrupt for the angle generation too. I am using CAN interrupt for communication and ADC interrupt for the measurement. But the CAN communication stops working after downloading the code into the DSP. Is there any problem with the interrupt routine task management? Is there any issue with the reference based PWM setup for the inner and outer switches? I highly appreciate your comments. I have attached the code here for your kind perusal. Thank you!
Best regards,
Mohammad Safayet Hossain
Software MATLAB version 2020b, CCS 9.1.0