Hi,

I'm trying to set up an OLED SSD1306 128x32 display with an ESP32-Wrover
board. The display module is connected through I2C and has only 4 pins
exposed: SCL, SDA, VCC, GND.

My custom config file starts from an esp32-wrover-kit:nsh to which I added:
CONFIG_LCD=y
CONFIG_LCD_DEV=y
CONFIG_LCD_SSD1306_CUSTOM=y
CONFIG_LCD_SSD1306_CUSTOM_DEV_NATIVE_XRES=128
CONFIG_LCD_SSD1306_CUSTOM_DEV_NATIVE_YRES=32
CONFIG_LCD_SSD1306_CUSTOM_DEV_XOFFSET=0
CONFIG_LCD_SSD1306_CUSTOM_DEV_PAGES=4
CONFIG_LCD_SSD1306_CUSTOM_DEV_CMNPAD=2
CONFIG_LCD_SSD1306=y
CONFIG_SSD1306_NUMDEVS=1

However, I'm encountering an issue at boot time regarding the I2C block
transfer.
ssd1306_setpower: power: 1 [0]
ssd1306_sendblk: ERROR: I2C_TRANSFER failed: -116
board_lcd_initialize: Bound I2C0 to OLED 0
ssd1306_setpower: power: 1 [0]
ssd1306_getplaneinfo: planeno: 0 bpp: 1

Interesting enough, it seems like the single transfer (ssd1306_sendbyte) is
working fine, the problem is only with the block transfer. Do you have any
ideas what might cause this?

Regards,
Robert

Reply via email to