Interrupt handling problem
#2
OK found the problem. I did not realize that the core disables the interrupt automatically if the program jumps to the ISR.

Found the way to reset the Machine interrupt enable flag in the mstatus register inside my ISR and everything works fine now.
Reply


Messages In This Thread
Interrupt handling problem - by nikolas - 01-05-2021, 03:01 PM
RE: Interrupt handling problem - by nikolas - 01-06-2021, 09:59 AM
RE: Interrupt handling problem - by RiscV - 03-04-2021, 06:32 AM
RE: Interrupt handling problem - by nikolas - 03-04-2021, 08:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)