HX8347-G driver code share

Author
govind_mukundan
Super Member
  • Total Posts : 188
  • Reward points : 0
  • Joined: 2009/05/12 23:50:07
  • Location: singapore/india
  • Status: offline
2012/01/05 03:51:34 (permalink)
0

HX8347-G driver code share

Hi, I just completed the mind-numbing task of changing the Microchip HX8347-D driver to support HX8347-G. If you are using HX8347-G, maybe you can use this code. I have added an additional API to read the contents of HX registers too (I found it useful to debug my wiring). I shall update this thread if I add more features. It's based on the old MAL though.. Govind
#1

5 Replies Related Threads

    atvar76
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2012/01/03 15:06:43
    • Location: 0
    • Status: offline
    Re:HX8347-G driver code share 2012/03/27 14:02:18 (permalink)
    0
    Hi Govind, thanks for your work! I'm about to use a display with HX8347-G, and I'm quite new to firmware. My question is: is your code right for PIC24FJ256DA210, using EPMP with 16 bit data bus, in 8080 MCU type I ? If so, maybe I will have to ask you again for other question! Thank you FG
    #2
    Badreddine
    New Member
    • Total Posts : 27
    • Reward points : 0
    • Joined: 2010/06/24 03:47:31
    • Location: 0
    • Status: offline
    Re:HX8347-G driver code share 2012/08/10 03:42:54 (permalink)
    0
    Hi govind_mukundan
     
    How did yoiu set the GAMMA parameters. Is it by pratical tests?
    I am struggling to understand how to set it?
     
    Thaks & Regards,
    Badreddine
    #3
    govind_mukundan
    Super Member
    • Total Posts : 188
    • Reward points : 0
    • Joined: 2009/05/12 23:50:07
    • Location: singapore/india
    • Status: offline
    Re:HX8347-G driver code share 2012/10/05 08:09:18 (permalink)
    0
    Hi,
     
    Sorry I haven't been following the thread. Please PM me if you have any questions. It should work with PIC24FJ256DA210 if it has a PMP, BUT PIC24FJ256DA210 actually has an inbuilt graphics controller. So if your intention is to use this graphics controller then you should bypass the HX8347. The way to do that is to set HX in "RGB mode". When you do this HX allows you to drive the display directly as if it were not present. I have tried to explain these things in my blog -->
    http://desultoryquest.com/blog/one-minute-introduction-to-graphics-tft-lcds-for-embedded-folks/
     
    Govind
    #4
    govind_mukundan
    Super Member
    • Total Posts : 188
    • Reward points : 0
    • Joined: 2009/05/12 23:50:07
    • Location: singapore/india
    • Status: offline
    Re:HX8347-G driver code share 2012/10/05 08:13:05 (permalink)
    0
    Regarding the Gamma parameters, I didn't do any tests. Generally you get these parameters from the guys who make the display. I just copied the parameters from their reference. I've never really had the time to play around with those settings :-( If you learn something, post it here or somewhere else :D
    #5
    shreyas_patel21
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2011/01/07 05:43:50
    • Location: 0
    • Status: offline
    Re:HX8347-G driver code share 2012/11/30 04:11:48 (permalink)
    0
    hi govind,
     
    I am using MTF0280QN-18 LCD which has HX8347-G display driver IC.
     
    I tried the code using NIOS ii processor, but there is no display on LCD.
    I also tried to read the LCD driver ID from 00h register, it should read 47h but it gives 00h in my case.
    What should be the problem,
    What is the difference between HX8347-G and HX8347-D?
    if LCD initialization is not done properly, can we read driver ID?
    thank you,
    regards,
    shreyas.
    #6
    Jump to:
    © 2017 APG vNext Commercial Version 4.5