2010-10-29 01:08 AM
LCD write direction with uclinux
2011-05-17 05:13 AM
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 */2011-05-17 05:13 AM
thanks at first!
i will try on early monday (now weekend ;) )