AnsweredAssumed Answered

stm32 uart rtc timer

Question asked by futureelectronics on Nov 12, 2012
Latest reply on Nov 14, 2012 by Clive One
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 randomly
2. my RTC on stm32 will be updated each 1 second in the rtc interrupt handler
3. my timer interrupt will handle each 1 second .(it can be alterable)

When designing uart, rtc and timer part, there are overlap sections.
For example
A. 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 mistakenly
C. 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

Outcomes