~/talk

What Qt CAN Bus improvements mean for Controller Area Networks (CANs)

Talkat Qt World Summit 2019 · 2019-11-04..11-06· [embedded-and-hardware]
links:none on file
slides:none on file

Qt CAN Bus (QtSerialBus, introduced in Qt 5.6) provides a concrete architecture: a CAN router that reads socketCAN, per‑ECU proxy/digital twin objects, a cache and sampling timer that aggregates frames to the GUI at ~4–5Hz, and raw socket filters to keep unwanted frames out of userspace. J1939 uses 29‑bit IDs and little‑endian payloads; real harvesters see ~1,100–1,700 frames/s (800 fps is common) so default socketCAN write buffer (10) overflows when naively writing many requests. Solution: enable receive own frames to pace requests, generate decoding code from DBC/symbol files, use QtEndian, and ship a working HMI without freezes.

AI-written summary · about

  1. 0:00Introduction to CAN in Qt
  2. 6:03CAN middleware architecture
  3. 11:29J1939 standard explained
  4. 21:09CAN bus hardware setup
  5. 26:40Qt CAN device integration
  6. 27:49Receiving CAN frames in Qt
  7. 34:54Reducing CAN frame traffic
  8. 39:47Sending CAN property requests
  9. 43:03Handling buffer overflows
  10. 47:01Code generation for CAN messages
  11. 49:29Qt CAN benefits and use cases
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.