moononournation / Arduino_GFX

Arduino GFX developing for various color displays and various data bus interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pico tailor-made 8bit parallel not working, only slow software parallel with NT35510

Cratylel opened this issue · comments

I have a generic rp2040 breakout board with 4MB flash. I have connected D0-D7 to GPIO 0-7 DC to 27, CS to 28, WR to 24, RD to 23. I have pulled CS LOW and RD HIGH, however when using Arduino_RPiPicoPAR8 bus the display appears to blink slightly while blank as if the backlight is quickly changed from 70% to 100% even though the backlight pin is constantly HIGH. With Arduino_SWPAR8 the display functions, but a fill takes 633ms.
I am using Earle Philhower Generic RP2040
Code:
#include <Arduino_GFX_Library.h>
Arduino_DataBus *bus = new Arduino_RPiPicoPAR8(27 /* DC */, 28 /* CS */, 24 /* WR */, 23 /* RD */);
Arduino_GFX *gfx = new Arduino_NT35510(bus, 26 /* RST */, 0 /* rotation */);
void setup(void)
{
Serial.begin(115200);
pinMode(28, OUTPUT);
pinMode(23, OUTPUT);
gfx->begin();
gfx->displayOn();
gfx->fillScreen(RED);
}
void loop(void)
{
}
The result is the dispay seems to blink slightly while blank. When using the same code but Arduino_SWPAR8 the display functions.

No idea what fixed this. My guess is the pull up resistor for reset and RD was not strong enough causing weird behaviour.