AnsweredAssumed Answered

STM32F3 Software Interrupt Without Hardware Interrupt

Question asked by christensen.tyle.001 on Oct 4, 2014
Latest reply on Oct 8, 2014 by Clive One
I want to have an interrupt that is triggerable by software, but without also having it be hardware triggerable. This is easy if there is a spare pin on the microcontroller to dedicated to being a useless pin. But what if my design uses every IO connection?

It seems I am required to enable the IMR register to use the SWIER software trigger, but by setting IMR I am unmasking the external interrupt trigger. 

Is there any way to use the SWIER without also having an external pin that will trigger the same interrupt?

Of course an easy solution is to simply use a pin that isn't available on the 48 pin package I am using, but if there is a more "correct" solution I'd be curious to know what it is!

Outcomes