-
nRF54L15-DK. PCA10156
-
OLED SSD1306 128x64.
-
ncs v3.0.1
-
Refer to zephyr/samples/subsys/display/lvgl.
-
I don't know why the display screen arose a snowflake screen.
-
Do you know what the LVGL is related to sdd1306?
Hello,
I have seen that you have commented out the SSD1306 device node from your overlay file, that is because you have used arduino shield. You have to add the shield in the device tree overlay file under the i2c1 node like following way (pointing this arduino_i2c: &i2c21 {};)
&i2c21 {
compatible = "nordic,nrf-twim";
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
zephyr,concat-buf-size = <4096>;
pinctrl-0 = <&i2c21_default>;
pinctrl-1 = <&i2c21_sleep>;
pinctrl-names = "default", "sleep";
};
arduino_i2c: &i2c21 {};
&pinctrl {
i2c21_default: i2c21_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 11)>,
<NRF_PSEL(TWIM_SCL, 1, 12)>;
bias-pull-up;
};
};
i2c21_sleep: i2c21_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 11)>,
<NRF_PSEL(TWIM_SCL, 1, 12)>;
low-power-enable;
};
};
};
In the prj.conf file, you should not coment out
CONFIG_SSD1306=y and CONFIG_I2C=y.
Hello,
I have seen that you have commented out the SSD1306 device node from your overlay file, that is because you have used arduino shield. You have to add the shield in the device tree overlay file under the i2c1 node like following way (pointing this arduino_i2c: &i2c21 {};)
&i2c21 {
compatible = "nordic,nrf-twim";
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
zephyr,concat-buf-size = <4096>;
pinctrl-0 = <&i2c21_default>;
pinctrl-1 = <&i2c21_sleep>;
pinctrl-names = "default", "sleep";
};
arduino_i2c: &i2c21 {};
&pinctrl {
i2c21_default: i2c21_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 11)>,
<NRF_PSEL(TWIM_SCL, 1, 12)>;
bias-pull-up;
};
};
i2c21_sleep: i2c21_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 11)>,
<NRF_PSEL(TWIM_SCL, 1, 12)>;
low-power-enable;
};
};
};
In the prj.conf file, you should not coment out
CONFIG_SSD1306=y and CONFIG_I2C=y.