NHD-4.3-480800 HX8369 half pixel writes missing, resolution help

Comments

5 comments

  • Saurabh_B

    Hi Steph,

    I will be looking into this.

    My original Assumption is that the display requires 3 Bytes for 2 pixels in the horizontal direction. This is why were only writing 240 times.

    0
  • Steph101

    Hi,

    Ok thanks so much!
    Yes it seems that that is exactly what's happening, that I have 2x the writes, but I couldn't find a reason why. I thought I made a mistake with the pixel format but I did think it's correct to write 3x for RGB for each pixel, so 24 bits total.
    Let me know if you find anything, I'm at a loss

    0
  • Steph101

    Any luck looking into it?

    0
  • Saurabh_B

    Steph,

    The code sets up the display to write 1 pixel for every 3 bytes.
    For each write sequence we send it 6 bytes. So we send two pixels for each case.

    You can modify this by adjusting the Set Pixel Format register. You can find more information about this on page 200 of the controller datasheet.

    https://newhavendisplay.com/content/app_notes/HX8369.pdf

    0
  • Steph101

    Thanks!!
    I think I misunderstood something when reading about 'reads' and using a dummy write in between.
    I didn't realize all 6 bytes were read.

    Thanks very much!

    0

Please sign in to leave a comment.