/gs-smart-panel-rm67162-rt1170

This software displays a tiger on the smart lcd panel rm67162, in which the primary core uses vglite to draw contents and the secondary core sends image data to the panel.

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

NXP Application Code Hub

Dual-core driver for smart panel rm67162

This software displays a tiger on the smart LCD panel rm67162, in which the primary core uses VGLite to draw contents and the secondary core sends image data to the panel.

Boards: MIMXRT1170-EVK, MIMXRT1170-EVKB

Categories: Graphics

Peripherals: VIDEO

Toolchains: MCUXpresso IDE, IAR

Table of Contents

  1. Software
  2. Hardware
  3. Setup
  4. Results
  5. Support
  6. Release Notes

1. Software

The software is delivered in raw source files and MCUXpresso/IAR IDE projects.

  • MCUXpresso SDK 2.14.0
  • MCUXpresso IDE, version is v11.8.0 or later
  • IAR IDE, version is arm 9.40.1 or later
  • MCUXpresso for Visual Studio Code: This example supports MCUXpresso for Visual Studio Code, for more information about how to use Visual Studio Code please refer here.

There are two projects: cm7 & cm4. For IAR, the paths of .eww file are:

\cm7\source\iar\tiger_freertos_cm7.eww
\cm4\source\iar\mipi_dcs_cm4.eww

The primary core (cm7) is the start core, which achieves the initialization of MCMGR, VGLite and LCD panel, and activating the secondary core (cm4), etc. cm7 uses VGLite to draw tiger, prints FPS information through UART, and sends image data to cm4 through MCMGR. cm4 receives, processes, and sends image data to LCD panel finally.

The default frame buffer format in this project is RGB565, to use XRGB8888 format, set these macros in \cm7\board\display_support.h.

#define DEMO_RM67162_USE_RGB565 0
#define DEMO_RM67162_USE_XRGB8888 1

This project uses dual core by default, to use only the primary core (cm7), set this macro in display_support.h.

#define DEMO_RM67162_USE_DSI_AUX 0

2. Hardware

  • MIMXRT1170-EVKB (need to rework: Solder 0 ohm resistor to R414)
  • G1120B0MIPI Display Panel
  • Micro USB Cable
  • Personal Computer

Hardware

3. Setup

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
  2. Open a serial terminal with the following settings:
    • 115200 baud rate
    • 8 data bits
    • No parity
    • One stop bit
    • No flow control
  3. Open MCUXpresso/IAR IDE and import two projects.
  4. Build cm4 project first, then build cm7 project.
  5. Download the built images to the board through debug probe USB port and run two projects.

4. Results

The similar log below shows the output of this example in the terminal window:

60 frames in 2225 mSec: 26.966 FPS
60 frames in 2240 mSec: 26.785 FPS
60 frames in 2205 mSec: 27.210 FPS

When example is running, a tiger is rendered on the screen, which keeps rotating and scaling:

Result

5. Support

If you have any questions or find a bug, please enter an issue in the issues tab of this GitHub repository.

Project Metadata

Board badge Board badge

Category badge

Peripheral badge

Toolchain badge Toolchain badge

Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.

Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected funcionality, enter your questions on the NXP Community Forum

Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter

6. Release Notes

Version Description / Update Date
1.0 Initial release on Application Code Hub December 15th 2023