C

Configure NXP i.MX RT1170 pins

To get Qt Quick Ultralite working, 1170's pins need some configuration. Use the pin configuration tool to add/modify following functional groups with the following pin configurations:

Note: If a pin property is not listed or the value is empty, use the default value.

BOARD_InitPins -> BOARD_InitLpuartPins

Called by default initialization function: true

PinSoftware Input OnPull/Keeper selectDrive strength
M15EnabledKeeperNormal
L13KeeperNormal

BOARD_InitMipiPanelPins

Called by default initialization function: true

PinPeripheralSignalSoftware Input OnPull up/down configPull/Keeper selectOpen drainDrive strength
K17GPIO9gpio_io,29
R13GPIO9gpio_io,01
R14GPIO9gpio_io,00Pull DownKeeperNormal
A4GPIO11gpio_io,16
N7LPI2C5SDAEnabledPull DownEnabledNormal
N8LPI2C5SCLEnabledEnabledNormal
N12GPIO2gpio_mux_io,31Pull Down

BOARD_InitGpioPins

Called by default initialization function: true

PinPeripheralSignalDirectionGPIO interrupt
M13GPIO9gpio_io,03Output
T8GPIO13gpio_io,00InputRising Edge

After all pins have been configured, select the Update Code button to generate the pin configuration code.

By default, the touch interrupt is set to happen on GPIO8 pin, which enables interrupt handling on CM4 core but not on CM7. The pin configuration above routes the interrupt to GPIO2, which can be accessed from CM7 core, but you'll have to manually change the pin definition. You can do this as follows:

  1. Open board/board.h file.
  2. Find the #define BOARD_MIPI_PANEL_TOUCH_INT_GPIO GPIO8 line and replace GPIO8 with GPIO2.

Available under certain Qt licenses.
Find out more.