Hi, Terry,
I think your code has issue, you have to track down the interrupt source and take action to correct the code.
In order to find out which code line leads to the interrupt triggering, I suggest you set break and get the line, or run the code step by step.
Hope it can help you
BR
XiangJun Rong