Posted on May 17, 2011 at 14:20''Presumably, you mean 1 stack for interrupts, and one stack for each task in the application?'' yes, the rtos reserve one area of the RAM as stack for all tasks, on switching from one task to another, the rtos self c...
Posted on May 17, 2011 at 14:20The goal to have 2 stacks (one for interrupts, one for app task\s) is also to minimize the app task stack size. With one stack for all, every task stack area should additional provide the needed stack size for the inte...
Posted on May 17, 2011 at 14:20''What are the benefits of two stack model?'' using a RTOS, first stack for all app tasks, second stack for interrupt/exception handler,in an ARM7/9 system you have allways separate stacks for the different handlers re...
Posted on May 17, 2011 at 14:18After checking the TIM1 register against the manual I saw a false value in the TIM1->CCER register in case I use TIM1-CH1. I've forgotton the struct initialization TIM_OCStructInit (&TIM_OCInitStructure) After that e...
Posted on May 17, 2011 at 14:18Thank you, I know this fine spreadsheet. My question was if I use TIM1_CH1 at PA8 that damage my USART1 or not. And why using TIM1_CH4 don't do that. The source for using CH1 or CH4 is nearly the same. Have I reconfig...