How to display buf in SSD1327 OLED use lvgl

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Be sure you have checked the FAQ and read the relevant part of the documentation.
  • If applicable use the Simulator to eliminate hardware related issues.

Delete this section if you read and applied the mentioned points.


What MCU/Processor/Board and compiler are you using?

Using Renesas RA4M2

What LVGL version are you using?

It’s the latest version.

What do you want to achieve?

I want to display buffer or image using ssd1327.
but i can not find "lv_disp_drv_t "

What have you tried so far?

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

This is my code

void hal_entry(void)
    /* TODO: add your own code here */


    fsp_err_t err = R_SCI_I2C_Open(&g_i2c9_ctrl, &g_i2c9_cfg);
    if(err == FSP_SUCCESS){

    // To create a display buffer
    lv_disp_t * disp = lv_disp_create(DISPLAY_WIDTH, DISPLAY_HEIGHT);
    lv_disp_set_flush_cb(disp, dummy_flush_cb);

    // Draw bufffers
    lv_disp_set_draw_buffers(disp, buf, NULL, sizeof(buf), LV_DISP_RENDER_MODE_DIRECT);
    // Display driver 


Screenshot and/or video

If possible, add screenshots and/or videos about the current state.
“lv_conf.h”, “lvgl folder” path is right??

Please use the release/v8.3 branch if you would like to use get started with LVGL. In v8.3 you will find the lv_disp_drv_t structure too.

I found lv_disp_t instead lv_disp_drv_t.
But I dont know how to show buffer to use ssd1327. Can you help me?

Do you already have a driver (independent of LVGL) for SSD1327?

No. I do not have

We don’t have built in support for that display controller, but you can find many example implementations to get started.

E.g. this the first one that I’ve found in Google: ssd1327/ssd1327.cpp at master · bitbank2/ssd1327 · GitHub

I can display lcd in buffer.
But i can not rotation this image.

Do you know how to rotation data in buffer when press the board button???

This button is hardware button.

This part might be useful: ssd1327/ssd1327.cpp at master · bitbank2/ssd1327 · GitHub