Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F28069, , TMS320F28069F
Dear TI team,
We are using TMS320F28069 for the Insta spin FOC BLDC motor control application.
I am facing an issue when I use this INSTA Spin FOC Labs.
I was not able to run lab 5 b. When I was doing step-by-step debugging of the code, The code was trapped in an illegal ISR function.
// initialize the controller
#ifdef FAST_ROM_V1p6
ctrlHandle = CTRL_initCtrl(ctrlNumber, estNumber); //v1p6 format (06xF and 06xM devices)
controller_obj = (CTRL_Obj *)ctrlHandle;
#else
ctrlHandle = CTRL_initCtrl(estNumber,&ctrl,sizeof(ctrl)); //v1p7 format default
#endif
The moment we step into the bolded line mentioned in the above code snippet, the code was trapped in an illegal ISR function.
What may be the root cause of this issue, and how to rectify it?
In addition to the above query, I do have an addition to it. How to write data in ROM?