Author Topic: NHD-5.0-800480TF-ATXL-CTP Shifted Right  (Read 1720 times)

jmag999

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
NHD-5.0-800480TF-ATXL-CTP Shifted Right
« on: August 31, 2015, 05:08:06 AM »
I see other posts about this but no resolution.  I used the values from the datasheet, but my display is shifted right by about 20-30 pixels.  I am using an STM32F7 with the following settings.  I verified most of the timing.  Do my values look correct?

/**
  * @brief  NHD800480 Size 
  */   
#define  NHD800480_WIDTH    ((uint16_t)800)             /* LCD PIXEL WIDTH            */
#define  NHD800480_HEIGHT   ((uint16_t)480)             /* LCD PIXEL HEIGHT           */

/**
  * @brief  NHD800480 Timing 
  */   
#define  NHD800480_HSYNC            ((uint16_t)48)      /* Horizontal synchronization */
#define  NHD800480_HBP              ((uint16_t)88)     /* Horizontal back porch      */
#define  NHD800480_HFP              ((uint16_t)40+0)      /* Horizontal front porch     */
#define  NHD800480_VSYNC            ((uint16_t)3)       /* Vertical synchronization   */
#define  NHD800480_VBP              ((uint16_t)32)      /* Vertical back porch        */
#define  NHD800480_VFP              ((uint16_t)13+0)      /* Vertical front porch       */

jmag999

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: NHD-5.0-800480TF-ATXL-CTP Shifted Right
« Reply #1 on: August 31, 2015, 05:14:46 AM »
I found these values elsewhere on the forum, which seem to work for me:

display-timings {
+         native-mode = <&timing0>;
+         /* Settings for NHD-5.0-800480TF-ATXL#-T: */
+         timing0: 800x480 {
+            clock-frequency = <30000000>;
+            hactive         = <800>;
+            vactive         = <480>;
+            hback-porch     = <40>;
+            hfront-porch    = <40>;
+            hsync-len       = <48>;
+            vback-porch     = <29>;
+            vfront-porch    = <13>;
+            vsync-len       = <3>;
+            hsync-active = <0>;
+            vsync-active = <0>;
+         };

Not sure why some of these numbers don't match the datasheet.

 

NHD‐3.5‐320240MF‐ATXL#‐T‐1 Touch Signal

Started by jmasamotoBoard TFTs

Replies: 1
Views: 2093
Last post February 05, 2016, 08:05:40 AM
by Paul_B
NHD‐3.5‐320240MF‐ATXL#‐CTP‐1 Problem with standby mode

Started by guenterBoard TFTs

Replies: 0
Views: 1929
Last post June 16, 2016, 12:14:36 PM
by guenter
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 3383
Last post September 25, 2015, 03:09:24 PM
by Paul_B
NHD-3.5-320240MF-ATXL#-CTP-1 Ft5x06 Linux device tree

Started by rajarajan.rBoard TFTs

Replies: 1
Views: 2411
Last post July 05, 2016, 01:21:43 PM
by UART
help! NHD-4.3-480272EF-ATXL#-T touch panel rotates 90 degrees

Started by knightsunBoard TFTs

Replies: 3
Views: 1204
Last post September 26, 2016, 11:58:01 PM
by knightsun