The solution is based on NXP i.MX RT1170's automotive dashboard solution, adopts open source lightweight display graphics library LVGL, the LCD screen resolution is 720x1280, and adopts general graphics acceleration engine, vector graphics processing, multi-layer optimization and other strategies to optimize the display effect and improve the frame rate.
This document is the brief manual (简易说明书, V1.0, dated 2022.04.25) for the E-Bike DEMO, a vehicle dashboard solution based on the NXP i.MX RT1170 and the open-source LVGL graphics library, running on a 720x1280 portrait LCD. It uses a dual-core strategy: the Cortex-M7 master core handles image display while the Cortex-M4 slave core receives speed, mileage and battery data over CAN bus and passes them to the master core via the MU (Messaging Unit).
The manual introduces the solution's dual-core communication and graphics acceleration features (PXP rotation, LCDIFv2 multi-layer blending, VGLite), describes the six demo screens (home, navigation, instrument cluster, tire pressure, music and chart), lists the hardware interfaces and software development environment (GUI Guider, Visual Studio LVGL simulator, MCUXpresso IDE and SDK), and gives step-by-step instructions for importing, building and downloading the project to the i.MX RT1170 EVK board, plus operating instructions for the E-Bike DEMO. This manual is written in Chinese.
| LCD resolution | 720x1280 portrait |
|---|---|
| PXP rotation time | about 8 ms |
| LCDIFv2 layers | up to 8 layers |
| CANFD data bitrate | 1000 kbit/s |
| CAN frame rate | 15 ms per frame, 4 bytes per frame |
| Speed data range | 0~120 (16-bit) |
| Power data range | 0~1200 (16-bit) |
| CM7 processing rate | 30 ms per frame |
Connect the board to the PC via Micro-USB and 5V DC power, then right-click the main project, choose Debug As and select MCUXpresso IDE LinkServer (inc.CMSIS-DAP) probes. Because it is a dual-core project, click Run again for the slave-core project.
In the navigation screen, tap the first (back) icon in the icon bar at the bottom; in the instrument screen, tap the home icon at the lower left.
External input data is received via CANFD on the J47 CAN interface of the EVK board, using 500 kbit/s arbitration and 1000 kbit/s data bitrates with TX ID 0xAB and RX ID 0xBA.
The Cortex-M4 slave core receives the CAN data and passes it to the Cortex-M7 master core through the MU (Messaging Unit), which processes it at 30 ms per frame.