cancel
Showing results for 
Search instead for 
Did you mean: 

I wanna to use special LCD(MIPI interface). How can I setting in TouchGFX parameters???

luisfynn1
Associate II

Hello I'm luis.

I wanna to control new LCD(partname WF50DTYA3MNN0, MIPI-interface). show attached file.

But I have problems how to setting TouchGFX many parameters about WF50DTYA3MNN0.

 

please help me. 

Even if it takes some time, please let me know step by step. 

It would be better if you attached a picture.

 

I would appreciate it if you could mark the parameters that need to be set in touchGFX with a red box, display the contents of the data sheet to indicate what value to enter, or tell me the value.

thanks

 

 

 

1 REPLY 1
Smartembedded
Associate III

Hi,

 

Perhaps to look into a DK with MIPI allready supported and preferable same resoulution (or controller ILI9881C) for approx timing. But you need a better datasheet of the display controller.

Then you need to find out if the panel need init codes and send them during initialization.

Most MIPI panels do need init codes and will not show anything even a tiny flicker until they are correct initialized.

There is a lot setup to be done and sometimes inspiration can be found in linux *.dtsi files. Below example for another controller and 800x1280. Here you can see the dsi-on-command which are some of the init codes for that controller. 

&mdss_mdp {
	dsi_hx8394d_kingdisplay_vid: qcom,mdss_dsi_hx8394d_kingdisplay_vid {
		qcom,mdss-dsi-panel-name = "HX8394D fwvga video mode dsi panel";
		qcom,mdss-dsi-panel-type = "dsi_video_mode";
		qcom,mdss-dsi-panel-framerate = <60>;
		qcom,mdss-dsi-virtual-channel-id = <0>;
		qcom,mdss-dsi-stream = <0>;
		qcom,mdss-dsi-panel-width = <800>;
		qcom,mdss-dsi-panel-height = <1280>;
		qcom,mdss-dsi-h-front-porch = <24>;
		qcom,mdss-dsi-h-back-porch = <132>;
		qcom,mdss-dsi-h-pulse-width = <4>;
		qcom,mdss-dsi-h-sync-skew = <0>;
		qcom,mdss-dsi-v-back-porch = <16>;
		qcom,mdss-dsi-v-front-porch = <9>;
		qcom,mdss-dsi-v-pulse-width = <2>;
		qcom,mdss-dsi-h-left-border = <0>;
		qcom,mdss-dsi-h-right-border = <0>;
		qcom,mdss-dsi-v-top-border = <0>;
		qcom,mdss-dsi-v-bottom-border = <0>;
		qcom,mdss-dsi-bpp = <24>;
		qcom,mdss-dsi-color-order = "rgb_swap_rgb";
		qcom,mdss-dsi-underflow-color = <0xff>;
		qcom,mdss-dsi-border-color = <0>;
		qcom,mdss-dsi-on-command = [
		39 01 00 00 00 00 04 B9 FF 83 94
		39 01 00 00 32 00 05 D9 00 8B 02 07
		39 01 00 00 00 00 03 BA 73 83
		39 01 00 00 00 00 10 B1 6C 10 10 24 E4 11 F1 80 E4 D7 23 80 C0 D2 58

 Maybe this will do : https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 

Have fun !