Results 1 to 2 of 2
  1. #1
    Recently Initiate
    Join Date
    Apr 2008
    Device
    k750
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    who can HX8306 rewrite become k500 express drivers

    void RAM_ADDRESS(void)
    {
    Init_data(0x0021,0x0000);
    Init_data(0x0040,0x0000);// Gate Scan Start Position//SCN=00000
    Init_data(0x0044,0xAF00);//Horizontal RAM Address Position//HEA=0xAf, HSA=0
    Init_data(0x0045,0xDB00);//Vertical RAM Address Position//VEA=0xDB, VSA=0
    }

    void HX8306_init(void)
    {
    //-----------Power_Setting_Function_1---------// Turn off all power
    Init_data(0x0007,0x0004);
    Init_data(0x0012,0x0000);
    Init_data(0x0013,0x0000);
    delayms(40);
    //----------Initializing_Function_1---------------//
    Init_data(0x0001,0x011B); // SM=0b, GS=0b, SS =1b, NL=1Bh->224lines.
    Init_data(0x0002,0x0700); // FLD1~0=01b, B/C=1b, EOR=1b.
    Init_data(0x0003,0x1030); // HWM = 0, BGR = 1, I/D1~0=11b.
    Init_data(0x0004,0x0000); // CP11~0= 0h
    Init_data(0x0005,0x0000); // CP17~12=0h.
    Init_data(0x000b,0x1000); // NO0~1 = 01b.
    //-----------Power_Setting_Function_2----------// Power On Vcom
    Init_data(0x0011,0x0000); // VC2~0:0000-->REGP ,Vci1
    Init_data(0x0012,0x0008); // PON=0-->Off ,
    // VRH[3~0]=1000-->1.9*REGP=VREG1OUT
    Init_data(0x0013,0x1517); // VCM[4~0]=10111-->0.84,VDV[4~0]=10101-->1.2
    Init_data(0x0010,0x6040); // For Hiamx's HX8306A power setting. DK = 0 first.
    delayms(40);
    Init_data(0x0012,0x0018); // PON=1, VRH = "1000"
    delayms(40);
    Init_data(0x0013,0x3510); // VCOMG =1.
    delayms(40);
    //------------Initializing_Function_2-----------//
    Init_data(0x0030,0x0004); //Gamma control 1
    Init_data(0x0031,0x0205); //Gamma control 2
    Init_data(0x0032,0x0303); //Gamma control 3
    Init_data(0x0033,0x0000); //Gamma control 4
    Init_data(0x0034,0x0504); //Gamma control 5
    Init_data(0x0035,0x0205); //Gamma control 6
    Init_data(0x0036,0x0400); //Gamma control 7
    Init_data(0x0037,0x0000); //Gamma control 8

    Init_data(0x0007,0x0105); // D1~0=01
    delayms(40);
    Init_data(0x0007,0x0125); // GON=1
    Init_data(0x0007,0x0127); // D1~0=11
    delayms(40);
    Init_data(0x0007,0x0137); // DTE=1

    }

  2. #2
    Member
    Join Date
    May 2008
    Device
    k750i
    Posts
    56
    Thanks
    14
    Thanked 6 Times in 6 Posts

    Re: who can HX8306 rewrite become k500 express drivers

    i think you should use mod acoustic or use original prefer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •