Altera_Forum
Honored Contributor
16 years agoHow to Display Data on the LCD @ NEEK
Hi
i was trying the full day to get a Picture to the LCD Dispay of my NEEK i only write in Verilog and use some Megafunctions The Data i want to display on the LCD is a ROM 1-Port with 24 Bits Words and 16384 Words that is initialized with a mif-File so i want to display the Data as a Part of the LCD Display the Picture in the ROM is 157 X 96 Pixel with 8bit R 8Bit G 8Bit B when i want to set the Picture at my LCD Display it always moves and runs arround like hell mainly in the Y Direction the LCD_interface is : lcd_display u3 ( .iVGA_R ( r), .iVGA_G ( g), .iVGA_B ( b), .iCLK50(CLK50), .iCLK25(CLK25), .iCLK75(CLK75), .iRESET_n( SYSTEM_RESET_n), .iTCON_RESET_n (DLY0), // TOUCH ADC SIDE .oHC_ADC_CS_N(HC_ADC_CS_N), .oHC_ADC_DIN(HC_ADC_DIN), .iHC_ADC_BUSY(HC_ADC_BUSY), .iHC_ADC_DOUT(HC_ADC_DOUT), .iHC_ADC_PENIRQ_N(HC_ADC_PENIRQ_N), // LCD PANEL SIDE .oHC_LCD_DATA( HC_LCD_DATA), .oHC_NCLK ( HC_NCLK), .oHC_HD ( HC_HD ), .oHC_VD ( HC_VD ) , .oVGA_V_BLANK(oVGA_V_BLANK), .oHC_DEN ( HC_DEN ), .oHC_SCEN ( HC_SCEN ), .mLCM_DEH(mLCM_DEH), .oHC_GREST(HC_GREST), .oHC_ADC_DCLK(HC_ADC_DCLK), .HC_SDA(HC_SDA)); and the ROM myROM myROM_inst ( .address ( curAddr ), .clock ( CLK25 ), .rden ( ROM_READ ), .q ( m1RGB ) ); assign r= m1RGB[7:0]; assign g= m1RGB[15:8]; assign b= m1RGB[23:16]; i tried different ways can someone please tell me how i have to give the Data to the LCD and HOW i have to sync it ? theres 2 ways i want, 1st ist that the picture is in his actual size at the display and everything around is black or white 2nd the Picture is scaled up to the full LCD Please can t find a way that my displayed picture don t runs away :( if anyone want the Code i tried between this components please tell me than i ll post it too. Greetz René Gärtner Student in his Exams Work ... and pretty down that nothing works like it should work :(