Skip to content

A bug in the initialization section of the ST7789v display that does not allow the use of the Little Endian mode of the display port. #28254

@GNN3

Description

@GNN3

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

The display is not working
MCU: GD32F303RGT6
Display: ST7789, port TFT SPI0

In the current code, an incorrect value is written to the ST7789V_COLMOD register, 0x0055, which prevents the use of the Little Endian mode for the display.
Here is the corrected code:
ESC_REG(ST7789V_COLMOD), 0x0005,
ESC_REG(ST7789V_RAMCTRL), 0x0000, 0x00C8,

Bug Timeline

This is an old bug that forces the use of different "crutches" for correct operation, such as the Little Endian/Big Endian software conversion.

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

Current Marlin bugfix 2.1.x

Printer model

Anycubic Kobra 2 NEO

Electronics

Standart

LCD/Controller

ST7789, not RESET_PIN, not MISO_PIN, SPI0

Other add-ons

F_SPI 30MHz

Bed Leveling

ABL Bilinear mesh

Your Slicer

Other (explain below)

Host Software

OctoPrint

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions