Other Parts Discussed in Thread: TMS320F28335
Dear Sir/Ma'am,
I've reviewed the example code for the TMS320F28335 HVPM-BLDC FOC, and I'm having trouble discerning where the MainISR function gets called in the A-B-C (1ms-5ms-50ms) cycle loops. I suspect that the MainISR is not part of the A-B-C loops, and instead is just an interrupt (the definition of PIE - Peripheral Interrupt Expansion) that "interrupts" the A-B-C loops to execute itself at the certain set frequency (10kHz in the example). I don't understand where it is being called though. What, specifically, is causing the interrupt to then be serviced? I can't seem to understand where the PIEVectorTable is located...that would specifically have all the of PIE's listed out in order of precedence, correct?
Any help is greatly appreciated. I have to put together an internal workshop that details the code for fellow engineers, so that they can effectively utilize and modify the example to fit their needs. I have read the documentation that comes with it, and it has been a great help, but I need to start to point directly at the code.
-Tim