PERFORMANCE COMPARISON OF USART COMMUNICATION BETWEEN REAL TIME OPERATING SYSTEM (RTOS) AND NATIVE INTERRUPT

  • Novian Habibie Faculty of Computer Science, Universitas Indonesia
  • Machmud Roby Alhamidi Faculty of Computer Science, Universitas Indonesia
  • Dwi Marhaendro Jati Purnomo Faculty of Computer Science, Universitas Indonesia
  • Muhammad Febrian Rachmadi School of Informatics, The University of Edinburgh
Keywords: embedded system RTOS, interrupt, USART, performance analysis

Abstract

Comunication between microcontrollers is one of the crucial point in embedded sytems. On the other hand, embedded system must be able to run many parallel task simultaneously. To handle this, we need a reliabe system that can do a multitasking without decreasing every task’s performance. The most widely used methods for multitasking in embedded systems are using Interrupt Service Routine (ISR) or using Real Time Operating System (RTOS). This research compared perfomance of USART communication on system with RTOS to a system that use interrupt. Experiments run on two identical development board XMega A3BU-Xplained which used intenal sensor (light and temperature) and used servo as external component. Perfomance comparison done by counting ping time (elapsing time to transmit data and get a reply as a mark that data has been received) and compare it. This experiments divided into two scenarios: (1) system loaded with many tasks, (2) system loaded with few tasks. Result of the experiments show that communication will be faster if system only loaded with few tasks. System with RTOS has won from interrupt in case (1), but lose to interrupt in case (2).

Published
2016-02-15
How to Cite
Habibie, N., Alhamidi, M. R., Jati Purnomo, D. M., & Rachmadi, M. F. (2016). PERFORMANCE COMPARISON OF USART COMMUNICATION BETWEEN REAL TIME OPERATING SYSTEM (RTOS) AND NATIVE INTERRUPT. Jurnal Ilmu Komputer Dan Informasi, 9(1), 43-51. https://doi.org/10.21609/jiki.v9i1.365