Skip to content

A suggestion on LCD peripheral (IDFGH-7191) #8790

@ivor-lin

Description

@ivor-lin

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when I use LCD peripherals.
SPI master settings cannot be configured in function esp_lcd_new_panel_io_spi(), but I want to change TX to LSB first, to ensure the color of my LCD is correct.

Describe the solution you'd like

in /esp-idf/components/esp_lcd/src/sep_lcd_panel_io_spi.c,

spi_device_interface_config_t devcfg = {
        .flags = SPI_DEVICE_HALFDUPLEX,

The flag can be set as a parameter to ensure the flexibility of the SPI master device driving the screen.

Describe alternatives you've considered

Give some extra functions of API to change these settings.

Chinese

LCD外设生成的SPI主设备难以更改flag参数,但有屏幕修改LSB/MSB等一些需求。

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