Question
stm32 uart rtc timer
Posted on November 12, 2012 at 02:43
Hello,
i need help about designing a stm32 project. Thought is follows. (i must not use any RTOS)1. my stm32100 will handle uart interrupt randomly2. my RTC on stm32 will be updated each 1 second in the rtc interrupt handler3. my timer interrupt will handle each 1 second .(it can be alterable)When designing uart, rtc and timer part, there are overlap sections.For exampleA. When RTC interrupt comes, if UART interrupt comes, what will happen? RTC handler will not work properly?B. With same opinion, when Timer updates each 1 second and if uart interrupt comes, again Timer will update mistakenlyC. I want also to make some operations in UART interrupt routine like running other 2 timers on stm32 for protocol like modbus...Is there any opinion for solving this problem?...Thanks in advance Best Regards #stm32-timer-uart-rtc