I don't know if this will help at all but I got some information on the new lcd don't know if it's a driver or just the device information and commands but maybe it will help maybe it won't not sure but I'm at least trying to help the community with this one....
void Initial_ILI9331_Hydis28(void)
{
// RESET=0;
// Delayms(5);
// RESET=1;
// Delayms(10);
WriteRegister(0xe7,0x1014); // Set internal timing
WriteRegister(0x01,0x0100); // set SS and SM bit
WriteRegister(0x02,0x0200); // set 1 line inversion
WriteRegister(0x03,0x1030); // set GRAM write direction and BGR=1.
WriteRegister(0x08,0x0202); // set the back porch and front porch
WriteRegister(0x09,0x0000); // set non-display area refresh cycle ISC[3:0]
WriteRegister(0x0A,0x0000); // FMARK function
WriteRegister(0x0C,0x0000); // RGB interface setting
WriteRegister(0x0D,0x0000); // Frame marker Position
WriteRegister(0x0F,0x0000); // RGB interface polarity
// Power On Sequence //
WriteRegister(0x10,0x0000); // SAP, BT[3:0], AP, DSTB, SLP, STB
WriteRegister(0x11,0x0007); // DC1[2:0], DC0[2:0], VC[2:0]
WriteRegister(0x12,0x0000); // VREG1OUT voltage
WriteRegister(0x13,0x0000); // VDV[4:0] for VCOM amplitude
Delayms(100);
WriteRegister(0x10,0x1690); // SAP, BT[3:0], AP, DSTB, SLP, STB
WriteRegister(0x11,0x0227); // DC1[2:0], DC0[2:0], VC[2:0]
Delayms(50);
WriteRegister(0x12,0x000c);
Delayms(50);
WriteRegister(0x13,0x0800); //0X1A
WriteRegister(0x29,0x0011);
WriteRegister(0x2b,0x000b);
Delayms(50);
//Adjust the Gamma curve//
WriteRegister(0x30,0x0000);
WriteRegister(0x31,0x0106);
WriteRegister(0x32,0x0000);
WriteRegister(0x35,0x0204);
WriteRegister(0x36,0x160a);
WriteRegister(0x37,0x0707);
WriteRegister(0x38,0x0106);
WriteRegister(0x39,0x0706);
WriteRegister(0x3c,0x0402);
WriteRegister(0x3d,0x0c0f);
//--------- set GRAM area -----------
WriteRegister(0x50,0x0000); //Horizontal RAM Address Position start
WriteRegister(0x51,0x00ef); //Horizontal RAM Address Position end
WriteRegister(0x52,0x0000); //Vertical RAM Address Position start
WriteRegister(0x53,0x013f); //Vertical RAM Address Position end
WriteRegister(0x20,0x0000); //Set horizontal address
WriteRegister(0x21,0x0000); //Set vertical address
WriteRegister(0x60,0x2700);
WriteRegister(0x61,0x0001);
WriteRegister(0x6a,0x0000);
// Partial display control //
WriteRegister(0x80,0x0000);
WriteRegister(0x81,0x0000);
WriteRegister(0x82,0x0000);
WriteRegister(0x83,0x0000);
WriteRegister(0x84,0x0000);
WriteRegister(0x85,0x0000);
// Panel control //
WriteRegister(0x90,0x0010);
WriteRegister(0x92,0x0600);
WriteRegister(0x07,0x0133); //display on
// write display data
// WriteRegister(0x20,0x0000); //Set horizontal address
// WriteRegister(0x21,0x0000); //Set vertical address
// WriteIndex(0x00,0x22); //write data to GRAM
}
void LCD_ExitSleep_ILI9331()
{
WriteRegister(0x10,0x0080); //
WriteRegister(0x11,0x0000); //
WriteRegister(0x12,0x0000); //
WriteRegister(0x13,0x0000); //
Delayms(200);
WriteRegister(0x10,0x1690); //
WriteRegister(0x11,0x0227); //
Delayms(50);
WriteRegister(0x12,0x000C); //
Delayms(50);
WriteRegister(0x13,0x0800); //
WriteRegister(0x29,0x0011); //
Delayms(50);
WriteRegister(0x07,0x0133); //
}
void LCD_EnterSleep_ILI9331()
{
WriteRegister(0x07,0x0131); //
Delayms(10);
WriteRegister(0x07,0x0130); //
Delayms(10);
WriteRegister(0x07,0x0000); // display off
//power off sequence
WriteRegister(0x10,0x0080); //
WriteRegister(0x11,0x0000); //
WriteRegister(0x12,0x0000); //
WriteRegister(0x13,0x0000); //
Delayms(200);
WriteRegister(0x10,0x0082); //
}
Below is what I posted else where about issues and tests I have done.
Well here is a tested look at the new NON PAW Print Dingoo A320 I will first start with the Applications and the default
emulators the dingoo comes with and move on from there to Community made emulators.
1. Went into applications picked Mushroom Roulette played once exited and went to play again the A320 freezes in game list.
Tried again same result so Mushroom Roulette does not work on the new non paw print A320.
2. Went into applications picked SameGoo played two levels and exited then went to again SameGoo loaded again with no problems
and no freezing.
3. Went into applications picked a Dingoo Game Nose Breaker played two rounds and exited then went to again NoseBreaker
loaded again with no problems and no freezing.
4. Went to GooPlayer picked a *.Ogg file played and went to select another program freezes. Also hard reset and went into
GooPlayer again and exited freezes in the app/game list selection window.
After Playing all the Dingoo native emulators none of them locked up or froze on me.
although GBC.SIM did lock up several times but that is a 760 ported emulator...
Ok now on to the Community made emulators first up is drum roll please...
LynGOO.SIM
1. Loaded up Chopper.lnx played a round or two exited went to load it again froze in game list.
2. Lodead up Frogger.lnx played a round or two exited went to load it again froze in game list.
ColeCOO.SIM
1. Loaded up Wrongway.col played a round or two exited went into game again no problems works
2. Then loaded kevtris.col played a round or two exited went into game again no problems works
So ding ding one round that actually the emulator works and doesn't freeze up
GNUBOY.SIM
1. Loaded up a Gameboy game Adjustris.gb played a round or two exited went to load it again froze in game list.
2. Loaded up a Gameboy game boxing.gb Loaded up the Gameboy game
3. Loaded up a GameBoy Color Game CrazyZone.GBC played a round or two exited went to load it again froze in game list.
4. Loaded up a GameBoy Color Game Whackemon.gbc played a round or two exited went to load it again froze in game list.
SmsGGOO.SIM
1. Loaded up a SMS Game BlockHead.sms played a round or two exited went to load it again froze in game list.
2. Loaded up a SMS Game Robbyie.sms played a round or two exited went to load it again froze in game list.
3. Loaded up a Game Gear Tween.gg played a round or two exited went to load it again froze in game list.
4. Loaded up a Game Gear Columns played a round or two exited went to load it again froze in game list.
DOOENGINE.SIM
1. Loaded up a PCE Game Pacu.pce played a round or two exited went to load it again froze in game list.
2. Loaded up a PCE Game Centipide.pce played a round or two exited went to load it again froze in game list.
This concludes our broadcasting day of the dreaded dingoo a320 with no paw print and how it locks up and freezes and requires a
hard rest.