Jump to content

PI TFT43-DIP


Emmanuel

Recommended Posts

  • Administrators
On 7/8/2022 at 1:51 PM, Emmanuel said:

Hello,

Is there any configuration documents like pins map or dts overlay parameters (using vc4-kms-dpi-generic with bad results) for using the PI TFT43-DIP on raspberry pi 3 ?

Thank you

Emmanuel

If you have any product issues, please submit a request and we will arrange for an engineer to communicate with you as soon as possible.

Click on the top navigation "Submit a request" or Please click
https://support.biqu3d.com/hc/en-us/requests/new

Link to comment
Share on other sites

  • 2 weeks later...

Hi

Y'd managed it to work on Debian Bullseye (rpi zero 2w an rpi 3b) with these parameters in /boot/config.txt :

# Disable compensation for displays with overscan
disable_overscan=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

dtoverlay=vc4-kms-dpi-generic
dtparam=rgb666-padhi
dtparam=backlight-gpio=19

dtoverlay=bttpitft43dip-touch

and this custom dts for the touch :

/*
 * bttpitft43dip-touch.dts
 */

/dts-v1/;
/plugin/;

/ {
	compatible = "brcm,bcm2835";

	fragment@0 {
		target-path = "/";
		__overlay__ {
			i2c_gpio: i2c@0 {
				compatible = "i2c-gpio";
				gpios = <&gpio 10 0 /* sda */
					 &gpio 11 0>; /* scl */
				i2c-gpio,delay-us = <4>;        /* ~100 kHz */
				#address-cells = <1>;
				#size-cells = <0>;
			};
		};
	};

	fragment@1 {
		target = <&i2c_gpio>;
		__overlay__ {
			/* needed to avoid dtc warning */
			#address-cells = <1>;
			#size-cells = <0>;
			ft6236_14: ft6236@14 {
				compatible = "goodix,gt911";
				reg = <0x14>;
				interrupt-parent = <&gpio>;
				interrupts = <27 2>;
				touchscreen-size-x = <800>;
				touchscreen-size-y = <480>;
				touchscreen-x-mm = <95>;
				touchscreen-y-mm = <54>;
			};

			ft6236_5d: ft6236@5d {
				compatible = "goodix,gt911";
				reg = <0x5d>;
				interrupt-parent = <&gpio>;
				interrupts = <27 2>;
				touchscreen-size-x = <800>;
				touchscreen-size-y = <480>;
				touchscreen-x-mm = <95>;
				touchscreen-y-mm = <54>;
			};
		};
	};
};

bye

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...