Hardware requirements#
Type-C USB cable
FRDM-IMXRT700
Personal Computer
RaspberryPi Panel (Not necessary if use other 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.
Project Configuration#
This project supports different panels and pixel formats, there are two methods to configure.
Configure by Kconfig, passing configuration flags during build:
west build ....OR configure by modifing the macros in configure file mcux_config.h.
NOTE: The mcux_config.h is generated by Kconfig, if Kconfig is used, don’t modify mcux_config.h directly, because the manual changes will be overwritten by Kconfig. NOTE: When the macros to be modified don’t exist in the mcux_config.h, add them directly in mcux_config.h.
Steps to select the panel#
Please read section Project Configuration to know the configuration methods first.
The demo uses “RASPI_7INCH” MIPI rectangular panel (RaspberryPi) by default. The panel can be switched by using west build option or modifying mcux_config.h.
Panel |
west build option |
mcux_config.h DEMO_PANEL |
|---|---|---|
RaspberryPi |
|
5 |
Panel configuration#
Please read section Project Configuration to know the configuration methods first.
RaspberryPi#
Pixel format#
Only RGB565 is supported
Running the demo#
There is tearing effect when using the SSD1963 panel, because the panel video buffer could not be fully updated during fresh interval.