Hi Robert,
I discovered that the issue is in the ESP32's I2C driver.
First I tested in the BluePill (stm32f103-minimum) and the LCD worked fine.
Editing the esp32_i2c.c and changing the FIFO from 255:
#define I2C_FIFO_SIZE (32)
fixed the error sendblk timeout.
But the LCD image is not good as
I attached, but our infra email server remove it
I renamed it to .txt, let's try again.
BR,
Alan
On 11/10/22, Robert Alexa wrote:
> Hi Alan,
>
> I think you forgot to attach the config file or am I missing something?
>
> On Thu, 10 Nov 2022 at 15:07, Alan C. Assis wrote:
>
>> Hi Robert,
>>
>>
Hi Alan,
I think you forgot to attach the config file or am I missing something?
On Thu, 10 Nov 2022 at 15:07, Alan C. Assis wrote:
> Hi Robert,
>
> I confirmed your issue:
>
> nsh> nxhello
> nxmu_start: Starting server task
> ssd1306_setpower: power: 1 [0]
> ssd1306_sendblk: ERROR: I2C_TRANSFE
Hi Robert,
I confirmed your issue:
nsh> nxhello
nxmu_start: Starting server task
ssd1306_setpower: power: 1 [0]
ssd1306_sendblk: ERROR: I2C_TRANSFER failed: -110
board_lcd_initialize: Bound I2C0 to OLED 0
ssd1306_setpower: power: 1 [0]
ssd1306_setpower: power: 1 [1]
ssd1306_getvideoinfo: fmt: 0 x
Hi Alan,
I've modified my defconfig file so that it looks almost exactly the same as
the one you mentioned. I'm attaching it to this email so that you can have
a look at it.
Regarding the I2C address, I've used i2ctool and confirmed that the OLED
display is discoverable and reachable at 0x3c. Thi
Hi Robert,
I suggest you to verify if all needed options for SSD1306 are met, you
can compare with other boards, i.e.:
arm/rp2040/raspberrypi-pico-w/configs/ssd1306/defconfig
Also you can enable the i2ctool (CONFIG_SYSTEM_I2CTOOL) to scan your
I2C bus to confirm the I2C OLED address.
BR,
Alan
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_SSD