nrf54l15dk_nrf54l15_cpuapp OLED(SSD1603) + LVGL 报错:(Wrong round_cb or to small draw_buf)

使用例程 zephyr\samples\subsys\display\lvgl

LOG:

[00:00:00.942,649] <inf> app: display: ssd1306@0
[00:00:00.950,814] <wrn> lvgl: (0.950, +950) get_max_row: Can't set draw_buf height using the round function. (Wrong round_cb or to small draw_buf) (in lv_refr.c line #994)

[00:00:00.967,514] <err> ssd1306: Display buffer is not available
[00:00:00.974,545] <err> ssd1306: Display buffer is not available
[00:00:00.981,573] <err> ssd1306: Display buffer is not available
[00:00:00.988,609] <err> ssd1306: Display buffer is not available
[00:00:00.995,645] <err> ssd1306: Display buffer is not available
[00:00:01.002,682] <err> ssd1306: Display buffer is not available

...

&spi21 {
    status = "okay";
    pinctrl-0 = <&spi21_default>;
    pinctrl-1 = <&spi21_sleep>;
    pinctrl-names = "default", "sleep";
    // cs-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
    ssd1306: ssd1306@0 {
        compatible = "solomon,ssd1306fb";
        data_cmd-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
        spi-max-frequency = <20000000>;
        reg = <0x0>;  
        width = <128>;
        height = <64>; // Change to '64' when using the 128x64 pixel version.
        segment-offset = <0>;
        page-offset = <0>;
        display-offset = <0>;
        multiplex-ratio = <63>; //change to '63' when using the 128x64 pixel version
        segment-remap;
        com-invdir;
        com-sequential;
        prechargep = <0x22>;
    };
};
Related