Skip to content

ST7789 PIO driver sending flipped bytes #20

@sfe-SparkFro

Description

@sfe-SparkFro

Using the SPI driver, the first byte sent is 0x01 (reset command), as expected:

Image

Using the PIO driver, the first byte is flipped (LSB instead of MSB order):

Image

Above is with out_shiftdir = rp2.PIO.SHIFT_RIGHT. If it's changed to out_shiftdir = rp2.PIO.SHIFT_LEFT, then no data is output:

Image

According to the example that this driver is based on, it should shift left. Not sure what else needs to be changed to make it output correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions