Recent Posts

Pages: [1] 2 3 ... 10
1
TFTs / Re: Graphic software for NHD-4.3CTP-SHIELD-V
« Last post by Saurabh_B on Today at 08:39:38 AM »
Hello George,

I would recommend using the FTDI Screen Editor Software, this can be found here: http://www.ftdichip.com/Support/Utilities.htm#EVEScreenEditor

FTDI also includes a user guide to help you get started as well.
2
TFTs / arduino 101 on nhd-4.3 ctp-shield-n
« Last post by geraldc on June 24, 2017, 10:35:13 PM »
Hi.
Has anyone tried this combination?I can get display to work on uno and mega but not 101 board.
Even with screen disconnected I cant get sketch (sample guages) to compile.
Update. Deleted libraries and reinstalled libraries.Display now working with demo guages.

Thanks
3
TFTs / Graphic software for NHD-4.3CTP-SHIELD-V
« Last post by igeorge on June 24, 2017, 08:55:23 AM »
I bought this shield to develop an application.
But contrary to Nextion  or Mikroelectronika, i did not find a graphic user interface software to design the screen, define, buttons and other components on the screen, nor a tutorial how to start with it.
Can you help me ?
Thank you
 
4
Graphic LCDs / 1.8V IO on NHD-2.4-240320CF-CTXI-F
« Last post by llb on June 18, 2017, 01:21:51 PM »
Hello,

I want to interface the NHD-2.4-240320CF-CTXI-F with an 1.8V system. The datasheet (http://www.newhavendisplay.com/specs/NHD-2.4-240320CF-CTXI-F.pdf) mentions that IOVDD can be 1.8V, but the logic IO parameters Vih, Vil, Voh and Vol all are specified in terms of VDD (which is 3.3V). Is this a typo in the datasheet (intuitively, I would expect IOVDD to set the IO logic levels, instead of VDD) or can the display in fact only interface with 3.3V logic?

Thank you!
5
TFTs / NHD 5.0 800480 startup woes - SOLVED
« Last post by dfansler on June 16, 2017, 10:25:48 AM »
I built a board with LED's for all the signals going to the display, that sits between the processor board and the NHD controller board.  Watching the display init routine run, I noticed that bits 6 & 7 were not behaving.  Turns out that those two pins had a solder bridge between them at the processor.  My display now works.

I wish to thank my parents for having me, my wife for having me, my 2 dogs and 1 cat for having me and finally myself - for without myself I would be . . . . . . not be?

Kind regards,
David

Seems like everytime I try a new display, I have a battle getting it to respond.  On my current project I had to switch from the 7.0 TFT to the 5.0 TFT, both 800x480 and both using the SSD1963 controller board.

Attached is a video of the display going thru the init code.  I am using Curt's eval code for the 5.0 800x480 with the SSD1963.  Oh well, the video is too big - what it shows is the display goes black, then when the init occurs, the screen turns white and you can see a horizontal line of pixels as it moved down the display.  When it reaches the bottom, the screen stays mostly white, except for the upper third has darkend - looks a lot like a thunderstorm cloud.  Ok, so I could include a reduced version photo of the screen as the line scans down the display.

I have single stepped through the TFT_5_Write_Data and the TFT_5_Write_Command functions and verified the signals to the controller board - on the controller board.

I have included the code below.

Any suggestions?
Kind regards,
David

void TFT_5_Write_Data (unsigned char data1)  //no joy with delays
{
   gpio_set_gpio_pin(LCD_RS);
   delay_us(100);
   AVR32_GPIO.port[1].ovr = data1;
   delay_us(100);
   gpio_clr_gpio_pin(LCD_nWR);
   delay_us(100);
   gpio_set_gpio_pin(LCD_nWR);
   delay_us(100);
}

void TFT_5_Write_Command (unsigned char command)
{
   int x;
   
   AVR32_GPIO.port[1].ovr = command;
   delay_us(100);
   gpio_clr_gpio_pin(LCD_RS);
   delay_us(100);
   gpio_clr_gpio_pin(LCD_nWR);
   delay_us(100);
   gpio_set_gpio_pin(LCD_nWR);
   delay_us(100);
}

void TFT_5_WindowSet(int s_x, int e_x, int s_y, int e_y)
{
   int s_x_c;  //Start_X_Corrected
   s_x_c = e_x - s_x;
   TFT_5_Write_Command(0x2a);      //set page address
   TFT_5_Write_Data((s_x)>>8);      //set start page address = 0
   TFT_5_Write_Data(s_x);
   TFT_5_Write_Data((e_x)>>8);      //set end page address 639
   TFT_5_Write_Data((e_x));
   TFT_5_Write_Command(0x2b);      //set column address
   TFT_5_Write_Data((s_y)>>8);      //set start column address = 0
   TFT_5_Write_Data(s_y);
   TFT_5_Write_Data((e_y)>>8);      //set end column address = 459
   TFT_5_Write_Data((e_y));
}
void TFT_5_Init(void)
{
   //new setup as of 06-15-17
   gpio_set_gpio_pin(LCD_DISP);
   gpio_clr_gpio_pin(LCD_nWR);
   gpio_clr_gpio_pin(LCD_nRESET);
   delay_ms(15);
   gpio_set_gpio_pin(LCD_nRESET);
   delay_ms(100);
   TFT_5_Write_Command(0x01);     //Software Reset
   delay_ms(100);
   TFT_5_Write_Command(0x01);     //Software Reset
   delay_ms(100);

   TFT_5_Write_Command(0xe0);    //START PLL
   TFT_5_Write_Data(0x01);
   TFT_5_Write_Command(0xe0);    //LOCK PLL
   TFT_5_Write_Data(0x03);
   TFT_5_Write_Command(0xb0);      //SET LCD MODE (7 parameters)
   TFT_5_Write_Data(0x08);         //18-bit, TFT FRC enable, dithering off
   TFT_5_Write_Data(0x80);         //LCD panel mode
   TFT_5_Write_Data(0x03);         //SET horizontal size=800-1 HightByte
   TFT_5_Write_Data(0x1f);          //SET horizontal size=800-1 LowByte
   TFT_5_Write_Data(0x01);         //SET vertical size=480-1 HightByte
   TFT_5_Write_Data(0xdf);         //SET vertical size=480-1 LowByte
   TFT_5_Write_Data(0x00);         //SET even/odd line RGB seq.=RGB
   TFT_5_Write_Command(0xf0);      //SET pixel data I/F format=8bit
   TFT_5_Write_Data(0x00);   
   TFT_5_Write_Command(0x36);   //SET address mode=flip vertical
   TFT_5_Write_Data(0x09);
   TFT_5_Write_Command(0x3a);   // SET R G B format = 6 6 6
   TFT_5_Write_Data(0x60);
   TFT_5_Write_Command(0xe2);         //SET PCLK freq=9.5MHz  ; pixel clock frequency
   TFT_5_Write_Data(0x1d);
   TFT_5_Write_Data(0x02);
   TFT_5_Write_Data(0x54);
   TFT_5_Write_Command(0xe6);         //SET PCLK freq=9.5MHz  ; pixel clock frequency
   TFT_5_Write_Data(0x02);
   TFT_5_Write_Data(0xff);
   TFT_5_Write_Data(0xff);
   TFT_5_Write_Command(0xb4);      //SET Horizontal Period (8 parameters)
   TFT_5_Write_Data(0x04);         //SET HSYNC Total=1056
   TFT_5_Write_Data(0x20);
   TFT_5_Write_Data(0x00);         //SET HSYNC Start Position=88
   TFT_5_Write_Data(0x58);
   TFT_5_Write_Data(0x80);         //SET HSYNC Pulse Width=128=127pixels+1
   TFT_5_Write_Data(0x00);         //SET HSYNC pulse start position=0
   TFT_5_Write_Data(0x00);
   TFT_5_Write_Data(0x00);         //SET HSYNC pulse subpixel start position
   TFT_5_Write_Command(0xb6);       //SET Vertical Period (7 parameters),
   TFT_5_Write_Data(0x02);         //SET Vsync total=525
   TFT_5_Write_Data(0x0d);
   TFT_5_Write_Data(0x00);         //SET VSYNC Pulse Start Position=32
   TFT_5_Write_Data(0x20);
   TFT_5_Write_Data(0x01);         //SET VSYNC Pulse Width= 0=0lines+1
   TFT_5_Write_Data(0x00);         //SET VSYNC Pulse Start Position=0
   TFT_5_Write_Data(0x00);
   TFT_5_Write_Command(0x2a);      //SET column address
   TFT_5_Write_Data(0x00);         //SET start column address=0
   TFT_5_Write_Data(0x00);
   TFT_5_Write_Data(0x03);         //SET end column address=799
   TFT_5_Write_Data(0x1f);
   TFT_5_Write_Command(0x2b);      //SET page address
   TFT_5_Write_Data(0x00);         //SET start page address=0
   TFT_5_Write_Data(0x00);
   TFT_5_Write_Data(0x01);         //SET end page address=479
   TFT_5_Write_Data(0xdf);
   TFT_5_Write_Command(0x13);      //SET normal mode
   TFT_5_Write_Command(0x38);      //SET normal mode
   TFT_5_Write_Command(0x29);      //SET display on
}   
6
Evaluation Tools / Re: FTDI Eve screen editor
« Last post by CarlW on June 16, 2017, 06:40:40 AM »
I was able to use the EVE screen editor (version 2.3.4).
Followed the suggestion posted above.

The output sketches are almost error free. Just a few arduino specific tweaks.

My problem with the EVE editor was I needed to add the EVE editor program to the "exception" list in my virus software.
Then the program is stable and very useful!

There is a video on youtube that I followed loosely to add a custom font.
https://youtu.be/IWV0Dpby0B4

7
TFTs / Arduino DUE + 4.3" TFT + NHD-4.3-480272MF-20: PIO issues
« Last post by MyNameIsMud on June 16, 2017, 12:17:15 AM »
Hi,

I'm struggling a bit with the setup: I have the NHD-4.3-480272EF-ASXN display plus the NHD-4.3-480272MF-20 controller board. The example code provided for the setup works nicely with Mega but I'm having issues porting it for Arduino DUE.

The main issue is the PIO register manipulation, does anybody have idea how it should be done?

I've tried the following to configure the PIO (from Arduino forum):

  PIOC->PIO_PER = 0x01FF;  // Configure PORTC to PIO controller, pins 33-40
  PIOC->PIO_OER = 0x01FF;  // Enable PORTC to output
  PIOC->PIO_ODSR = something; // Write something on pins 33-40

It does not seem to work. Am I missing something completely?

I verified the wiring setup by digitalwriting the parallel port, and it works but is terribly slow.

BR,
Lassi
8
TFTs / Re: Using RGB666 on NHD-4.3-480272EF-ATXL#-T
« Last post by Paul_B on June 14, 2017, 08:04:48 AM »
You can also wire them to the upper bits, in sequence  ;)
9
TFTs / Re: Using RGB666 on NHD-4.3-480272EF-ATXL#-T
« Last post by Paul_B on June 14, 2017, 08:02:54 AM »
Hello carrasco,

One approach is to wire all the unused bits to a fixed value (typically zero - Ground). Please note that you do not need to utilize a pull-down resistor. 
10
TFTs / Re: Using RGB666 on NHD-4.3-480272EF-ATXL#-T
« Last post by Saurabh_B on June 14, 2017, 08:00:03 AM »
Hello,

You would want to ground the unused RGB pins. These would be the LSB (R0,R1, G0, G1, B0, B1)
Pages: [1] 2 3 ... 10