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.
Hello Sir,
We are using TMS320F28377D controller for our development activity. We have two own manufactured control board , We are using that controller in two parallel inverter with Epwm sysnc event Inverter is working fine with this configuration.
We are generating 69.43us ISR for control loop calculation , We observed that ISR time is different in this two controller with same firmware.
Its about 1us error between two controller, We have also checked with internal oscillator and external oscillator also it the same results.
Is there any configuration to adjust this error in clock configuration???
Regards,
Bharat
Are these two independent boards? If so, they are working on two different clock domains and are asynchronous at power-up. You can't expect them to have same counter value.
Sysconfig clocktree tool doesn't any method to correct 1us error you are seeing between two controllers.
Hello ,
We do not need sync of two ISR but if we are generating one ISR of one controller it is 69us as per setting on ISR but for the other controller it is coming 70us for the same setting and same firmware.
as per the internal clock or external clock error it should be in nano second differance.
Is CPU Timer the only module used? May i try to understand the purpose of this experiment?
Hello,
We have two inverters connected in parallel configurations so we need control loop ISR value should be the same in both controller.
Due to the difference in ISR time of both inverters we are facing calculation difference of both controller control loop.
ISR is generated based on epwm event in both controller.
Are you seeing the difference in PWM Module counter or CPU Timer module?
Can you provide more information how to measure this time?
Hello,
From 3.6kHz frequency of PWM Tringle. We are generating 14.4khz Timer ISR.
We are measuring time by GPIO turn On and Turn off at the starting of that timer ISR and Ending of Timer ISR.
As per 14.4kHz Timer ISR it should be 69.44us time but for different controller ISR time is difference of 1us.