Author Topic: NHD-2.4-240320CF-CSXN#-F-- Regarding its manufacturing ID read  (Read 388 times)

darshana somarajan

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
NHD-2.4-240320CF-CSXN#-F-- Regarding its manufacturing ID read
« on: October 04, 2017, 06:35:36 AM »
Sir,
As I'm using Omapl138 LIDD interface to communicate with the Newhaven display, On giving command 0x0004 manufacture ID is not received.
Please do help me in finding out where I have gone wrong.

TFT_24_7789_Write_Command(0x0004);//Read device ID command

   n=LCDC->U32_LIDD_CS0_DATA;     // Dummy read
   n=LCDC->U32_LIDD_CS0_DATA;    //parameter 2 read
   n1=LCDC->U32_LIDD_CS0_DATA ; //parameter 3 read
   n2=LCDC->U32_LIDD_CS0_DATA ;// parameter 4 read


Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 363
  • Karma: 10
    • View Profile
Re: NHD-2.4-240320CF-CSXN#-F-- Regarding its manufacturing ID read
« Reply #1 on: October 17, 2017, 09:47:20 AM »
I'm sorry you are having trouble with this display.
Do you have a schematic for how you are connected to the display?


JonHarrison

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: NHD-2.4-240320CF-CSXN#-F-- Regarding its manufacturing ID read
« Reply #2 on: November 01, 2017, 10:42:13 AM »
I use this function

void TFT_24_7789_ReadID()
{
TFT_24_7789_Write_Command(0x0004); /* read display ID */
uint8_t id[4];
 id[0] = TFT_24_7789_Read_Data(); /* dummy read */
 id[1] = TFT_24_7789_Read_Data(); /* ID1 */
 id[2] = TFT_24_7789_Read_Data(); /* ID2 */
 id[3] = TFT_24_7789_Read_Data(); /* ID3 */

TFT_delay(10);
}

returns 0x04,0x85,0x85,0x52

My display is configured with a 16-bit databus and the Read_Data returns a uint16. As suggested if your read command doesn't work, check the /RD control line and your hardware interface.


 

NHD-2.4-240320CF-CTXI#-FT (ST7789S controller) and STM32F4 FSMC LCD Interface

Started by deshayesBoard TFTs

Replies: 1
Views: 2752
Last post March 17, 2016, 06:25:18 PM
by fahad
NHDEV firmware to support NHD-2.4-240320CF-CTXI#-FT (ST7889S controller)

Started by deshayesBoard Evaluation Tools

Replies: 1
Views: 2713
Last post December 17, 2015, 09:52:29 AM
by Saurabh_B
NHD-2.4-240320CF-CSXI#-F minimal wiring for power

Started by enjaianBoard TFTs

Replies: 4
Views: 2930
Last post July 25, 2015, 04:32:22 PM
by enjaian
NHD-2.4-240320CF-CTXI#-FT ribbon cable question

Started by tom66888Board TFTs

Replies: 1
Views: 2249
Last post October 02, 2015, 08:29:03 AM
by Saurabh_B
ATSAM4E -NHD-2.4-240320CF-CTXI#-F - White Screen

Started by gentlemannBoard TFTs

Replies: 2
Views: 2174
Last post February 18, 2016, 01:08:35 PM
by Paul_B