A good method (originally proposed by Richard Damon here in the forum time ago) is setting a software interrupt with a FreeRTOS covered priority in the highest-prio (outside FreeRTOS covered interrupt prio range) motor-control ISR.
In this chained ISR you could do the FreeRTOS housekeeping.