How do I report a bug in a component of the esp_lcd IDF framework
Posted: Mon Nov 06, 2023 10:11 am
I've been trying to use the SSD1306 LCD example, using the SPI interface rather than the I2C that the example uses.
(C:\Espressif\frameworks\esp-idf-v5.1.1\examples\peripherals\lcd\i2c_oled)
The display was wired correctly and worked with an Arduino project using a driver for the SSD1306.
Unfortunately the IDF code does not work without modification. The root cause was that the routine sending bytes was not keeping the C/D line level at the command level for all the bytes of the command, but switching the level back to data after the first byte.
I've fixed this for myself but would like to share the change, but do not know how to do this.
The problem is in this function...
panel_io_spi_tx_param()
in this file...
C:\Espressif\frameworks\esp-idf-v5.1.1\components\esp_lcd\src\esp_lcd_panel_io_spi.c
(C:\Espressif\frameworks\esp-idf-v5.1.1\examples\peripherals\lcd\i2c_oled)
The display was wired correctly and worked with an Arduino project using a driver for the SSD1306.
Unfortunately the IDF code does not work without modification. The root cause was that the routine sending bytes was not keeping the C/D line level at the command level for all the bytes of the command, but switching the level back to data after the first byte.
I've fixed this for myself but would like to share the change, but do not know how to do this.
The problem is in this function...
panel_io_spi_tx_param()
in this file...
C:\Espressif\frameworks\esp-idf-v5.1.1\components\esp_lcd\src\esp_lcd_panel_io_spi.c