We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm working on a Cortex-M4 (STM32F429-DISCO) with the Ravenscar profile, using Ada language.
What I want to do is to trigger a software interrupt from a procedure in a task. This in order to have
the same algorithm, which governs the interrupt, in the board and in the emulator.
For do this i try to modify a data struct present in the runtime, which is the map for the registers of the
interrupts.
The data struct is called SYSCFG (system configuration controller) and i tried to modify in this manner:
SYSCFG_Periph.EXTICR1.EXTI.Val := 16#7#;
so putting this value on the right registers for my purpose. The problem is that no values are changed.
There is a way to change these values or another method to trigger a software interrupt?
Thanks,
Dilan
Don't know anything about ST chip. For CM4, you can write the Interrupt Set register to set the corresponding interrupt, which may be used as a software as you said?