Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. where does my backend live?
Forum Updated to NodeBB v4.3 + New Features

where does my backend live?

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
2 Posts 2 Posters 597 Views
  • 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
    rlushster
    wrote on 26 Mar 2022, 13:54 last edited by
    #1

    New to Qt, obviously. I have a commercial license (Qt for Device Creation) but I haven't gotten a whole lot of help from Qt. I'm using the Toradex Verdin imx8mp SoM. Its taken me more than a month just to figure out how to build the qbsp and the image and make them talk to each other.

    I have a really simple HMI (that's not true, I got nothing, but its coming!) that needs to communicate with a motor over UART0, PWM some fans, read a couple of I2C sensors, sample the ADC and go to sleep when not in use. Its all fairly simple code but coming from a bare metal Cortex M background doesn't help much. Could someone point me towards a simple example that continuously updates my graphics based on some kind of sensor?

    The blocking serial example is helpful but I need something that runs in the background and updates the UI rather than purely event driven based on user input.

    J 1 Reply Last reply 28 Mar 2022, 07:25
    0
    • R rlushster
      26 Mar 2022, 13:54

      New to Qt, obviously. I have a commercial license (Qt for Device Creation) but I haven't gotten a whole lot of help from Qt. I'm using the Toradex Verdin imx8mp SoM. Its taken me more than a month just to figure out how to build the qbsp and the image and make them talk to each other.

      I have a really simple HMI (that's not true, I got nothing, but its coming!) that needs to communicate with a motor over UART0, PWM some fans, read a couple of I2C sensors, sample the ADC and go to sleep when not in use. Its all fairly simple code but coming from a bare metal Cortex M background doesn't help much. Could someone point me towards a simple example that continuously updates my graphics based on some kind of sensor?

      The blocking serial example is helpful but I need something that runs in the background and updates the UI rather than purely event driven based on user input.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 28 Mar 2022, 07:25 last edited by
      #2

      @rlushster said in where does my backend live?:

      The blocking serial example is helpful but I need something that runs in the background

      Then don't use Qt serial port module in blocking way.
      See https://doc.qt.io/qt-5/qtserialport-creaderasync-example.html
      Qt serial port implementation is asynchronous.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      28 Mar 2022, 07:25

      • Login

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