03-04-2021, 08:54 AM
(03-04-2021, 06:32 AM)RiscV Wrote:(01-06-2021, 09:59 AM)nikolas Wrote: 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.
Hi Nikolas,
It will be better to post that working code.
Sorry my fault, was not thinking about that but should be obvious .
I made a little repository with the working code that can be found here:
https://gitlab.com/d_maurer/pulpissimo_t...esting.git
Hope it is usefull for someone and again sorry .