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.
Hello,
i am starting to work with RL-ARM for CortexM3, and i have checking the manual. I miss more info about the context switch in CortexM3 using the RL-ARM. Another operating systems use the PendSVHandler() exception that executes after the last nested ISR to do the context switch. Pls. could someone clarify me how it is it done in RL-ARM, and where is located the code that does it?
Many thanks Alberto
Of course you can. That is why you have ISR FIFO Queue size configuration option in the RTX_Config.c file. Nested isr functions store requests into this fifo. The FIFO is processed later, when all of the interrupts are done. This processing is done in the PendSV_Handler.
Default setting for ISR FIFO Queue size is 16. This means that the nested interrupts can call isr 16 times, before the events get lost. However the FIFO overflow is trapped in an error function.
Thanks!!, do you know where i can get an example to study it?