Overview
========
This demo exercises the DSP, GPU, and Cortex®-M33, executing various math functions, making a simple performance comparator for both cores, 
and showing the GPU's graphic performance using drawing on a display screen.

Toolchain supported
===================
- MCUXpresso  11.3.0

Hardware requirements
=====================
- Micro USB cable
- EVK-MIMXRT595
- Personal Computer
- RK055AHD091 MIPI panel (Not necessary if use other panel)
- TFT Proto 5" CAPACITIVE board HW REV 1.01 by Mikroelektronika. (Named as SSD1963 panel in project. Not necessary if use MIPI 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
================
The demo use RK055AHD091 panel by default, to use SSD1963 panel, change the macro
DEMO_PANEL to DEMO_PANEL_SSD1963 in display_support.h. To use RM67162 MIPI
smart panel, change the macro DEMO_PANEL to DEMO_PANEL_RM67162 in display_support.h.

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.  Download the program to the target board.
4.  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 the RGB red LED blinking and the next information printed on the serial terminal:

"
Type a number between 1 - 6 to select a function and execute it on CM33 and FusionF1.
Type 7 to change to Graphic demo
1.SQRT
2.SINE
3.VECTOR ADD
4.VECTOR DOT
5.INV MATRIX
6.MATRIX TRANSPOSE
7.GRAPHIC DEMO
"

Type a number on the terminal to execute the indicated action. 
If the input 7, you should see a tiger drwing on the display you selected and the next information on the serial terminal:

"
This Graphics Demo provides an image of a Tiger Head in vector format that is shown on the rectangular display in continuous 
rotation in the range [0-360] and continuous scaling in the range [x-y]

60 frames in 3940 mSec: 15.228 FPS
60 frames in 3945 mSec: 15.209 FPS
60 frames in 4010 mSec: 14.962 FPS
60 frames in 3965 mSec: 15.132 FPS
60 frames in 3895 mSec: 15.404 FPS
60 frames in 3945 mSec: 15.209 FPS
60 frames in 3955 mSec: 15.170 FPS
"