Performance Comparison of Usart Communication Between Real Time Operating System and Native Interrupt

Dikirim tanggal 09-09-2016 oleh Admin IOER

Deskripsi Singkat

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).

  • Ilmu Komputer

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(): Only 0 of 267 bytes written, possibly out of free disk space

  1. in Filesystem.php line 111
  2. at HandleExceptions->handleError('2', 'file_put_contents(): Only 0 of 267 bytes written, possibly out of free disk space', '/home/sipw3565/public_html/', '111', array('path' => '/home/sipw3565/public_html/', 'contents' => 'a:4:{s:6:"_token";s:40:"7Rup5lRFYZ8K2PtyaGZjAOHSqTJwCVywFDrGZM88";s:9:"_previous";a:1:{s:3:"url";s:30:"";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1603540580;s:1:"c";i:1603540580;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/home/sipw3565/public_html/', 'a:4:{s:6:"_token";s:40:"7Rup5lRFYZ8K2PtyaGZjAOHSqTJwCVywFDrGZM88";s:9:"_previous";a:1:{s:3:"url";s:30:"";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1603540580;s:1:"c";i:1603540580;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', '2') in Filesystem.php line 111
  4. at Filesystem->put('/home/sipw3565/public_html/', 'a:4:{s:6:"_token";s:40:"7Rup5lRFYZ8K2PtyaGZjAOHSqTJwCVywFDrGZM88";s:9:"_previous";a:1:{s:3:"url";s:30:"";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1603540580;s:1:"c";i:1603540580;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('131a4e6ec1a8abd47de835fd6d530115f0c1354a', 'a:4:{s:6:"_token";s:40:"7Rup5lRFYZ8K2PtyaGZjAOHSqTJwCVywFDrGZM88";s:9:"_previous";a:1:{s:3:"url";s:30:"";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1603540580;s:1:"c";i:1603540580;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 262
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 155
  8. at Kernel->terminate(object(Request), object(Response)) in index.php line 58