NHD-5.0-800480TF-ATXL#-CTP VS. NHD-7.0-800480EF-ASXN#-CTP

Comments

5 comments

  • John_Dailey

    Actually,

    I think I see something, I'll be trying this today when I get home from work...

    1) PCLK needs to be inverted for this LCD

    2) ** most ** important, sounds like this 7.0" TFT is setup by default to use 'DE' mode, whereas the 5.0" probably was not?

    (my LTDC controller does have the DE pin, but by default it was setup as 'active LOW', and I have the pin pulled down), so it sounds like the 5.0" was probably not using it which is why my setup still worked, but the 7.0" I need to switch the pin polarity)


    Ie I see a discussion just like this in a old thread from 2014..

    https://support.newhavendisplay.com/hc/en-us/community/posts/10985916952471-NHD-7-0-800480EF-ATXL-CTP-dead-


    I'll report back after testing this evening 

    0
  • John_Dailey

    Ok,

    I got it all working... the DE POLARITY was backwards, at least according to the STM32H7 datasheet, so I don't know whom is right, the NewHaven TFT datasheet, or the STM32H7 datasheet.

    But in order for DE to work, I had to set:

    ** From the STM32H7 datasheet **

    DEPOL: not data enable polarity
    This bit is set and cleared by software.
    0: not data enable polarity is active low.   <<<==== had to set to ACTIVE LOW
    1: not data enable polarity is active high.

    with it ACTIVE HIGH there is NO display.... only thing I could do to prove it out would be to scope it up, but right now I just want to install the screen and get it working.

    (I also verified I could disable DE altogether by installing that R4 short, which I did to verify the screen worked, then removed it, as I want to use the default of 'DE' being enabled.


    So for now the screen works!  But I'm concerned as to which vendor is right... is the STMicro datasheet backwards, or is the datasheet wrong for the LCD, and 'DE' is actually ACTIVE LOW, not high?

    0
  • Ted M.
    NHD Staff

    Hi Mike_S,

    It's good to hear you have it working!

    You are correct that the 7.0" TFT is setup to work in DE mode by default.  The display's Data Enable mode is Active High at pin 34 to enable the data input bus.

    Best Regards,

    0
  • mike_s

    Hi Ted,


    If you all are certain that the pin34 DE is definitely ACTIVE HIGH logic, then that means STMicro messed up their data sheet, since I had to set the LTDC -> DE polarity to 'Active Lo'....

    but of course their wording could also be a 'double negative', when they say 'not data enable polarity is active low'... which would mean Active Hi. LOL

    anyhow, this is good info for anyone that ends up using an STM32xxx processor with the LTDC controller, so they know the datasheet is backwards...

    0
  • mike_s

    Finally,

    7.0" TFT is working perfect, thanks so much, I have both 5.0" and 7.0" working awesome!

    BTW, also verified that the 'Data Enable' is indeed 'ACTIVE HIGH', so STMicro has an error in their datasheet..

    here's the scope shot, showing DE active high and a bit of the RBG data lines...

    (DE ==> Yellow)
    (RBG bit ==> Green)

    0

Please sign in to leave a comment.