4.5 KiB
Overview
This GUI demo is developed with the Embedded Wizard GUI solution.
The application demonstrates the usage of vector graphics created from svg path data and how transitions between two design variations and further ui components can be achieved.
The application provides the following screens / operation modes:
- A start screen with a start engine button which can be activated to perform the transition to the dashboard.
- A dashboard screen handling the presentation and animation of different elements.
- Two variations of gauges for speedometer and energy level.
This examples runs bare metal, but Embedded Wizard is also possible to use with FreeRTOS. Our official Build Environments, that can be downloaded as described above, includes examples and demos that illustrate the integration of FreeRTOS and can be used for your reference.
In order create your own GUI application powered by the latest version of Embedded Wizard that is suitable for the i.MX RT1050 Evaluation Kit, please visit https://doc.embedded-wizard.de/getting-started-mimxrt1050-evk
For this example a simulation of the user interface is also available. It can be used under following link http://www.embedded-wizard.de/NXP-SDK-Examples/IMXRT1050-EVK/Dashboard/Simulation/ with any web browser. The simulation uses the JS/WebGL Embedded Wizard Platform Package. For further information about Embedded Wizard, please visit our web site at https://www.embedded-wizard.de/platforms/nxp/imx-rt
SDK version
- Version: 2.15.000
Toolchain supported
- IAR embedded Workbench 9.40.1
- GCC ARM Embedded 12.2
- Keil MDK 5.38.1
- MCUXpresso 11.8.0
Hardware requirements
- Micro USB cable
- IMXRT1050-EVKB board
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board
- Personal Computer
Board settings
- Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.
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 RK043FN66HS-CT6 by default, to use other panels, change #define DEMO_PANEL DEMO_PANEL_RK043FN66HS to #define DEMO_PANEL DEMO_PANEL_RK043FN02H in ew_bsp_touch.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
If this example runs correctly, the sample application is displayed on the LCD screen. The log below shows the output of the sample application 'Dashboard' in the terminal window:
Initialize Realtime Clock... [OK]
Initialize Display... [OK]
Initialize Touch Driver... [OK]
Initialize Memory Manager... [OK]
Initialize Graphics Engine... [OK]
Create Embedded Wizard Root Object... [OK]
Create Embedded Wizard Viewport... [OK]
---------------------------------------------
Target system IMXRT1050-EVKB
Color format RGB565
MemoryPool address 0x8107F800
MemoryPool size 14157824 bytes
Framebuffer address 0x81000000
Doublebuffer address 0x8103FC00
Framebuffer size 480 x 272
EwScreeenSize 480 x 272
Graphics accelerator PXP
Vector graphics support enabled
Warp function support enabled
Index8 bitmap resource format enabled
RGB565 bitmap resource format enabled
Bidirectional text support enabled
Operating system none
External flash device Hyper Flash
Toolchain <Toolchain name>
C-Compiler version <C-Compiler version>
Build date and time <MMM DD YYYY, HH:MM:SS>
Runtime Environment (RTE) version 10.00
Graphics Engine (GFX) version 10.00
Max surface cache size 8388608 bytes
Glyph cache size 256 x 256
Max issue tasks 100
Surface rotation 0
---------------------------------------------