2019-04-19 12:13 AM
systick was getting disabled with __disable_irq() . is it possible to use __disable_irq() without causing any effect to systick?
Solved! Go to Solution.
2019-04-19 02:59 AM
Hello,
I am afraid it is not possible using __disable_irq() but you can do it this way: set the SysTick priority to higher value than other interrupts and then use CMSIS-Core __set_BASEPRI() function to mask them out.
2019-04-19 02:59 AM
Hello,
I am afraid it is not possible using __disable_irq() but you can do it this way: set the SysTick priority to higher value than other interrupts and then use CMSIS-Core __set_BASEPRI() function to mask them out.
2019-04-19 04:01 AM
Well, as long as interrupts are not disabled too long, (about 1 msec), the IRQ is only delayed.
The most challenging task in embedded SW development is to estimate:
Then interrupt priorities and MCU core frequency can be properly set.
2019-04-19 06:40 AM
Thank you david its very helpful.
if I use __set_BASEPRI() , and systick interrupt occurs when cpu is doing SPI read/write operation can it cause any errors in spi operation?