Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. IMX31 with linux kernel 2.6.26 QT ported have to achieve real time
Forum Updated to NodeBB v4.3 + New Features

IMX31 with linux kernel 2.6.26 QT ported have to achieve real time

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raghavendraLN
    wrote on last edited by
    #1

    Hi,
    I am using IMX-31 processor + linux kernel 2.6.26 + ported all modules of qt4.7.0
    From my application i need to process ecg samples(say 200samp/sec) receiving from SPI driver.calculate heart rate ,and has to plot ecg.
    1.)from my test app i am getting correct samples
    but when i ran qt app samples are missing.Hence calculated heart rate is not correct
    2.)Even my test app also misses samples when i ran a dummy qt app at background

    Is this is the problem with my environment or QT..?

    I know related to this topic i have seen several posts ,but nothing suits for me...
    +

    1 Reply Last reply
    0
    • P Offline
      P Offline
      post4pavan
      wrote on last edited by
      #2

      Hi,

      Have you used QML or got the application binary ported?

      Regards :: Krishna Pavan

      Qt for Embedded! INTERESTING!

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raghavendraLN
        wrote on last edited by
        #3

        No i have not used QML.App source code has been cross compiled for target.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          I would be very surprised if this worked without realtime extensions for your kernel without missing the occasional sample.

          So did you read up on realtime linux?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            raghavendraLN
            wrote on last edited by
            #5

            Of course i read about realtime linux.But my question is

            1.QT -is really suits for rich GUI + real time app..?
            2.If suits what should be the underlying platform linux or RTOS..?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              I do not see why Qt should not work here, provided get your OS to schedule the application regularly enough.

              I would try to decouple sample gathering and painting as much as possible though: Since a typical LCD screen refreshes at 60Hz it makes little sense to paint 200 times per second. You can of course not do heavy calculations while gathering your samples, but that should be pretty independent of what you use:-)

              Sorry, I have little experience with realtime OSes, so I can not really recommend which one to prefer.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved