CN105304067B - A kind of method of transmission MIPI module individual picture control routines - Google Patents

A kind of method of transmission MIPI module individual picture control routines Download PDF

Info

Publication number
CN105304067B
CN105304067B CN201510615819.3A CN201510615819A CN105304067B CN 105304067 B CN105304067 B CN 105304067B CN 201510615819 A CN201510615819 A CN 201510615819A CN 105304067 B CN105304067 B CN 105304067B
Authority
CN
China
Prior art keywords
byte
data
mipi
signal generator
individual picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510615819.3A
Other languages
Chinese (zh)
Other versions
CN105304067A (en
Inventor
李昂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Jingce Electronic Group Co Ltd
Original Assignee
Wuhan Jingce Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Jingce Electronic Technology Co Ltd filed Critical Wuhan Jingce Electronic Technology Co Ltd
Priority to CN201510615819.3A priority Critical patent/CN105304067B/en
Publication of CN105304067A publication Critical patent/CN105304067A/en
Application granted granted Critical
Publication of CN105304067B publication Critical patent/CN105304067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

A kind of method of transmission MIPI module individual picture control routines disclosed by the invention, it comprises the following steps, step 1:Editor control code file and preserved in the individual picture parameter editing interface of host computer;Step 2:When performing the individual picture switching action, hexadecimal data that host computer can identify the control routine document analysis of the individual picture into picture signal generator and according to the protocol encapsulation that picture signal generator can identify into UDP message bag;Step 3:UDP message bag after encapsulation is issued in MIPI modules to be measured by picture signal generator.The present invention can the control routines of flexible compatible various model MIPI modules issue demand, reduce the version quantity and upgrading number of picture signal generator SCM program.

Description

A kind of method of transmission MIPI module individual picture control routines
Technical field
The invention belongs to display module detection technique field, and in particular to one kind sends MIPI (Mobile Industry Processor Interface, mobile communications industry processor interface) display module individual picture control routine method.
Background technology
At present, the MIPI modules of part producing line will carry out some special tests after ignition, such as in sleep pattern For lower testing power consumption etc., it is necessary to be controlled issuing for code in real time during figure is cut, its implementation process is to pass through host computer Burst of data (such as power supply setting, common electric voltage setting, sequential setting, module identification number, gal are write to the register of MIPI modules The information such as horse parameter), display module is then issued to again.Control routine corresponding to the MIPI modules of different model is different, The control routine that same model MIPI modules carry out corresponding to different tests also differs, so needing specific control routine Correspond to therewith.
MIPI modules cut the processing work of control routine needed for figure test in the single-chip microcomputer of picture signal generator at present Interior completion, the drawbacks of being primarily present the following aspects:
(1) SCM program realizes the compatibility of different control routines, and it is inconvenient to safeguard, can not the change of quick response customer demand More;
(2) ever-increasing MIPI modules type and test event type cause SCM program version numerous, it has not been convenient to Management;
(3) the picture signal generator quantity of module producing line is big, and upgrading SCM program workload is heavy.
The content of the invention
In view of the shortcomings of the prior art, various model MIPI modules be can be suitably used for it is an object of the invention to provide a kind of The method of individual picture real time down control routine, solve currently in order to tackling different model MIPI modules and frequently changing monolithic The problem of machine program.
A kind of in order to solve the above technical problems, side of transmission MIPI module individual picture control routines disclosed by the invention Method, it comprises the following steps:
Step 1:Editor control code file and preserved in the individual picture parameter editing interface of host computer;
Step 2:When performing the individual picture switching action, host computer is by the control routine file of the individual picture It is parsed into the hexadecimal data that picture signal generator can identify and the protocol encapsulation that can be identified according to picture signal generator Into UDP message bag;
Step 3:UDP message bag after encapsulation is issued in MIPI modules to be measured by picture signal generator.
In such scheme, the edit format of control routine file described in step 1 is:Rxx xx xx xx xx ..., Delay xx, wherein, R represents the register of MIPI modules, and the xx that R is followed by represents the register address of MIPI modules, All xx after MIPI module register address represent the data that write in the MIPI module registers;Delay xx represent to prolong When the xx seconds.
In such scheme, hexadecimal data described in step 2 includes the first character section of two segment datas, wherein first paragraph Represent that notification image signal generator issues parameter, second byte representation MIPI to be measured of first paragraph with what type of instruction The register address of module, the data length behind the 3rd byte representation of first paragraph, the 4th byte of first paragraph start Represent data;Second segment data represent that notification image signal generator performs delay operation and delay time.
In such scheme, preceding 2 bytes of agreement described in step 2 are protocol command word 0x02,0x50, the 3rd byte and 4th byte is the length of packet, and the 5th byte and the 6th byte are the total length of the hexadecimal data, the 7th byte and the 8th Byte is start byte of the data in the hexadecimal data in packet, and the 9th byte to the 251st byte is filling institute State the data field of hexadecimal data.
In such scheme, the step 3 still further comprises, described in the ARM nucleus modules reception of picture signal generator UDP message, the UDP message is then sent to MIPI modules to be measured by the single-chip microcomputer of picture signal generator.
Relative to prior art, beneficial effects of the present invention:
1) control routine of prior art is added in the SCM program of picture signal generator, per newly plus a MIPI modules are it is necessary to go out the SCM program of a version, and the control routine of the present invention is in host computer upper level applications Interior realization, without changing SCM program, reduce the SCM program version quantity of picture signal generator, convenient management;
2nd, prior art often goes out the SCM program of a version, and picture signal generator will upgrade the list of original early version Piece machine program, because picture signal generator is large number of, upgrading expends the time, and the present invention only need to be in host computer upper layer application The different MIPI control routine files of addition in program, it is not necessary to upgrade SCM program, reduce picture signal generator Single-chip microcomputer upgrades number, saves the time;
3rd, the present invention need not add control routine logical process as prior art in SCM program, reduce The SCM program size of code of picture signal generator;
4th, MIPI control routine files are employed in the present invention, this document has stronger scalability.
Brief description of the drawings
Fig. 1 is the flow chart that the present invention sends MIPI module individual picture control routines
Fig. 2 be the present invention based on equipment structural representation
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
The equipment that the present invention is based on is as shown in Fig. 2 host computer, picture signal generator and MIPI including being sequentially connected Module, wherein, picture signal generator includes ARM (Advanced RISC Machines) nucleus modules and single-chip microcomputer.
The implementation of the present invention is that host computer passes through host computer by network connection picture signal generator, user Individual picture parameter editing interface is performing MIPI module displays pictures according to specific format editing MIPI control routine files During switching, host computer procedure is by the control routine document analysis of the individual picture into the monolithic function in picture signal generator The hexadecimal data of identification and according to the identification of monolithic function protocol encapsulation into UDP message bag, then ARM nucleus modules are read Corresponding UDP message is simultaneously sent to single-chip microcomputer, by the real time down of chip microcontroller MIPI module individual picture control routines, and Single-chip microcomputer is no longer responsible for issuing the logical process of data.
A kind of method of transmission MIPI module individual picture control routines disclosed by the invention, specifically comprises the following steps:
Step 1:Host computer is by network connection picture signal generator, and before individual picture test, user is upper According to testing requirement, (such as power supply is set, common electric voltage is set, sequential is set, mould in the parameter editing interface of the individual picture of machine Group identification number, the information such as gamma parameter) individual picture to be measured to each be controlled code file (.spc files, The abbreviation of single picture individual picture files) editor, and the control routine file editted is preserved, preserved Control routine file afterwards can be bound with corresponding individual picture.
The edit format of above-mentioned .spc individual pictures control routine file is:
Rxx xx xx xx xx ..., Delay xx, wherein, R represents MIPI module registers, and the xx that R is followed by is represented MIPI module register address, all xx after MIPI module register address represent to write in the MIPI module registers Data;Delay xx represent the delay xx seconds.
Embodiment:Configure the power information " 3C of 05 C0 E0 of RBA, 62 D3 81 35 of MIPI modules individual picture to be measured 01 06, Delay 100ms ".
The meaning that " 3C 01 06 of 05 C0 E0 of RBA, 62 D3 81 35 " is represented is by 0x05 0xc0 0xe0 0x62 This 10 data of 0xd3 0x81 0x35 0x3c 0x01 0x06 sequentially write BA registers, and after write-in, module can is matched somebody with somebody Put correct module power supply output;" Delay 100ms ", represent that 100 milliseconds of delay carries out other operations again.
Step 2:When performing the individual picture switching action, host computer is literary by above-mentioned .spc individual pictures control routine Part is parsed into the hexadecimal data of the monolithic function identification in picture signal generator, and according in picture signal generator The protocol encapsulation of monolithic function identification is into UDP message bag.
In such scheme, the hexadecimal data includes two segment datas, and the wherein first character section of first paragraph represents to accuse Know that picture signal generator issues parameter with what type of instruction, second byte representation MIPI modules to be measured of first paragraph Register address, the data length behind the 3rd byte representation of first paragraph, the 4th byte of first paragraph start to represent number According to;Second segment data represent that notification image signal generator performs delay operation and delay time.
Embodiment:By power information " 05 C0 E0 of RBA, 62 D3 81 35 3C 01 06, Delay of individual picture 100ms " is converted into the hexadecimal data of the monolithic function identification in picture signal generator:By " the C0 E0 62 of RBA 05 The 3C 01 06 of D3 81 35 " are converted to " 0x39 0xBA 0x0A 0x05 0xC0 0xE0 0x62 0xD3 0x81 0x35 0x3C 0x01 0x06 ", " 0x39 " informs that single-chip microcomputer issues parameter with what type of instruction, and 0xBA is register address, 0x0A is data length below, followed by 10 bytes be data content;By " Delay 100ms " are converted to " 0x00 0x00 0x02 0x64 0x00 ", " 0x00 0x00 0x02 " inform that single-chip microcomputer performs delay operation, and byte representation below prolongs When the time.
In such scheme, protocol definition is as follows used by the hexadecimal data is packaged into UDP message bag:It is described Preceding 2 bytes of agreement are protocol command word 0x02,0x50, the 3rd byte and the length that the 4th byte is packet, the 5th byte and 6th byte is the total length of the hexadecimal data, and the 7th byte and the 8th byte are data in packet described 16 Start byte in binary data, the 9th byte to the 251st byte are to fill the data field of the hexadecimal data.
In such scheme, due to not being by data length of the individual picture control routine document analysis into hexadecimal data Fixed, if it exceeds the maximum length of data field is, it is necessary to carry out divided stator frame, so needing 5-6 padding bytes hexadecimals The total length of data, 7-8 bytes indicate position of the current subpackage in total data bag, facilitate ARM to be re-grouped package.
Step 3:UDP message bag after encapsulation is issued in MIPI modules to be measured by picture signal generator.
Such scheme still further comprises, and the ARM nucleus modules of picture signal generator receive the UDP message, then The UDP message is sent to MIPI modules to be measured by the single-chip microcomputer of picture signal generator.
The content that this specification is not described in detail belongs to prior art known to professional and technical personnel in the field.

Claims (6)

  1. A kind of 1. method of transmission MIPI module individual picture control routines, it is characterised in that it comprises the following steps:
    Step 1:Editor control code file and preserved in the individual picture parameter editing interface of host computer;
    Step 2:When performing the individual picture switching action, host computer is by the control routine document analysis of the individual picture The hexadecimal data that can be identified into picture signal generator and according to the protocol encapsulation that picture signal generator can identify into UDP Packet;
    Step 3:UDP message bag after encapsulation is issued in MIPI modules to be measured by picture signal generator;
    Preceding 2 bytes of agreement described in step 2 are protocol command word 0x02,0x50, and the 3rd byte and the 4th byte are packet Length, the 5th byte and the 6th byte are the total length of the hexadecimal data, and the 7th byte and the 8th byte are in packet Start byte of the data in the hexadecimal data, the 9th byte to the 251st byte is fills the hexadecimal data Data field;
    If the data length of the hexadecimal data exceedes the maximum length of the data field, it is necessary to carry out divided stator frame, The then total length for the hexadecimal data that ARM indicates according to the 5th byte and the 6th byte, and the 7th byte and the 8th byte Position of the current subpackage indicated in the hexadecimal data is re-grouped package.
  2. A kind of 2. method of transmission MIPI module individual picture control routines according to claim 1, it is characterised in that step The edit format of control routine file is described in rapid 1:Rxx xx xx xx xx ..., Delay xx, wherein, R represents MIPI moulds Group register, the xx that R is followed by represent MIPI module register address, and all xx after MIPI module register address are represented The data write in the MIPI module registers;Delay xx represent the delay xx seconds.
  3. A kind of 3. method of transmission MIPI module individual picture control routines according to claim 1, it is characterised in that step Hexadecimal data described in rapid 2 includes two segment datas, and the wherein first character section of first paragraph represents that notification image signal occurs Device issues parameter with what type of instruct, the register address of second byte representation MIPI modules to be measured of first paragraph, the Data length behind one section of the 3rd byte representation, the 4th byte of first paragraph start to represent data;Second segment data Represent that notification image signal generator performs delay operation and delay time.
  4. A kind of 4. method of transmission MIPI module individual picture control routines according to claim 3, it is characterised in that institute The first character section for stating first paragraph is 0x39.
  5. A kind of 5. method of transmission MIPI module individual picture control routines according to claim 1, it is characterised in that institute State step 3 to still further comprise, the ARM nucleus modules of picture signal generator receive the UDP message, then by the UDP Data are sent to MIPI modules to be measured by the single-chip microcomputer of picture signal generator.
  6. 6. a kind of method of transmission MIPI modules individual picture control routine according to claim 1-5 any one, its It is characterised by, the power supply that the control routine file includes corresponding individual picture is set, common electric voltage is set, sequential is set, mould Group identification number or gamma parameter information.
CN201510615819.3A 2015-09-24 2015-09-24 A kind of method of transmission MIPI module individual picture control routines Active CN105304067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510615819.3A CN105304067B (en) 2015-09-24 2015-09-24 A kind of method of transmission MIPI module individual picture control routines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510615819.3A CN105304067B (en) 2015-09-24 2015-09-24 A kind of method of transmission MIPI module individual picture control routines

Publications (2)

Publication Number Publication Date
CN105304067A CN105304067A (en) 2016-02-03
CN105304067B true CN105304067B (en) 2017-11-28

Family

ID=55201241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510615819.3A Active CN105304067B (en) 2015-09-24 2015-09-24 A kind of method of transmission MIPI module individual picture control routines

Country Status (1)

Country Link
CN (1) CN105304067B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9083958B2 (en) * 2009-08-06 2015-07-14 Qualcomm Incorporated Transforming video data in accordance with three dimensional input formats
US9131279B2 (en) * 2009-08-06 2015-09-08 Qualcomm Incorporated Preparing video data in accordance with a wireless display protocol
CN104318882A (en) * 2014-11-10 2015-01-28 京东方科技集团股份有限公司 Display module testing equipment
CN104714914B (en) * 2015-04-02 2017-07-21 武汉精测电子技术股份有限公司 MIPI liquid crystal module initiated configuration methods

Also Published As

Publication number Publication date
CN105304067A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN104714914B (en) MIPI liquid crystal module initiated configuration methods
CN204360056U (en) A kind of novel liquid crystal display screen test machine
CN104866423B (en) The test method and system of a kind of software configuration item
CN110349618A (en) A kind of flash reliability test system and test method based on FPGA
CN107656882A (en) A kind of USB controller verification method, system and equipment
CN105067930A (en) Test method and system of automatic test platform
CN105304067B (en) A kind of method of transmission MIPI module individual picture control routines
CN115016751A (en) Method, system, device, storage medium and electronic equipment for displaying content
CN104793081A (en) USB (universal serial bus) interface detection device and method
CN104808961B (en) The scripting adjusting method of display interface module parameter
CN108200345A (en) High speed real-time multichannel video acquisition processing unit
CN103576019B (en) Testing tool, system and method of electrical equipment
CN103544079B (en) Flash memory chip data recovery achieving system and method based on programmable logic controller
CN216700149U (en) Image output control system based on android system
CN207557362U (en) A kind of full production cycle automatic test device of distribution terminal
CN104849885B (en) The integrated apparatus and method of liquid crystal module test are realized based on industrial computer
CN103595926B (en) A kind of distributed image Fusion Edges processing system
CN206249291U (en) A kind of MHL data wires detector
CN104464629A (en) Compensation method for display result of display screen
CN205210586U (en) System for read HART instrument parameter through USB interface
CN206411657U (en) A kind of board monitoring system based on FPGA
CN201741145U (en) Automatic mobile phone software testing device
CN110018854A (en) A kind of firmware matching process, equipment and computer readable storage medium
CN107703786A (en) Multi-path electricity, which is adjusted, docks conversion monitoring method and apparatus with the data between main control device
CN210829684U (en) Electric compressor operation information acquisition control device and electric compressor debugging system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 430070 Hubei City, Hongshan Province, South Lake Road, No. 53, Hongshan Venture Center, building on the 4 floor, No.

Patentee after: Wuhan fine test electronics group Limited by Share Ltd

Address before: 430070 Hubei City, Hongshan Province, South Lake Road, No. 53, Hongshan Venture Center, building on the 4 floor, No.

Patentee before: Wuhan Jingce Electronic Technology Co., Ltd.