toolkit_freertos#
Overview#
This example shows how to use the vglite component. This application draws a graphics as per svg on the screen.
Supported Boards#
MIMXRT1170-EVKB
Hardware requirements
Mini/micro USB cable
MIMXRT1170-EVKB board
Personal Computer
RK055MHD091 panel or RK055AHD091 panel or RK055IQH091 panel
Board settings
Connect the panel to J48 Connect 5V power to J43, set J38 to 1-2
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Build the project, the project uses RK055MHD091 by default, to use other panels, change #define DEMO_PANEL 2 to #define DEMO_PANEL 0 or #define DEMO_PANEL 1 or #define USE_MIPI_PANEL 3 in mcux_config.h Which number represent which panel can be found in display_support.h and mcux_config.h.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs, you can see a clock with high render quality on the screen.
MIMXRT1160-EVK
Hardware requirements
Mini/micro USB cable
MIMXRT1160-EVK board
Personal Computer
RK055MHD091 panel or RK055AHD091 panel or RK055IQH091 panel
Board settings
Connect the panel to J48 Connect 5V power to J43, set J38 to 1-2
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Build the project, the project uses RK055MHD091 by default, to use other panels, change #define DEMO_PANEL 2 to other panel in mcux_config.h. Which number represents which panel can be found in display_support.h and mcux_config.h.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs, you can see a svg image with high render quality on the screen.
EVK-MIMXRT595
Hardware requirements
Micro USB cable
TFT Proto 5” CAPACITIVE board HW REV 1.01 by Mikroelektronika. (Named as SSD1963 panel in project. Not necessary if use MIPI panel)
EVK-MIMXRT595
Personal Computer
RK055AHD091 MIPI panel (Not necessary if use other panel)
RK055MHD091 MIPI panel (Not necessary if use other panel)
RM67162 smart MIPI panel (Not necessary if use other panel)
Board settings
To use SSD1963 panel: Connect SSD1963 panel to J43.
To use MIPI panel: Connect MIPI panel to J44.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Steps to configure the panels
The demo use MIPI RK055MHD091 panel by default. If Kconfig is used, select the panel in Kconfig “Panel Selection”. To use SSD1963 DBI panel, change the macro DEMO_PANEL to 0 in mcux_config.h. To use MIPI RK055AHD091 panel, change the macro DEMO_PANEL to 1 in mcux_config.h. To use MIPI RK055IQH091 panel, change the macro DEMO_PANEL to 2 in mcux_config.h. To use RM67162 MIPI smart DBI panel, change the macro DEMO_PANEL to 3 in mcux_config.h. To use MIPI RK055MHD091 panel, change the macro DEMO_PANEL to 4 in mcux_config.h(default).
Running the demo
When the example runs, you can see a svg image with high render quality on the screen.
MIMXRT700-EVK
Hardware requirements
Micro USB cable
TFT Proto 5” CAPACITIVE board HW REV 1.01 by Mikroelektronika. (Named as SSD1963 panel in project. Not necessary if use MIPI panel)
MIMXRT700-EVK
Personal Computer
RK055AHD091 MIPI panel (Not necessary if use other panel)
RK055IQH091 MIPI panel (Not necessary if use other panel)
RK055MHD091 MIPI panel (Not necessary if use other panel)
RM67162 smart MIPI panel (Not necessary if use other panel)
RaspberryPi Panel (Not necessary if use other panel)
ZC143AC72MIPI DBI panel (Not necessary if use other panel)
Board settings
Use the external PMIC 5V power supply. Connect JP1 and JP3.
To use SSD1963 panel: Connect SSD1963 panel to J4. Make sure to connect JP7 2&3 to use 3.3v FLEXIO interface.
To use MIPI panel: Connect MIPI panel to J52.
To use Raspberry panel: Connect the panel to J8. Then connect the panel’s 5V pin to JP43-1, GND pin to JP43-2. Make sure the R75, R76, R79, R80 are connected.
To use the ZC143AC72MIPI panel: Connect J2 1&2.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Steps to configure the panels
The demo use MIPI RK055MHD091 panel by default. If Kconfig is used, select the panel in Kconfig “Panel Selection”. To use SSD1963 DBI panel, change the macro DEMO_PANEL to 0 in mcux_config.h. To use MIPI RK055AHD091 panel, change the macro DEMO_PANEL to 1 in mcux_config.h. To use MIPI RK055IQH091 panel, change the macro DEMO_PANEL to 2 in mcux_config.h. To use RM67162 MIPI smart DBI panel, change the macro DEMO_PANEL to 3 in mcux_config.h. To use MIPI RK055MHD091 panel, change the macro DEMO_PANEL to 4 in mcux_config.h(default). To use RaspberryPi, change the macro DEMO_PANEL to 5 in mcux_config.h. To use ZC143AC72MIPI DBI panel, change the macro DEMO_PANEL to 6 in mcux_config.h.
Frame buffer compression is supported for panels MIPI RK055MHD091 and MIPI RK055AHD091. In order to activate this support you have to select either MIPI RK055MHD091 or MIPI RK055AHD091 in Kconfig and set either DEMO_RK055MHD091_USE_XRGB8888 / DEMO_RK055AHD091_USE_XRGB8888 to 1 in mcux_config.h.
Running the demo
When the example runs, you can see a svg image with high render quality on the screen.
FRDM-IMXRT1152
Hardware requirements
Type-C USB cable
FRDM-IMXRT1152 board
Personal Computer
RK055MHD091 panel or RK055AHD091 panel or RK055IQH091 panel
Board settings
Connect the panel to J62
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Build the project, the project uses RaspberryPi by default, to use other panels, change #define DEMO_PANEL 5 to #define DEMO_PANEL 2 or #define DEMO_PANEL 0 or #define DEMO_PANEL 1 Which number represent which panel can be found in display_support.h and mcux_config.h.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs, you can see a clock with high render quality on the screen.
FRDM-IMXRT700
Hardware requirements
Type-C USB cable
FRDM-IMXRT700
Personal Computer
RaspberryPi Panel
Board settings
To use Raspberry panel: Connect the panel to J8. Then connect the panel’s 5V pin to JP43-1, GND pin to JP43-2.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Steps to configure the panels
Running the demo
When the example runs, you can see a svg image with high render quality on the screen.