Samsung S3C2410A Microphone User Manual


 
LCD CONTROLLER S3C2410A
15-40
Example 1:
160 x 160, 4-level gray, 80 frame/sec, 4-bit single scan display, HCLK frequency is 60 MHz WLH = 1, WDLY = 1.
Data transmission rate = 160 × 160 × 80 × 1/4 = 512 kHz
CLKVAL = 58, VCLK = 517 kHz
HOZVAL = 39, LINEVAL = 159
LINEBLANK =10
LCDBASEL = LCDBASEU + 3200
NOTE: The higher the system load is, the lower the cpu performance is.
Example 2 (Virtual Screen Register):
4 -level gray, Virtual screen size = 1024 × 1024, LCD size = 320 × 240, LCDBASEU = 0×64, 4-bit dual scan.
1 halfword = 8 pixels (4-level gray),
Virtual screen 1 line = 128 halfword = 1024 pixels,
LCD 1 line = 320 pixels = 40 halfword,
OFFSIZE = 128 - 40 = 88 = 0×58,
PAGEWIDTH = 40 = 0×28
LCDBASEL = LCDBASEU + (PAGEWIDTH + OFFSIZE) × (LINEVAL +1) = 100 + (40 + 88) × 120 = 0 × 3C64
Known Problem of STN LCD
: If Enable and Disable Video output, [ENVID] of LCDCON1 Register, it is repeated over 100times,
there could be 1Word data loss in case of STN. But the probability of this symptom is very low.
=> Workaround : You should insert the below function in your code right before Enable Video output.
void Lcd_Workaround (void)
{
int loop=7;
rLCDCON5=rLCDCON5&~(1<<3); // Disable LCD_PWREN, If you don't use LCD_PWREN, you can
remove this line.
for(i=0; I<loop; I++)
{
rLCDCON1|=1; // ENVID=ON
rLCDCON1 =rLCDCON1 & 0x3fffe; // ENVID Off
}
rLCDCON5|=(1<<3); //Enable LCD_PWREN, If you don't use LCD_PWREN, then you can remove this line.
}