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?

where does my backend live?

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
2 Posts 2 Posters 502 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 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.

    jsulmJ 1 Reply Last reply
    0
    • R rlushster

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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