defragster
Senior Member+
Yes 3X, that posted somewhere some few dozen or hundred(s) back in this long threadSeems in like with the application notes
Yes 3X, that posted somewhere some few dozen or hundred(s) back in this long threadSeems in like with the application notes
However there's 1 problem I can't solve. The display uses ST7277 to drive the actual pixels.
static constexpr uint32_t kHeight = 480;
static constexpr uint32_t kVerticalFrontPorch = 14;
static constexpr uint32_t kVerticalSyncWidth = 2;
static constexpr uint32_t kVerticalBackPorch = 14;
static constexpr uint32_t kWidth = 800;
static constexpr uint32_t kHorizontalFrontPorch = 6;
static constexpr uint32_t kHorizontalSyncWidth = 3;
static constexpr uint32_t kHorizontalBackPorch = 6;
static constexpr uint32_t kPixelClockNumerator = 25;
static constexpr uint32_t kPixelClockDenominator = 24;
static constexpr uint32_t kVsyncPolarity = 0;
static constexpr uint32_t kHsyncPolarity = 0;
LCDIF_VDCTRL0 = LCDIF_VDCTRL0_ENABLE_PRESENT |
LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT |
LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT |
LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH(config_.verticalSyncWidth) |
config_.vsyncPolarity |
config_.hsyncPolarity |
LCDIF_VDCTRL0_DOTCLK_POL;
It sure did!!!!Hope this helps!
I'm pretty sure eLCDIF can extend 16-bit data to 24-bit on its own, copying the highest bits into the lowest to maintain proper range. The ST7277 datasheet says it upconverts the same way, although I would have doubts on a screen that small having a full 8 bits of range anyway.
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_05 = 5; // Set mux to GPIO mode
GPIO1_GDIR |= (1 << 21); // Set as output
GPIO1_DR_SET = (1 << 21);
Nice. Will try it out
I follow your suggestions above regarding polarity for the control signals
But only got a stable image with a 30Mhz pixel clock speed.
Anything lower shows artifacts etc
What else is 'running' - maybe 30 MHz gets it done without interruption?lower shows artifact
Yep, this baffles me as well.So anything lower than 30mhz is giving you artifacts? A lot of artifacts?
I think the data sheet recommends a 25 mhz clock. This gives about a 60hz refresh rate. I've got mine set to 20mhz for a 50hz refresh rate.
I think you’re confusing the ST7277 which is used in these 7” bare displays (RGB interface) with the ST7735 which is found in smaller SPI based displaysst7735 conflicts with Audio
Obv. different display - just asking ... in case there was something else at playthink you’re confusing
Yes, that is messed up (shows in the A-H buttons & borders too). But not like what shows here where font pixels just went missing versus that 'tearing'. Good luck - that lower corner overlay text is the worst!see interference