Jump to content

pastaclub

Members
  • Posts

    4
  • Joined

  • Last visited

  1. I have ported the SSD1963 driver for ugfx-arduino, targeting Teensy 3.2. I'm using the same structure as the SSD1351 driver by crteensy. It's more or less working but colors are wrong. See this thread:
  2. I have ported the SSD1963 driver to ugfx-arduino. So far it's only targeted at Teensy, but it could probably be made to work with other boards by changing the board file. I made it work with a Teensy 3.2 with one problem. I can draw using GDISP and the pixels end up in the right position, however, the colors are wrong: apparently only 2 bits of the red and green channels and none of the red channel is used. I did not change the pixel format of the original driver (GDISP_PIXELFORMAT_RGB565). I assume it could have something to do with using 8 vs. 16 data ports, but I'm not sure. I also don't know how to change it. Any ideas how to fix this? The code can be found here: https://github.com/pastaclub/ugfx-arduino-gdisp-ssd1963 An example configuration can be found here: https://github.com/pastaclub/ugfx-ssd1963-config To install, copy both above repositories as sub-folders into your Arduino library folder. For an example application, just copy the one from ugfx-arduino and change the driver. This configuration assumes the following wiring for TFT->Teensy 3.2: Backlight=3V3, Reset=23, RS=28, WR=27, RD=33, CS=15, DB_0=15, DB_1=22, DB_2=23, DB_3=9, DB_4=10, DB_5=13, DB_6=11, DB_7=12, DB_8=2, DB_9=14, DB_10=7, DB_11=8, DB_12=6, DB_13=20, DB_14=21, DB_15=5
  3. It seems that SSD1963 does not use the RD port. I had a look at board_ssd1963_gpio.h. It defines two macros for setting and clearing this pin (Set_RD, Clr_RD), however Clr_RD is never called. Can RD simply be wired to VDD? (by the way, the UTFT library suggests wiring RD to VDD for SSD1963). And another question: am I right to assume that palSetPad sets any pin to low and palClearPad sets it to high? I am trying to convert the driver to Teensy and I am a bit confused because the naming seems to be inverse to what it supposedly does.
×
×
  • Create New...