Author Topic: ISSUE WHILE READING CHIPID IN DISPLAY (FT813)  (Read 108 times)

Arjun

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
ISSUE WHILE READING CHIPID IN DISPLAY (FT813)
« on: June 14, 2019, 12:12:59 AM »
Hello,

Issue : Not able to read chip id of the device NHD-7.0-800480FT-CSXV-CTP

Description:

a) Using ATMEGA2560 Controller to communicate with the FT813 driver, AVR Studio is used as IDE

b) SPI and Power connections are given as per datasheet

c) Initialization process is implemented in code, we are able to Power down and Power up the display.  External Crystal                                                              Oscillator command and ACTIVE command can be send to the Device.

d)But, chip id of the device can't be read.

Doubts:

1.) Is SPI communication creates problem? How to check commands written from controller is accepted by the device(FT813)?
2.) I'm reading 2mA in SCLK pin is that a problem? How much mA should be there in SCLK pin?
3) Any Pull up has to be made for MOSI and MISO pins?How much mA should be read from the SPI pins?

Ted_M

  • Administrator
  • Full Member
  • *****
  • Posts: 108
  • Karma: 3
    • View Profile
Re: ISSUE WHILE READING CHIPID IN DISPLAY (FT813)
« Reply #1 on: June 18, 2019, 11:18:38 AM »
Hi Arjun,

Please try 5mA on the SCLK. A hardware buffer to provide the extra current has also worked for other users with similar issues.

Best Regards,

Arjun

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: ISSUE WHILE READING CHIPID IN DISPLAY (FT813)
« Reply #2 on: June 19, 2019, 06:04:07 AM »
Hello,

Thank you for your response Sir. Now we are able to read 5mA in SCLK pin but still not able to read chip id.

Description:

Able to send commands to LCD Driver (FT813), the response for chip id always 0(zero).

What could be the reason? Is that we are missing something in code?

Commands Sent to FT813 from ATMEGA2560:

Code Flow:

1) Port and SPI Initialization
2) Power-down command
3) External clock command
4) Active command
5) Read REG ID(0x302000)

When Power down command is sent to FT813, display will get enabled(ON) and for Active command it goes to disable(OFF) state. Is this code execution is correct or anything need to be included.

Ted_M

  • Administrator
  • Full Member
  • *****
  • Posts: 108
  • Karma: 3
    • View Profile
Re: ISSUE WHILE READING CHIPID IN DISPLAY (FT813)
« Reply #3 on: June 19, 2019, 08:37:43 AM »
Hi Arjun,

Try reducing the SPI clock to less than 11Mhz before sending the Active command.
Please see Page 11 of the FT81X Series Programmers Guide for reading the chip identification code and the recommended initialization when booting up the display:

https://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/FT81X_Series_Programmer_Guide.pdf

Send Host command “ACTIVE” to enable the clock to the FT81X.
FT81X starts its self diagnosis process and may take up to 300ms.
Alternatively, read REG_ID repeatedly until 0x7C is read.

After reset or reboot, the chip ID can be read from address 0xC0000 to 0xC0003.

Best Regards,

 

Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 10135
Last post May 13, 2014, 12:04:36 AM
by SteveC
Display NHD-4.3-480272EF-ASXN#-T and NHD-4.3-480272EF-ASXN#-T revA

Started by rvalorBoard TFTs

Replies: 1
Views: 376
Last post April 25, 2019, 03:35:10 PM
by Ted_M
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 12184
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 8856
Last post September 25, 2015, 03:09:24 PM
by Paul_B
Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 18742
Last post July 10, 2014, 08:46:06 AM
by Michael_L