Hide thumbs Also See for S720:

Advertisement

Quick Links

LCD Commissioning Guide
Issue 1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S720 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Neoway S720

  • Page 1 LCD Commissioning Guide Issue 1.0...
  • Page 2 THIS GUIDE PROVIDES INSTRUCTIONS FOR CUSTOMERS TO DESIGN THEIR APPLICATIONS. PLEASE FOLLOW THE RULES AND PARAMETERS IN THIS GUIDE TO DESIGN AND COMMISSION. NEOWAY WILL NOT TAKE ANY RESPONSIBILITY OF BODILY HURT OR ASSET LOSS CAUSED BY IMPROPER OPERATIONS. THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE DUE TO PRODUCT VERSION UPDATE OR OTHER REASONS.
  • Page 3: Table Of Contents

    3.2 Modifying the LCD Driver File ...................... 9 3.3 Referencing the LCD Driver File ....................11 4 Timing Description ................... 13 4.1 Generating Timing ........................13 4.2 Confirming Timing ........................15 Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 4 S720 LCD Commissioning Guide About This Document About This Document Scope This document is applicable to the S720 series. It describes how to configure the LCD drivers. Audience This document is intended for system engineers (SEs), development engineers, and test engineers.
  • Page 5: Lcd Architecture Overview

    DPU retrieves the data from the buffer, synthesizes it, and sends it to the DSI for packaging. The DPHY sends the packaged data to the panel through the MIPI bus for display, as shown below. The LCD driver addition process consists of two parts: u-boot and kernel. Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 6: U-Boot

    Configure the initialization code (provided by the module factory) using the following format: Step 4: Configure the front and rear porch parameters (the panel_info structure and parameters are provided by the panel manufacturer), as shown below. Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 7: Adding Macro Control For Lcd Compilation

    After adding and configuring the LCD driver file, you can open the added new LCD module in the board configuration file. Take the S720 project as an example. Find the configuration header file of the corresponding project in u-boot, and add the LCD compilation macro control: bsp\bootloader\u-boot15\include\configs\S720.h...
  • Page 8 LCD panel driver structure, which points to the driver structure. Associate the ⚫ driver structure with supported_panel. During startup, u-boot enumerates the display in this structure until the readid function of a driver returns success. Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 9: Modifying The Kernel

    Step 1: Rename all the original LCD related names in the old DTSI file. Replace them with xxx_st7703_xxx. Step 2: Configure the initialization code (provided by the module factory) using the following format: Step 3: Configure the DTS attributes. Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 10 LCD specifications. The sequence is LCD is turned off usually constant low. It is provided by the module factory sprd,initial-command LCD initialization code and filled based on the format. For details, see section 3.2. Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 11: Referencing The Lcd Driver File

    = "sprd,generic-mipi-panel"; #address-cells = <1>; #size-cells = <0>; reg = <0>; reset-gpio = <&ap_gpio 50 GPIO_ACTIVE_HIGH>; sprd,force-attached = "lcd_st7703_rt_mipi_hd"; port { reg = <1>; panel_in: endpoint { remote-endpoint = <&dphy_out>; Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 12 S720 LCD Commissioning Guide Chapter 3 Modifying the Kernel Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 13: Timing Description

    Therefore, after replacing the display module with the new one, if the resolution changes, make sure to notify Neoway technical support. Timing involves modifications of uboot and kernel. Taking the S720 project as an example: IC: LCD RuiHeng st7703 ⚫...
  • Page 14 = 64000000 // the unit in the code is bps ⚫ Then fill two clk values into uboot and kernel to verify the effect. The parameter correspondence is as follows: uboot: Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 15: Confirming Timing

    = <16>; vback-porch = <14>; vsync-len = <4>; 4.2 Confirming Timing After the above two timing clk values are filled, compiled and configured, confirm timing based on actual_fps after startup. Copyright © Neoway Technology Co., Ltd. All rights reserved.
  • Page 16 S720 LCD Commissioning Guide Chapter 4 Timing Description Criterion: The actual frame rate in the table should be consistent with that obtained through cat here. adb root adb shell cat /sys/class/display/dispc0/actual_fps Copyright © Neoway Technology Co., Ltd. All rights reserved.

Table of Contents