2022-06-01 08:45 AM
・environment
use board : STM32F1 Value Line Discovery Kit
use debugger : TrueStudio(v9.3.0)
・question
I would like to use PendSV interrupt.
To do so, I have executed the code below, but the interrupt does not occur.
SCB->ICSR |= SCB_ICSR_PENDSVSET_Msk;
※SCB_ICSR_PENDSVSET_Msk is (1UL << 28)
The SCB when the following code is executed is shown below.
In the initialization, the interrupt handler is set to the vector table. No other special processing is done.
Is there something missing in the procedure?
Solved! Go to Solution.
2022-06-01 09:13 AM
sorry, this problem is soleved.
the above code is executed in SVC interrupt.
SVC interrupt is done , then PendSV interrupt occures.
2022-06-01 09:13 AM
sorry, this problem is soleved.
the above code is executed in SVC interrupt.
SVC interrupt is done , then PendSV interrupt occures.