◆AUTOMOTIVE

QNX Vehicle Instrument Cluster on Renesas R-Car M2N

Full-cycle cluster development on QNX Neutrino — BSP optimisation, LCD, UART and CAN drivers, and a Qt/QML HMI tuned from power-on to a live application in about one second.

~1 sec

System boot-up to running application

 

~20 sec

Boot before optimisation

~1 sec

Boot after optimisation

3

Drivers written for QNX

11

CAN signals rendered live

◆ THE CHALLENGE

A cluster has to be there the moment the key turns​

A driver turning the key expects the cluster to be there. Not loading, not showing a logo — there, with the speedometer live and the warning lamps already telling the truth. That expectation is the hardest requirement in a digital instrument cluster, and it is the one that breaks most projects.

Our client was replacing a traditional analogue cluster with a fully digital one on the Renesas R-Car M2N. The HMI had to be built in Qt with a QML front end and C++ business logic, running on QNX Neutrino because the system is safety-relevant and needed a hard real-time foundation. The cluster reads from multiple vehicle systems over CAN — ABS, TPMS, ESC — and renders fuel level, low beam, engine oil, service interval, gear position, speed and RPM without perceptible lag.

The constraint that shaped everything was boot time. [Insert the regulation or OEM specification here.] A general-purpose boot sequence on this stack takes [X seconds], which was far outside the budget. There was also no existing BSP work: no driver layer for LCD, UART or CAN, and no QNX port. Everything from board bring-up to the final QML animation was ours.

Jenex Technovation Pvt Ltd – Embedded & IoT Solutions Company

OUR APPROACH

Boot time is a system property, not an app problem​

Optimising the QML renderer would not help while the OS underneath was still enumerating devices it did not need. The work ran from the board upward.

01

Ported and trimmed QNX Neutrino for the R-Car M2N

The RTOS was brought up on the target board and the image reduced to what a cluster actually needs. Services a default build starts were removed at build time rather than disabled at runtime — a service that is never built never costs boot time.

02

Wrote the LCD, UART and CAN device drivers

No driver layer existed for these peripherals on QNX Neutrino, so all three were implemented and integrated from scratch. The CAN driver sets the constraint for everything above it: vehicle data has to be arriving before the first frame is drawn, not after it.

03

Optimised the BSP initialisation order

We profiled what the board was doing between power-on and the first instruction of the application, then reordered initialisation so nothing outside the critical path to first frame runs before it. Everything else starts once the cluster is already on screen.

04

Modified the QNX startup scripts to auto-launch the HMI

The startup sequence was rewritten to hand control straight to the cluster application instead of booting to a shell and starting it as a user process. That removed an entire layer from the normal boot path.

05

Cross-compiled Qt 5.6 for QNX and cut the library load cost

Qt was cross-compiled for the QNX target and installed with only the modules the HMI uses. Loading Qt's shared libraries is a large share of a naive startup, so library loading was tuned specifically to get the application to its first draw call faster.

06

Built the HMI as QML with C++ business logic

Gauges, tell-tales and the centre display are QML. Vehicle data handling, unit conversion and state logic sit in C++ behind it. That split keeps the render path light and the logic testable independently of the interface.

◆RESULTS

One second from power-on to a live, accurate cluster

The cluster boots from power-on to a live, data-accurate application in approximately one second on the Renesas R-Car M2N, with the full Qt/QML HMI active and CAN telemetry already feeding the gauges and tell-tale lamps.

[Second paragraph — what the figure meant in practice. Did it clear the OEM specification? Did it unblock a milestone? Write what the client actually got out of it.]

◆ THE HARDEST PART

Twenty seconds to one — without ever showing a wrong reading

A general-purpose build of this stack booted in around twenty seconds. The specification called for one. That is not a tuning problem — it is a different architecture, and no amount of optimising inside the QML renderer was going to close a nineteen-second gap while the operating system underneath was still enumerating devices the cluster would never use.

The harder constraint was correctness. Reaching a drawn screen quickly is easy if the screen is allowed to be wrong. A cluster that paints in 600 ms and then corrects the fuel gauge a second later is worse than one that takes slightly longer and is right immediately — a driver reads a wrong tell-tale as a fault, not as a loading state.

So we drew the line at truthfulness rather than speed. The CAN driver and every signal feeding a tell-tale lamp initialise before the first draw call; cosmetic elements come up after the cluster is already on screen. The cluster is live in about a second, and honest from the first frame it shows.

One-Second Startup

Full cluster live in about a second from power-on, against roughly twenty seconds for a stock build of the same stack.

Live CAN Telemetry

Eleven vehicle signals decoded from the bus and rendered continuously — speed, RPM, fuel, coolant temperature and tell-tale states.

Safe First Frame

Every tell-tale lamp is verified before the cluster draws. The driver never sees a reading the system has not yet confirmed.

◆DELIVERABLES

What Jenex Developed

◆ PROJECT SNAPSHOT

CLIENT

A tier-one automotive supplier, Europe

Industry

Automotive

platform

Renesas R-Car M2N

Operating System

QNX Neutrino RTOS

Engineering Scope

QNX Neutrino BSP and bring-up on Renesas R-Car M2N, with CAN, UART and LCD drivers written in-house.

Key Functions

Cold boot to a fully live cluster in about one second, plus a UART channel for diagnostics and configuration.

DELIVERED COMPONENTS

QNX BSPCAN DriverUART DriverLCD DriverQt / QML HMIBoot Optimisation

◆ COMMON QUESTIONS

About the QNX Vehicle Instrument Cluster Project

A cluster has a hard real-time obligation — tell-tale lamps must appear within a bounded time, every time. QNX Neutrino is a microkernel RTOS with deterministic scheduling, so that timing is guaranteed rather than typical. It is also the established automotive choice, which shortens client-side validation.

About one second from power-on to a fully live display, against roughly twenty for a stock build of the same stack. The gain came from trimming OS startup to the devices the cluster actually uses and reordering the boot path around the first draw call.

A Renesas R-Car M2N automotive SoC. Jenex built the QNX Neutrino BSP for that target and wrote three drivers against the QNX driver model — CAN, UART and LCD.

Over the CAN bus. Eleven signals are decoded from raw frames and exposed to the UI as bindable properties, so a change on the bus reaches the gauge directly without a polling layer in between.

Through a dedicated UART channel built into the system. It carries configuration commands and log retrieval without interrupting the cluster’s normal operation, which keeps bench debugging and in-service diagnostics off the CAN bus entirely.

Yes. The stack here — RTOS bring-up, BSP, drivers, CAN integration and Qt/QML HMI — transfers to other automotive SoCs and display configurations. Send us your hardware and we will scope the software side.

Building a cluster or an automotive HMI?

Thirty minutes with an engineer who has shipped one. We’ll tell you honestly whether your boot target is realistic.