Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20750 Discussions

Adjusting Brightness of NEEK's LCD

Altera_Forum
Honored Contributor II
1,583 Views

Hello All, 

 

I wanted to adjust the brightness and contrast of the LCD (800*480) which is there on NEEK using registers. It mentions in the user guide that there is LCD controller interface to configure the LCD panel for brightness, resolution, gamma curves, etc. Can anybody help with it? Which registers or how I can write to it?Or the related data sheet? 

 

Thanks in advance, 

Rama
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
878 Views

Neek's LCD control registers are accessed using I2C. 

 

 

For a pure hardware example check demonstration MTDB_LCD_TV at: http://www.terasic.com/downloads/cd-rom/mtdb/mtdb_system_cd_v2.0.zip 

 

For a Nios II based system example: http://www.altera.com/support/examples/download/nios_lcd_3c25.zip
0 Kudos
Altera_Forum
Honored Contributor II
878 Views

Thanks for the info! 

Actually I have started with the second design only and everything is working for me. Its just that the images coming from the camera look very dark on the LCD Screen, so I wanted to adjust the brightness of the LCD but (may be I missed it) I am not able to figure out the registers where to do it? 

Any help will be much appreciated, 

Thanks, 

Rama.
0 Kudos
Altera_Forum
Honored Contributor II
878 Views

LCD brightness in second example, as i can see on my Neek, is good. 

 

What about increasing the camera lens aperture? If you have a TRDB module or something like that, it can be done by setting the register 0x09.
0 Kudos
Altera_Forum
Honored Contributor II
878 Views

Thanks for the reply. 

 

Yes the brightness is in fact good for synthetic images. But for the NTSC cameras (OV7950 camera modules) I am using ,due to the transformation which I am applying on my input video, I am loosing some image information due to which the images are getting darker. So I wanted to specifically increase the brightness of my LCD but although it is written in the demo guide that you can adjust brightness , gamma correction etc, I am unable to locate those registers!!! I am using the same LCD daughter board wich is being use in NEEK. 

 

Any help! 

Rama
0 Kudos
Altera_Forum
Honored Contributor II
878 Views

mmmmm, ok, here is the link for terasic trdb_ltm module data sheet, 

 

http://www.terasic.com.tw/attachment/archive/213/trdb_ltm_userguide.pdf 

 

In page 30 you can find "Register map of the LCD Driver IC" here is the register description for brightness and gamma curve. 

 

Compare with alt_tpo_lcd_init function in alt_tpo_lcd.c from example.
0 Kudos
Reply