Integrating MIPI LCD (ILI9881C) with i.MX8MM-EVK

Hi Everyone,

For over a month, we’ve been trying to integrate a MIPI LCD (Ilitek ILI9881C) with our i.MX8MM-EVK. We tested the setup with the NXP Raydium LCD, and it works fine.

After updating the device tree (DTS) and making changes to the driver, we are now seeing only a gray screen. I was able to run the LCD in test mode, so the connector and initialization codes seem to be working as expected.

We would greatly appreciate any suggestions or insights on what might be causing this issue or how to further debug the problem.

I have attached the dts, driver and also the dmesg files.
dmesg: dmesg.txt - Google Drive
driver: panel-ilitek-ili9881c.c - Google Drive

Here is the DTS ( I have attached the whole file also):

&adv_bridge {
	status = "disabled";
};

&mipi_dsi {
	status = "okay";
	panel@0 {
		compatible = "wanshujie,sj060hd05s", "ilitek,ili9881c";
		reg = <0>;
		pinctrl-0 = <&pinctrl_mipi_dsi_en>;
		reset-gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
		video-mode = <2>;	/* 0: burst mode
					 * 1: non-burst mode with sync event
					 * 2: non-burst mode with sync pulse
					 * 3: command mode
					 */
		status = "okay";
	};
};

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

It sounds like you’re facing a challenging issue with integrating the Ilitek ILI9881C MIPI LCD with your i.MX8MM-EVK, resulting in a gray screen. Here are some steps and considerations that might help you resolve this:

  1. Device Tree Configuration: Double-check your device tree settings to ensure they are correctly configured for the ILI9881C. Pay special attention to the compatible string, reset GPIO, and any other specific parameters required by the display. The compatible string should match the driver you are using.

  2. Driver Initialization: Verify that the initialization sequence in your driver aligns with the requirements of the ILI9881C. This includes ensuring that the power-up sequence, reset timing, and any specific initialization commands are correctly implemented.

  3. MIPI DSI Configuration: Review the MIPI DSI settings in your device tree and driver. Ensure that the video mode, lane configuration, and clock settings are appropriate for the ILI9881C. A gray screen might indicate a mismatch in these settings.

  4. Timing Parameters: Check the timing parameters such as horizontal and vertical sync, back porch, and front porch settings. Incorrect timing can lead to display issues like a gray screen.

  5. dmesg Logs: Analyze the dmesg logs for any error messages or warnings related to the MIPI DSI interface or the display driver. This can provide clues about what might be going wrong during initialization or operation.

  6. Test Mode: Since the display works in test mode, it suggests that the hardware connections are likely correct. Focus on software configuration and initialization sequences.

  7. Reference Designs: If possible, refer to any available reference designs or documentation for the ILI9881C to ensure that your implementation aligns with recommended practices.

By systematically checking these areas, you should be able to identify the root cause of the gray screen issue. If the problem persists, consider simplifying the setup to isolate the issue, such as testing with a minimal configuration or using a known-good display for comparison.

I hope these suggestions help you resolve the issue.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

https://community.nxp.com/t5/i-MX-Processors/integration-of-a-LCD-panel-ST7701-MIPI-DSI-controller-into-NXP/m-p/1053677

https://community.nxp.com/t5/i-MX-Processors/ILI9881C-device-tree-modification/m-p/891136

Weston-vivante launch with gray screen.

Hello @alizadeh91,

I see that you are using the i.MX8MM-EVK from NXP.
This is not a Toradex product, and therefore we are unable to offer support for it.

If you want a well-supported System-on-Module with the i.MX8MM SoC, I recommend that you have a look at the Verdin iMX8MM.

Best Regards,
Bruno