I am having trouble with the overflow interrupt for my TPM project. I have a micro stepping routine and and a partial stepping routine. I can get them to work separately, but when I combine them, only the micro stepping routine will trigger the overflow flag. The partial stepping will not trigger the overflow flag isr. I have kept everything in one file so it is rather long. Hopefully, you could point out something I have missed. The only difference with this version is that I have included a sci isr to command which stepping to activate.