background image

 

VMAX-MIPI User’s Manual                                    50                                                                                Ver 1.20

 

BARUN Technology 
Corporation 

http://www.baruntechnik.com

 

 

3.1.8.

 

MIPI Read (mipi.read.iif) Example   

Instruction "mipi.read.iif" , *Only support scripts (ON/OFF/UP/DOWN/DEMO/F1/F2/F3/F4) 
 
!! In either "mipi.read.show" or "mipi.read.iif" can be used only one kind of command. 
 

 

      "mipi.read.show" use "mipi.read.iif" for the command result is cleared. 

 
Format mipi.read.iff [P1] [P2] [P3] [P4] [P5] [{P6}] [{P7}] [{P8}] [{P9}]; 
 
 

P1 : Read Buffer Table (0~3) 

 

P2 : Show Bytes count 

 

P3 : DCS Read command 

 

P4 : Read address 

 

P5 : Maximum read count 

 

P6 : Nickname of read address.    <- String {} 

 

 

(** Recommanded the 16Characters ) 

 

 

 

P7 : Compare Values <- { 256 Values /MAX } 

 

P8 : Match the read data and value when message. <- String {} 

 

 

(** Recommanded the 16Characters ) 

 

P9 : Mismatch the read data and value when message. <- String {} 

 

 

(** Recommanded the 16Characters ) 

 
 

#====MIPI READ IFF SET ========================== 

 

# Cyan, Black, Transparent, ArialBold22, Left-Top 

 

mipi.read.show.set 7 0 1 3 0;   

 

mipi.read.iif 0 0 0x06 0xE1 5    {DEVICE ID =} {0x01 0x02 } {ID Code OK} {ID Code NG}; 

 

mipi.read.iif 1 0 0x06 0xE2 5    {DEVICE ID =} {0x00 0x00} {ID Code OK} {ID Code NG}; 

 

mipi.read.iif 2 0 0x06 0xE2 5    {GAMMA =} {0x00 0x00 0x00 0x00 0x00 0x00}; 

 

mipi.read.iif 3 0 0x06 0xE2 5; 

 

#================================================== 

 

DEVICE ID = ID Code NG 
DEVICE ID = ID Code OK 
GAMMA = 00 00 00 00 00 
00 00 00 00 00 

Summary of Contents for VMAX-MIPI

Page 1: ...2015 BARUN Technology Co Ltd LEE BYUNG KWON VMAX MIPI USER S MANUAL This document is provided to whom bought VMAX MIPI of BARUN Technology...

Page 2: ...VMAX MIPI User s Manual Ver 1 20 BARUN Technology Corporation http www baruntechnik com...

Page 3: ...VMAX MIPI User s Manual Ver 1 20 BARUN Technology Corporation http www baruntechnik com Version 1 20 May 15 2015 BARUN Technology Corporation http www baruntechnik com...

Page 4: ...VMAX MIPI User s Manual Ver 1 20 BARUN Technology Corporation http www baruntechnik com...

Page 5: ...command add dm600 auto detection internal function May 25 2013 Revision 1 4 dm600 dsoc x command add Chapter3 dm600 dsic command add Chapter3 rgb dclk rgb vsync rgb hsync command add Chapter 3 var1 wr...

Page 6: ...erView window update Image wait time filed May 15 2015 Revsion 1 20 Commands add of Chapter 3 dvm measure set 1 2 voutcalibration 1 2 pwr current span 1 2 gpio mode 4 5 6 SectionGPIO 4 5 6 EndOfSectio...

Page 7: ...e 41 3 1 3 MIPI FHD Bridge LP Command Example 42 3 1 4 MIPI FHD Bridge Read Operation Example Command mode 43 3 1 5 SPI Bridge Read Operation Example 44 3 1 6 MIPI FHD Image types 44 3 1 7 Auto conver...

Page 8: ...VMAX MIPI User s Manual Ver 1 20 BARUN Technology Corporation http www baruntechnik com...

Page 9: ...ammable power outputs All power channels are measured in real time Bundle software which provided is proper with Windows XP or Windows 8 That software called VMAX_Terminal VMAX_Terminal can control VM...

Page 10: ...l HD HDMI 29Pin con Max 1Gbps 4 Lane Model change USB download USB 2 0 Moving picture Available H264 ES Format support Output Power Power 1 1 2V 9V 0 1V step Power 2 1 2V 9V 0 1V step Power 3 1 2V 9V...

Page 11: ...tion http www baruntechnik com 1 4 Equipment overview 1 4 1 Power Jack USB Jack MIPI FHD Port side Reset button MIPI FHD connector USB connector DC power input and Power ON OFF switch are placed at fr...

Page 12: ...VMAX MIPI User s Manual 4 Ver 1 20 BARUN Technology Corporation http www baruntechnik com 1 4 2 Top side There are two line character LCD and 5 color LED VMAX s status displayed at line character...

Page 13: ...ename copy save z uSD Card Memory Check function z Remote power monitoring z Windows editor software define z A fixed typical pattern support z Display Firmware Version Serial Number Model Name z Disp...

Page 14: ...orporation http www baruntechnik com 2 1 Installation VMAX installation is very easy Just click VMAX_Term_Setup exe in CD ROM When user click VMAX_Terminal_Setup exe setup program make directory C VMA...

Page 15: ...ation This window is VMAX model serial number firmware version Button for Firmware Update to firmware change Model catalog Download Delete Model of this window within the VMAX DownLoad button a list o...

Page 16: ...window showing mSD button is pressed this information can be confirmed Remote Keypad Operation message OPERATION is 3 status of READY ON SELECT When the READY state VMAX ON key is pressed once ME mea...

Page 17: ...reated or copied the Compile to SAVE to Data can be read by double clicking on the list Sync Parameters 1 Resolution 2 LP Clk Low power mode clock for commend sending 3 DOT Clk base clock frequency fo...

Page 18: ...e RGB or GRB 11 Fan Out Set Fan out of RGB data line of the processor 12 Set power channel Set channel name voltage currnet 13 Set voltage of general purpose I O Power settings This section to set the...

Page 19: ...Port Reconnection ICON Save information the editor software Browse editor software ICON Power Monitor window open ICON Terminal program quit ICON Gives five command editor to open the linked file Eac...

Page 20: ...age 6 Remove All Remove all images in the list 7 List Mouse Right click the Wait time set Test Patters add Double click Image List window shows registered test images When you select any test image na...

Page 21: ...nload model data to SD card of VMAX MIPI 15 model data could be store to SD card Select number from 1 to 15 and click DownLoad Now a window popped titled Select MIPI FHD Mode User select can select mo...

Page 22: ...Corporation http www baruntechnik com A Select main module data and click Model button B Select data type among ALL DATA Image Information Instruction C Chose main model data what you want to downloa...

Page 23: ...odule connector pin 24 ON 1 or OFF 0 1 10 mipi gpio5 Set module connector pin 25 ON 1 or OFF 0 1 11 mipi gpio6 Set module connector pin 26 ON 1 or OFF 0 1 12 mipi write Send MIPI packet 13 mipi read R...

Page 24: ...name display option 5 43 beep on Buzzer beep on Non 44 beep off Buzzer beep off Non 45 mipi write var1 Send MIPI packet with variable data field set 46 var1 init Variable mipi data field initilize 3 4...

Page 25: ...control Non 78 KeyOff disable OFF Key press disable control Non 79 KeyDown enable DOWN PREV Key press enable control Non 80 KeyUp disable UP NEXT Key press disable control Non 81 KeyDown enable DOWN K...

Page 26: ...onGPIO Compare routine end of gpio 4 5 6 1 104 var1 mipi write var1 value mipi write command Non 105 mipi sleep enable Enter Ultra Low power state Non 106 mipi sleep disable Exiting from the ULPS Non...

Page 27: ...urst pulse video mode image display number Description Display specific image number image first Description Display first image image next Description Display next image image prev Description Displa...

Page 28: ...eter 2 for generic packet parameter 1 for DCS packet Receive Data None mipi read di para1 para2 data0 data1 Description request BTA and Read mipi packet Parameters 3 parameter value di Data Identifier...

Page 29: ...one Receive Data None mipi board off Description Bridge board shutdown Parameters Non Receive Data None mipi board rest or board reset Description Bridge board reset Parameters Non Receive Data None m...

Page 30: ...a None mipi gpio4 para Description Set Module connector pin 24 level control parameters 1 para 1 to ON 0 to OFF Receive Data None mipi gpio5 para Description Set Module connector pin 25 level control...

Page 31: ...Data None pwrbase off Description Set Bridge board control signal buffer power off parameters non Receive Data None rgb sync enable Description RGB data output enable parameters non Receive Data None...

Page 32: ...ne Receive Data None image name off Description Image file name display disable command parameters None Receive Data None image name P1 P2 P3 P4 P5 Description Image name display position font color s...

Page 33: ...is more than 2 then send long packet else send short packet parameter value Variable field Following the data of a continuous variable to specify the location of the data di Data Identifier Para1 para...

Page 34: ...e parameters 1 para 1 decrease value Receive Data None var1 write Description Variable latest data send command parameters None Receive Data None var1 print on Description Variable data packets displa...

Page 35: ...set command parameters 5 parameter value P1 Font Color BLACK 0 RED 1 GREEN 2 BLUE 3 WHITE 4 YELLOW 5 CYAN 6 MAGENTA 7 P2 BackGround Color BLACK 0 RED 1 GREEN 2 BLUE 3 WHITE 4 YELLOW 5 CYAN 6 MAGENTA 7...

Page 36: ...r CLK channel Para2 A channel skew control reg 19h Range 0 7 LVDS input skew control for channel A Para3 B C channel skew control reg 1ah Bit 6 4 Range 0 7 LVDS input skew control for channel B Bit 2...

Page 37: ...on http www baruntechnik com Receive Data None dm600 dsic para1 para2 para3 para4 Description Send dm600 sub card skew register control packet Parameters any bytes of SPI data parameter value Para1 LV...

Page 38: ...VMAX MIPI User s Manual 30 Ver 1 20 BARUN Technology Corporation http www baruntechnik com Para3 LVDS O Ps available after TCLK cycle reg 1fh Para4 LVDS Output Enable Disable reg 1eh Receive Data None...

Page 39: ...back porch front porch Description RGB vsync parameter change command parameters 3 Receive Data None rgb hsync pulse width back porch front porch Description RGB hsync parameter change command paramet...

Page 40: ...2 P3 P4 Description mipi LP Timing for delay parameters 4 parameter value P1 TLPX TLPX is half period of lp_clk P2 TA GO Timing P3 TA GET Timing P4 TA SURE Timing mipi timing data P1 P2 P3 P4 Descript...

Page 41: ...K TRAIL P4 CLK PRE P5 CLK POST mipi read show Buffer ShowBytes di para1 para2 data0 data1 Description request BTA and Read mipi packet Parameters 6 parameter value Buffer Read Buffer number 0 3 ShowBy...

Page 42: ...or BLACK 0 RED 1 GREEN 2 BLUE 3 WHITE 4 YELLOW 5 CYAN 6 MAGENTA 7 P2 BackGround Color BLACK 0 RED 1 GREEN 2 BLUE 3 WHITE 4 YELLOW 5 CYAN 6 MAGENTA 7 P3 Transparent option 0 Disable 1 Enable P4 Image N...

Page 43: ...ize Para3 Nickname string ex DEV ID Para4 Compare datas ex 0x00 0x01 Para5 Message the Compare and read data matched ex Good Para6 Message of compare and read data mismatched ex Fail Receive Data any...

Page 44: ...ble Description DOWN PREV key pad press control command parameters Non Receive Data None KeyDemo enable disable Description DEMO key pad press control command parameters Non Receive Data None KeyF1 F4...

Page 45: ...one gpio mode 4 5 6 Description GPIO port 4 5 6 input output mode control command parameters 1 Receive Data None var1 mipi write Description var1 value to mipi write execute command parameters None Re...

Page 46: ...e executable KeyDown run Description Key Down script running command parameters None Receive Data None This command is turned on when the executable KeyF1 run Description Key F1 script running command...

Page 47: ...ser s Manual 39 Ver 1 20 BARUN Technology Corporation http www baruntechnik com KeyF4 run Description Key F4 script running command parameters None Receive Data None This command is turned on when the...

Page 48: ...ting mipi board reset MIPI Bridge Reset wait 100 mipi gpio2 0 wait 10 mipi gpio2 1 wait 10 mipi dsi 4 500 burst Initializatin Display on DCS Short Packet 0x05 Commands mipi write 0x05 0x11 wait 100 mi...

Page 49: ...it 250 mipi board on MIPI Bridge Operating mipi board reset MIPI Bridge Reset wait 100 mipi gpio2 0 wait 10 mipi gpio2 1 wait 10 mipi dsi 4 500 command mipi clock enable mipi hs enable Initializatin D...

Page 50: ...ase on wait 250 mipi board on MIPI Bridge Operating mipi board reset MIPI Bridge Reset wait 100 mipi gpio2 0 wait 10 mipi gpio2 1 wait 10 mipi dsi 4 500 command mipi clock enable Initializatin Display...

Page 51: ...ode The Turn ON to mipi read command STEP 1 LCD Module Turn ON 1 Model Select 2 ME Key press 3 ON Key press STEP 2 Execute Command Line 1 COMMAND Line input mipi read 0x06 0xb0 6 2 Enter to send packe...

Page 52: ...m 3 1 5 SPI Bridge Read Operation Example MIPI Bridge device read function first byte the register address second byte must be 0xFA 3 1 6 MIPI FHD Image types 24 bit 888 Transfer image data by 24 bit...

Page 53: ...VMAX MIPI User s Manual 45 Ver 1 20 BARUN Technology Corporation http www baruntechnik com 16 bit 565 Transfer image data 16 bit 565 one times Connected to CELL data bit 0 15...

Page 54: ...Terminal button click the convert and error check start If an error occurs the extension err is open the file automatically Refer to this file please modify the init code Example Error code Error code...

Page 55: ...redundant ex wait 10 wait 10 Error occurs error 3 The beginning of every command starts with a lowercase letter ex Error Wait 10 4 Tags in Hanzhong and should not be used to duplicate ex Error board...

Page 56: ...nable mipi video enable rgb sync enable mipi vieo disable mipi video disable rgb sync disable mipi video 320 480 50 14 10 14 10 Sync parameters update board power on xxx board power on vdd vio pwrport...

Page 57: ...ration http www baruntechnik com ELECS code gpio dir 0x04 then Bit 3 Masked gpio write 0x04 then GPIO2 pin output high level gpio write 0x00 delay 100 gpio write 0xff delay 100 VMAX convert pwrbase on...

Page 58: ...imum read count P6 Nickname of read address String Recommanded the 16Characters P7 Compare Values 256 Values MAX P8 Match the read data and value when message String Recommanded the 16Characters P9 Mi...

Page 59: ...gnore commands of SectionTRUE EndofSectionTRUE and SectionFALSE EndOfSectionFALSE Example2 Have not command mipi read iif only has command the SectionXXX mipi read iif 0 0 0x06 0xE1 5 ID 0x01 0x02 ID...

Page 60: ...nded the 16Characters P7 Compare Values 256 Values MAX P8 Match the read data and value when message String Recommanded the 16Characters P9 Mismatch the read data and value when message String Recomma...

Page 61: ...6 SubRoutine Example Example1 GPIO 4 Input and Level to HIGH SectionGPIO 4 beep 1000 beep 0 beep 1000 EndOfSectionGPIO 4 Example2 GPIO 5 Input and Level to HIGH SectionGPIO 5 beep 1000 beep 0 beep 10...

Page 62: ...I_CLKN DSI_CLKN DSI_CLKN DSI_CLKN 10 DSI_D2P DSI_D2P DSI_D2P DSI_D2P 11 GND GND GND GND 12 DSI_D2N DSI_D2N DSI_D2N DSI_D2N 13 DSI_D3P DSI_D3P DSI_D3P DSI_D3P 14 GND GND GND GND 15 DSI_D3N DSI_D2N DSI_...

Page 63: ...05h 29 DISPON Display on C 0 05h 34 TEOFF Tearing effect line off C 0 05h 38 IDMOFF Idle mode off C 0 05h 39 IDMON Idle mode on C 0 05h 04 RDDID Read Display Identification information R 3 06h 05 RDN...

Page 64: ...ic result R 1 06h 2E RAMRD Mrmory read R Variable 06h 3E RAMRDCON Mrmory read Continue R Variable 06h 5A RDFSVM Read FS value MSBs R 1 06h 5B RDFSVL Read FS value LSBs R 1 06h 5C RDMFFSVM Read median...

Page 65: ...ite CABC minimum brightness W 1 15h 30 PLTAR Partial start end address set W 4 39h 33 VSCRDEF Vertical scrolling definition W 6 39h 37 VSCRSADD Vertical scrolling start address W 2 39h 44 TESL Set tea...

Page 66: ...BARUN Technology Corporation http www baruntechnik com 5 2 Typical Patterns The generated test image data are show in the table below Table Image pattern No Test Pattern Remark 1 Raster WHITE 2 Raste...

Page 67: ...al 59 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 5 Raster WHITE 31 6 Raster WHITE 60 7 Raster WHITE 127 8 Gray Pattern RED 127 9 Gray Pattern GREEN 127 10 G...

Page 68: ...nual 60 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 11 ColorBar H4 12 ColorBar V4 13 ColorBar H8 14 ColorBar V8 15 Blue H Grayscale 16 Green H Grayscale No T...

Page 69: ...IPI User s Manual 61 Ver 1 20 BARUN Technology Corporation http www baruntechnik com 17 CYAN H Grayscale 18 RED H Grayscale 19 MAGENTA H Grayscale 20 YELLOW H Grayscale 21 WHITE H Grayscale 22 H4 Gray...

Page 70: ...r s Manual 62 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 23 V4H Grayscale 24 H8H Grayscale 25 V8H Grayscale 26 BLUE H Grayscale 27 GREEN H Grayscale 28 CYAN...

Page 71: ...Manual 63 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 29 RED H Grayscale 30 MAGENTA H Grayscale 31 YELLOW H Grayscale 32 WHITE H Grayscale 33 H4H Grayscale...

Page 72: ...s Manual 64 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 35 H8H Grayscale 36 V8H Grayscale 37 BLUE V Grayscale 38 GREEN V Grayscale 39 CYAN V Grayscale 40 RE...

Page 73: ...s Manual 65 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 41 MAGENTA V Grayscale 42 YELLOW V Grayscale 43 WHITE V Grayscale 44 H4V Grayscale 45 V4V Grayscale 4...

Page 74: ...Manual 66 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 47 V8V Grayscale 48 BLUE V Grayscale 49 GREEN V Grayscale 50 CYAN V Grayscale 51 RED V Grayscale 52 MAG...

Page 75: ...er s Manual 67 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 53 YELLOW V Grayscale 54 WHITE V Grayscale 55 H4V Grayscale 56 V4V Grayscale 57 H8V Grayscale 58 V...

Page 76: ...User s Manual 68 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 59 Grayscale Tunnel 60 Grayscale Tunnel 61 NH Grayscale 62 NH Grayscale 63 NV Grayscale 64 NV G...

Page 77: ...VMAX MIPI User s Manual 69 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 65 63 Gray 66 47 Gray 67 32 Gray 68 24 Gray 69 16 Gray 70 08 Gray...

Page 78: ...VMAX MIPI User s Manual 70 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 71 BLACK 72 RED 73 GREEN 74 BLUE 75 W GRAY H 76 W GRAY H...

Page 79: ...VMAX MIPI User s Manual 71 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 77 W GRAY V 78 W GRAY V 79 RGB H256 80 SLANT RED 81 SLANT GREEN 82 SLANT BLUE...

Page 80: ...VMAX MIPI User s Manual 72 Ver 1 20 BARUN Technology Corporation http www baruntechnik com No Test Pattern Remark 83 1 Dot Reverse 84 PT Gray32_C T...

Page 81: ...ontrol Register CCR 0x0005 0x0003 0xBC Packet Size Control Register 1 PSCR1 0xFFFF 0x0000 0xBD Packet Size Control Register 2 PSCR2 0x0000 0x0000 0xBE Packet Size Control Register 3 PSCR3 0x0100 0x010...

Page 82: ...003 0x0000 0xDF Delay Adjustment Register 7 DAR7 0x0010 0x0010 0xE0 Pull Control Register 1 PUCR1 0x5556 0x5556 0xE1 Pull Control Register 2 PUCR2 0x6656 0x6656 0xE2 Pull Control Register 3 PUCR3 0x01...

Page 83: ...for the key follows the following limitations Commands 1500 commands Command per character 680 Characters ex Command line over 1 pwrport on 1 2 3 4 x GPIO Control Ignore Line comment mark x Reset Con...

Page 84: ...chnik com 5 4 2 UPLS Support The VMAX MIPI has ULPS support to commands of mipi sleep enable and mipi sleep disable Figure VMAX MIPI Low Power Data Transmission Command wave Figure VMAX MIPI ULPS Patt...

Reviews: