Teensy 3.6 with SSD1963 7" TFT LCD

Status
Not open for further replies.

BabySpinach

Active member
Hello all!

I am attempting to interface the following display with my Teensy 3.6:
Link to datasheets and specs:
http://www.sainsmart.com/sainsmart-...800-arduino-due-mega2560-r3-raspberry-pi.html

The backlight will be powered externally.

I've tried copying the exact pinout pins from the Duo library, (16 data pins, etc) but I just get a black screen when I turn it on and try to run the demo code.

I did find this one single GitHub reference for Teensyduino files:
https://github.com/Alkorin/teensyduino/tree/master/libraries/UTFT/tft_drivers/ssd1963/800

How would I go about finding out which pins should be connected to what?

I don't mind doing the dirty work and learning, I just need help getting started in what to edit to get this display working on my teensy. What specific pins is this driver looking for connections on and how would I manipulate that or find that information out?

Thank you for any help.
 
I would start here: https://github.com/Alkorin/teensyduino/blob/master/libraries/UTFT/hardware/arm/HW_Teensy3.h#L60 or better on you computer: <Arduino install dir>/hardware/teensy/avr/libraries/UTFT/arm/HW_Teensy3.h
with the USE_USER_PORTS definition enabled

Code:
// SET WHICH PIN DEFINITIONS TO USE HERE
// (only uncomment 1 of these 3 lines)
//
//#define PORTS  USE_B_D_PORTS
//#define PORTS  USE_C_D_PORTS
#define PORTS  USE_USER_PORTS

Connect display to Teensy
DB0 to Teensy pin 0
DB1 to Teensy pin 1
DB2 to Teensy pin 2
...
...
 
I would start here: https://github.com/Alkorin/teensyduino/blob/master/libraries/UTFT/hardware/arm/HW_Teensy3.h#L60 or better on you computer: <Arduino install dir>/hardware/teensy/avr/libraries/UTFT/arm/HW_Teensy3.h
with the USE_USER_PORTS definition enabled

Code:
// SET WHICH PIN DEFINITIONS TO USE HERE
// (only uncomment 1 of these 3 lines)
//
//#define PORTS  USE_B_D_PORTS
//#define PORTS  USE_C_D_PORTS
#define PORTS  USE_USER_PORTS

Connect display to Teensy
DB0 to Teensy pin 0
DB1 to Teensy pin 1
DB2 to Teensy pin 2
...
...

I ended up using the built in USE_B_D_PORTS configuration. Once I hooked up all the pins, I defined my constructor line with my pins:
UTFT myGLCD(SSD1963_800,3,4,9,10);

I also attempted to figure out how to use the new hardware define header file by adding it to the UTFT.h file:
Code:
#if defined(__AVR__)
	#include "Arduino.h"
	#include "hardware/avr/HW_AVR_defines.h"
#elif defined(__PIC32MX__)
	#include "WProgram.h"
	#include "hardware/pic32/HW_PIC32_defines.h"
#elif defined(__arm__)
	#include "Arduino.h"
	#include "hardware/arm/HW_Teensy3.h"
#endif

It's still not working.. When I power on the backlight with my external 5v supply (which is now getting extremely hot) and upload the code, nothing happens.. The screen is just black...(but the backlight has power and when I power the teensy, the screen receives power) I've double checked my pins. Did I do something wrong on the initial configuration? I'm trying to open my sketch from the UTFT ARM library folder, 800x480.

Thanks again!
 
My current solution to this is to order a new 7 inch display with an RA8875 controller, since I'll be wanting all available pins for inputs on this project.
 
Status
Not open for further replies.
Back
Top