Part Number: TMS320F28379D
Other Parts Discussed in Thread: TMDXIDDK379D, C2000WARE
Dear team:
My clients has some doubts about the following questions:
In the routine: C:\ti\c2000\C2000Ware_MotorControl_SDK_3_02_00_00\solutions\tmdxiddk379d\f2837x
When using LEM_CURRENT_SENSE current sampling, the current loop interrupt is triggered by the timer of EPWM1, namely: INT_EPWM1=>&motorControlISR;
When using SD_CURRENT_SENSE current sampling, the current loop interrupt is triggered by the timer of EPWM11: INT_EPWM11=> &motorControlISR;
The "fclLatencyInMicroSec" in the project is calculated by the counter of EPWM1, and the interrupt time of INTEPWM1 and INT_EPWM11 are different.
Therefore, in SD_CURRENT_SENSE mode, it is necessary to change the reading method to differential mode. It is read once when entering interrupt and once out of current loop. Is this more reasonable?
Best regards