Hardware requirements

  • Micro USB cable

  • MIMXRT1040-EVK board

  • Personal Computer

  • RK043FN02H-CT or RK043FN66HS-CT6 LCD board (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)

Board settings

  1. Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.

Prepare the Demo

  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

If this example runs correctly, a rectangle is moving in the screen, and the color changes every time it reaches the edges of the screen.