Editor Version ×
recommended

Pro Edition

free

Brand new interactions and interfaces

Smooth support for design sizes of over 3W

devices or 10W pads

More rigorous design constraints, more

standardized processes

For enterprises, more professional users

Std Edition

Easy to use and quick to get started

The process supports design scales of 300

devices or 1000 pads

Supports simple circuit simulation

For students, teachers, creators

Completed

PRO MakerLab Taishan Pi -6 inch cat screen adapter board

Taishan Pi -6 inch cat screen adapter board

Project tags

License

Public Domain

License: Public Domain

Mode:

Mode

Editors' pick

Editors' pick

  • 71
  • 0
  • 0
Update time: 2024-12-12 01:54:27
Creation time: 2024-12-11 02:57:11
Description

Description

Adapter board for Taishan pie-6 inch cat screen.

The package has been modified to facilitate manual soldering with an electric soldering iron.

The board area has been changed to a smaller size,

The position of the seat corresponds to the direction of the screen and the direction of the Taishan Pi, if you connect to the Taishan faction, you can choose the 31P 0.3mm spacing cable in the same direction, and the 6P 0.5mm spacing cable in the same direction.

6 inch 720*1280, with touch, 0-1-2-clk, 49.9 free shipping. (The actual situation may change, subject to the actual order)
At present, the screen display and touch have been successfully driven, and you can directly replace the file according to the document prompts.

Baidu cloud screen information update||Taishan Pi drive part updated||Baidu Cloud Screen/Enclosure 3D Model/Test Firmware||Quark screen test firmware

Taobao screen purchase link||Taobao BTB seat purchase link||Taobao 31P co-directional 0.3mm pitch cable purchase link

The seat is optional, and you can also directly purchase the finished adapter board, and the seller has already made the adapter board.
Place an order and chat privately with the seller: Sakura cat, send a matching seat.

Screen section driver modifications:

Download the attachment and unzip it, place the /tspi-disp-6-master/tspi-rk3566-dsi-v10.dtsi file in the following folder and replace the file.

/tspi_linux_sdk/Release/kernel/arch/arm64/boot/dts/rockchip/tspi-rk3566-dsi-v10.dtsi

The replacement file has already modified the initialization code and backlight control of the driver screen, etc., and there is no need to manually modify it.

Find the tspi-rk3566-user-v10-linux.dts file in the same folder, open and edit it to the following to enable the dsi screen, otherwise the mipi screen will not be displayed.

//[On/Off] MIPI display screen configuration, users can copy their own screen based on this, note that EDP and MIPI screen are mutually exclusive, because the shared VOP needs to be modified by themselves if the same display is needed.
#include "tspi-rk3566-dsi-v10.dtsi"

 

Touch Section Driver Modifications:

Copy the /tspi-disp-6-master/gt9xx folder in the attachment up to the following and replace it.

/tspi_linux_sdk/Release/kernel/drivers/input/touchscreen/gt9xx

Then recompile the kernel separately, flash boot.img separately, and wait for a few minutes after the system initialization is completed before you can use the screen.

If you do not modify it, you can use it by touching, but the displacement is not allowed.

Taishan pi comes with Android system,Test the screen,You can flash the boot.img of the attachment directly into the factory system.
Linux is also available, sharing a boot.img.

Boot.img and the full firmware can be downloaded from Baidu Cloud or Quark.

 

Screen Rotation 90 Degree Modification:

The section in the /tspi_android_sdk/device/rockchip/common/BoardConfig.mk file is changed to the following:

    #rotate screen to 0, 90, 180, 270
    #0:   ROTATION_NONE      ORIENTATION_0  : 0
    #90:  ROTATION_RIGHT     ORIENTATION_90 : 90
    #180: ROTATION_DOWN    ORIENTATION_180: 180
    #270: ROTATION_LEFT    ORIENTATION_270: 270
    # For Recovery Rotation
    TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT    //The screen is rotated 90 degrees

    # For Surface Flinger Rotation
    SF_PRIMARY_DISPLAY_ORIENTATION := 90   //The screen is rotated 90 degrees

Note: The red part needs to be changed to :=, otherwise the rotation will not work if it is still !=.

Next, you need to modify the touch, so that the touch also rotates 90 degrees with it, otherwise the screen direction is changed, but the touch is incorrect.

In/tspi_linux_sdk/Release/kernel/drivers/input/touchscreen/gt9xx/gt9xx. C file search within 911, change the file to the following content:

else if (val == 911)
    {
        m89or101 = FALSE;
        bgt911 = TRUE;
        gtp_change_x2y = FALSE;     //Whether to switch the x and y axes
        gtp_x_reverse = TRUE;         //Whether to flip the X-axis
        gtp_y_reverse = FALSE;        //Whether to flip the Y-axis
    }

Then recompile Android and kernel.

 

Start Logo Image Modification:

The picture file of the boot logo of Taishan Pi is a BMP file of 470*654 pixels, which needs to be edited and exported according to the requirements with PS or other picture editing software.

Note: It is not possible to modify the suffix directly, and an error will be reported when compiling.
You can replace the original file by putting the modified image file into /tspi_android_sdk/Release/kernel/.

logo_kernel.bmp
logo.bmp

If you need to change the rotation by 90 degrees, you can directly rotate the file and export it for replacement when editing the file.

At present, according to the above search scheme, add logo, rotate = <1>; Invalid.

 

Preset APK:

After compiling Android, check the directory you need to add the app, and enter in the command prompt:
get_build_var TARGET_DEVICE_DIR
Generally, this location is /tspi_android_sdk/device/rockchip/rk356x/rk3566_tspi/, and three new folders are created in this directory
preinstall                        //cannot uninstall apps
preinstall_del_forever    //Uninstall the app
preinstall_del                //After uninstalling, restore the app to factory settings
You can put the APK that needs to be preset into the corresponding new folder, no need to manually add the mk file, and then recompile Android separately.
If it goes well, the corresponding APK folder and mk file will be automatically generated in the newly created folder.

And the following directories will automatically generate files with corresponding names.

/tspi_android_sdk_20230916/out/target/product/k3568_tspi/obj/APPS/application signature is preset

 

Partial troubleshooting solutions:

Side line inconsistencies and screen shake solutions:

If you encounter a line on the side of the screen that is not parallel to the other parts, or the screen shakes,

The /tspi_linux_sdk/Release/kernel/arch/arm64/boot/dts/rockchip/tspi-rk3566-dsi-v10.dtsi file needs to be modified.

It may be caused by the fact that the corresponding value is smaller.

hactive = ;
hfront-porch = ;
hback-porch = ;
hsync-len = ;
vactive = ;
vfront-porch = ;
vback-porch = ;
vsync-len = ;

Then recompile the kernel.

Only the backlight is on, the screen is not:

This situation is generally caused by the connection of the screen adapter board, which can be solved after repair soldering, and more flux can be added.

Note: Measuring with a multimeter, may not be accurate, because it is a small distance of virtual welding caused by data can not be transmitted normally, when measuring with a multimeter, when the meter needle is pressed, just the gap is not pressed, and the measurement is turned on, but after taking the meter head, it continues to be disconnected.

Hot backlight:

Under normal circumstances, the screen will not get hot.

If you are hot, you can modify the code of the backlight pwm control part in /tspi_linux_sdk/Release/kernel/arch/arm64/boot/dts/rockchip/tspi-rk3566-dsi-v10.dtsi to limit the current.

The maximum current of the screen is 20mA, too high will cause the backlight to be hot or burn the backlight, after burning, you can only remove the backlight and replace the LED lamp beads.

The default maximum output of Taishan Pi is 110mA, and the maximum value of limited PWM is 20/110*255≈46.

This will not happen after replacing the file provided by the cat.

Backlight driver hot/screen shaking:

Under normal circumstances, the screen driver will not be hot, and it will be warm to the touch, and it will not be hot to the touch.

If it is hot, it should be that the backlight pin of the screen adapter board has been short-circuited, which causes the parameters of the boost inductor of the backlight driver to change, and then it is hot.

After the value of the inductance changes, it may affect the display of the screen, resulting in the screen still shaking even if the screen driving parameters are all normal, and it will not shake after changing to a Tarzan pi.

In both cases, the inductor of the backlight driver can be replaced.

The inductor needs to be in a 1008 package, with an inductance of 10uH and a current of more than 800mA.

Here's a partial display:

Design Drawing

Design Drawing

schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
Empty
Project Attachments

Project Attachments

Project Members

Project Members

Target complaint
Related Projects
Change a batch
Loading...

Comment

Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn