I recently purchased a RA8875 Driver board and a 7" TFT Display (w/o Touchscreen).
I followed the primary guide posted by Adafruit to use with an Arduino Uno and wired it up accordingly. I am powering the driver and the Arduino with a 12V/3A power supply.
After the display runs for a few seconds (rendering the correct image) it will revert back to a white screen.
The time it runs is variable, as it runs for about 15 seconds when I first plug it in, but each time I reset the Arduino, the duration it displays the correct image is less and less, until it runs for about 3 seconds.
I'm assuming something is going on with the power supply or something is getting out of sync. If anyone could provide any insight into the problem, it would be greatly appreciated.
Here is the code that I am currently running, however, even the example sketches will have the same effect.
Code: Select all
#include <SPI.h>
#include "Adafruit_GFX.h"
#include "Adafruit_RA8875.h"
#include "pixelColors.h"
#define RA8875_CS 10
#define RA8875_RESET 9
#define RA8875_WAIT 5
Adafruit_RA8875 display = Adafruit_RA8875(RA8875_CS, RA8875_RESET);
// -----------------------------------------------
void setup() {
Serial.begin(9600);
if(!display.begin(RA8875_800x480))
{
Serial.println("Failed to find RA8875 Display Driver.");
return;
}
Serial.println("Found RA8875 Display Driver.");
display.displayOn(true);
display.GPIOX(true);
display.PWM1config(true, RA8875_PWM_CLK_DIV1024); // PWM output for backlight
display.PWM1out(16);
}
void loop()
{
display.fillScreen(0xEF5D);
display.fillCircle(200, 240, 190, 0xAD55);
display.fillCircle(600, 240, 190, 0xAD55);
display.fillCircle(200, 240, 170, 0x2104);
display.fillCircle(600, 240, 170, 0x2104);
delay(1000);
}