SLUUDM5 March 2026 MSPM0G1507 , MSPM0G1519 , MSPM0G3507 , MSPM0G3519
FOC application uses a 16-bit timer running at 80MHz to estimate the time during the current ramp up and ramp down during IPD, when the motor start-up is configured as IPD (Section 7.7.1.1.3).
During IPD, the algorithm checks for a successful current ramp-up to ipdCurrThresh. If the IPD timer overflows (current does not reach ipdCurrThresh), then the IPD_CLOCK_TIMEOUT_FAULT gets triggered. If IPD_CLOCK_TIMEOUT_FAULT occurs, using pUserInputRegs->miscAlgo.b.ipdMaxOverflow to set longer timeout period or using pUserInputRegs->mtrStartUp1.b.ipdClkFreq to set lower IPD frequency.
Similarly, the algorithm checks for a successful current decay to zero during IPD current ramp down. IPD gives incorrect results if the next IPD pulse is commanded before the complete decay of current due to present IPD pulse. If the IPD timer overflows (current does not ramp down to zero), then the IPD_DECAY_TIME_FAULT gets triggered. Set lower ipdClkFreq to if IPD_DECAY_TIME_FAULT occurs.