This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX RTOS operation on lower MCU frequencies

Hello,

My application runs on RTX RTOS and MCU STM32F2 is used.

I have implemented one task which handles UART read/write (baudrate 115200). Other task reads data from GPS (UART 9200). Application runs on 48 MHz core clock without any problems. Systick is set to 10 ms.
But when I set MCU core 8MHz, the application stops working. What is the limitations for MCU clock working with RTX RTOS?

Thanks in advance.

Linas

Parents
  • So have you computed the required interrupt respose times needed to never lose characters, and the amount of time the OS needs to perform the required task switches? Does your clocking options leave you with enough processing power to manage your real-time requirements?

    Note that you can play with I/O pins to let you see on a scope when ISR runs and when your threads do something.

    Whatever CPU speed you select, you still need to verify what safety margins you have to maintain your real-time requirements - even when "all" interrupts gets flagged at the same time.

Reply
  • So have you computed the required interrupt respose times needed to never lose characters, and the amount of time the OS needs to perform the required task switches? Does your clocking options leave you with enough processing power to manage your real-time requirements?

    Note that you can play with I/O pins to let you see on a scope when ISR runs and when your threads do something.

    Whatever CPU speed you select, you still need to verify what safety margins you have to maintain your real-time requirements - even when "all" interrupts gets flagged at the same time.

Children
No data