I'm trying to use the MPC5744P & MOTORGD Devkits to develop some motor controller algorithms.
In addition to the FOC, I also have quite a lot of stuff I'd like to be able to run at 1msec.
Is it an acceptable solution to have my Simulink model set up to run at 1msec and my FOC algorithm running inside the PIT Interrupt subsystem (at, say, 20 usec or so)? I'd like to carry out all my FOC-Specific channel sampling and output handling inside this Interrupt.
Is this acceptable, as the supplied examples seem to be running at an "Auto" base rate?