Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Character LCDs / NHD-0208AZ-fsn-GBW-33V3 (CG ram characters not displayed
« Last post by pla.electro on June 11, 2018, 04:58:45 AM »
Dear sir
we are using NHD-0208AZ-fsn-GBW-33V3 8X2 display we are able to print standard character
but we are unable to print cgram charcter.

see the below code
unsigned char code c_gucPerHr[9]  = {0X14,0X14,0X14,0X17,0X15,0X15,0X15,0X15};

void main()
{
         LCD_Buffer[14] =0x00;
         SetLCDCharPatt(0x40,c_gucPerHr);

}
void SetLCDCharPatt(unsigned char CGRamAdd,unsigned char ChrPatt[8])
{
   unsigned char j;                        

   write4Bitcmd(0x00);
   delay_low();
   
   write4Bitcmd(CGRamAdd); /*Addr. Counter set to CGRAM Addr.*/
   dly1();
   delay_low();
   delay_low();
   
   write4Bitcmd( 0x00);
   delay_low();
   
   for(j=0;j<=7;j++)
   {
      write4Bitdata( ChrPatt[j]);
      dly1();
                  
      delay_low();
   }
}


void write4Bitdata(unsigned char u8_data)
{   
   P0 = (P0 & 0x0F )| ((u8_data) & 0XF0); // Write HI nibble

   LCD_DATAORCMD = 1;
   LCD_CS = 1;
   _nop_();
   _nop_();

   _nop_();
   _nop_();
   _nop_();
   LCD_CS = 0;

   P0 = (P0 & 0x0F )| ((u8_data <<4 ) & 0Xf0); //Write lower nibble
   LCD_DATAORCMD = 1;
   LCD_CS = 1;
   _nop_();
   _nop_();

   _nop_();
   _nop_();
   _nop_();

   LCD_CS = 0;
   
}

void write4Bitcmd(unsigned char u8_cmd)
{
   P0 = (P0 & 0x0F )| ((u8_cmd) & 0xF0); // Write HI nibble
   LCD_DATAORCMD = 0;
   LCD_CS = 1;
   _nop_();
   _nop_();
   
   _nop_();
   _nop_();
   _nop_();
   LCD_CS = 0;

   P0 = (P0 & 0x0F )| ((u8_cmd << 4 ) & 0XF0); //Write lower nibble

   LCD_DATAORCMD = 0;
   LCD_CS = 1;
   _nop_();
   _nop_();

   _nop_();
   _nop_();
   _nop_();
   LCD_CS = 0;
   
}
void delay_low(void)
{
   unsigned char delay_data;
   delay_data = 0xFF;
   while(delay_data)
   {
      --delay_data;
   }
}

void dly2(void)
{
   unsigned char del;
   del = 0x0A;
   while(del)
   {
      del--;
   }
}

kkinldy guide us to resolve the issue , our production is held up due to the LCD issue.

Regards,

Anushka
72
Character LCDs / NHD-0208AZ-fsn-GBW-33V3
« Last post by pla.electro on June 11, 2018, 04:49:16 AM »
we are unable to write CGRAM of the display
standard characters are displayed properly on the display
see the code below
unsigned char code c_gucPerHr[9]  = {0X14,0X14,0X14,0X17,0X15,0X15,0X15,0X15};

void main()
{
         LCD_Buffer[14] =0x00;
         SetLCDCharPatt(0x40,c_gucPerHr);

}
void SetLCDCharPatt(unsigned char CGRamAdd,unsigned char ChrPatt[8])
{
   unsigned char j;                        

   write4Bitcmd(0x00);
   delay_low();
   
   write4Bitcmd(CGRamAdd); /*Addr. Counter set to CGRAM Addr.*/
   dly1();
   delay_low();
   delay_low();
   
   write4Bitcmd( 0x00);
   delay_low();
   
   for(j=0;j<=7;j++)
   {
      write4Bitdata( ChrPatt[j]);
      dly1();
                  
      delay_low();
   }
}


void write4Bitdata(unsigned char u8_data)
{   
   P0 = (P0 & 0x0F )| ((u8_data) & 0XF0); // Write HI nibble

   LCD_DATAORCMD = 1;
   LCD_CS = 1;
   _nop_();
   _nop_();

   _nop_();
   _nop_();
   _nop_();
   LCD_CS = 0;

   P0 = (P0 & 0x0F )| ((u8_data <<4 ) & 0Xf0); //Write lower nibble
   LCD_DATAORCMD = 1;
   LCD_CS = 1;
   _nop_();
   _nop_();

   _nop_();
   _nop_();
   _nop_();

   LCD_CS = 0;
   
}

void write4Bitcmd(unsigned char u8_cmd)
{
   P0 = (P0 & 0x0F )| ((u8_cmd) & 0xF0); // Write HI nibble
   LCD_DATAORCMD = 0;
   LCD_CS = 1;
   _nop_();
   _nop_();
   
   _nop_();
   _nop_();
   _nop_();
   LCD_CS = 0;

   P0 = (P0 & 0x0F )| ((u8_cmd << 4 ) & 0XF0); //Write lower nibble

   LCD_DATAORCMD = 0;
   LCD_CS = 1;
   _nop_();
   _nop_();

   _nop_();
   _nop_();
   _nop_();
   LCD_CS = 0;
   
}
void delay_low(void)
{
   unsigned char delay_data;
   delay_data = 0xFF;
   while(delay_data)
   {
      --delay_data;
   }
}

void dly2(void)
{
   unsigned char del;
   del = 0x0A;
   while(del)
   {
      del--;
   }
}

73
TFTs / Re: SPI problem with NHD-3.5-320240FT-CSXN-CTP
« Last post by Wiggum on June 11, 2018, 03:55:07 AM »
Hi Ted,

are there any news regarding this issue?
Our customer who will release a series of units with this display is getting a little nervous about it.
On their end, they can't get the MPSSE solution working at all.
Would it be possible to check SPI stability with different setups?

Otherwise, we'd have to look for different solutions right now.

Best regards,

Rainer
74
Thanks Ted.  8)

Today perform more tests, a simple video; https://youtu.be/STYUMvKI_7A
The video
You can download it from this link https://drive.google.com/open?id=1uCh_utiiPVWy4C01Xd7Hyqv1T31byWtL
This file of 1 munute and 21 seconds, only 24,5MBytes

In fact, we have used the special library from our repository; https://github.com/FT81xMania/GD23ZU

Regards.
75
Customer Projects / Re: New Support library for Screen EVE2 NHD Playback videos
« Last post by Ted_M on June 08, 2018, 10:51:56 AM »
Hi Lightcalamar,

Thanks to you and the MexSpa Team for sharing the library!   

Best Regards,
76
TFTs / Re: FPGA driver for NHD-2.4-240320CF TFTs
« Last post by Paul_B on June 07, 2018, 08:12:24 AM »
Looking forward to seeing what you put out next (already followed your GutHub page).

Have a good one!
77
TFTs / Re: FPGA driver for NHD-2.4-240320CF TFTs
« Last post by joaBaur on June 07, 2018, 01:32:12 AM »
Thank you! I learned a lot myself in the process...

I also have a NHD-1.8-128160EF here, so I will do a second project for the 1.8" TFTs with the ILI9163V driver IC
78
Thanks Paul_B !!!

June 7, 2018, The MexSpa Team publishes a library with its EVE2 screens, until we have been surprised by the quality of what we can do with the library.

The repository is this;


Regards.
79
Accessories / Re: Bezel for NHD-C0216CiZ-FSW-FBW-3V3
« Last post by Sergio_M on June 06, 2018, 05:16:11 PM »
We do make bezels for our displays but only as a custom designs which require a 1000 piece minimum order quantity. You may want to try contacting Elwood Controls, who manufactures bezels/frames to fit most of our displays. I would recommend visiting their website:  http://www.elwoodcontrols.com/Bezels.html to see if they have something that would work for you.
80
Evaluation Tools / Re: LED backlight at 40mA
« Last post by Sergio_M on June 06, 2018, 05:08:01 PM »
Unfortunately, there isn't a way to make this modification. With which display are you trying to use this video board? Have you considered using one of our new EVE2 modules?
http://www.newhavendisplay.com/tft-modules-eve2-tft-modules-c-1_990_992.html
Pages: 1 ... 6 7 [8] 9 10