cancel
Showing results for 
Search instead for 
Did you mean: 

LCD write direction with uclinux

christopher23
Associate II
Posted on October 29, 2010 at 10:08

LCD write direction with uclinux

2 REPLIES 2
swieladek
Associate
Posted on May 17, 2011 at 14:13

I had the same effect when I exchange STM3210E LCD to diffrent kind (that used in kit is not longer available). STM3210E uses Ampire lcd with ILI9320 chipset. I have ILI9325. I solved that problem by adding this sequence in stm3210e_lcd.c file: (note: LCD's Y-direction is the horizontal direction on STM3210E display)

  LCD_ControllerCode = LCD_ReadReg(0x00);

.......

  if(LCD_ControllerCode == 0x9325)

    LCD_WriteReg(R96,  0xA700); /* Gate Scan Line MSB = NO INVERT Y DIRECTION */

  else

    LCD_WriteReg(R96,  0x2700); /* Gate Scan Line MSB = INVERT Y DIRECTION */

christopher23
Associate II
Posted on May 17, 2011 at 14:13

thanks at first!

i will try on early monday (now weekend 😉 )