Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display bug #6234

Closed
stevenzhang2024 opened this issue May 17, 2024 · 2 comments
Closed

Display bug #6234

stevenzhang2024 opened this issue May 17, 2024 · 2 comments

Comments

@stevenzhang2024
Copy link

stevenzhang2024 commented May 17, 2024

LVGL version

v9.1

What happened?

the ltdc driver is ok.
微信图片_20240517100147

When we port LVGL9.1. Display like this,is the config error or other problems?

微信图片_20240517100418

How to reproduce?

/Color depth: 8 (A8), 16 (RGB565), 24 (RGB888), 32 (XRGB8888)/
#define LV_COLOR_DEPTH 16
/1: Enable system monitor component/
#define LV_USE_SYSMON 1
#define LV_USE_OS LV_OS_FREERTOS

@stevenzhang2024 stevenzhang2024 changed the title Display is Display bug May 17, 2024
@dennisye963
Copy link

It seems like you are missing color depth conversion, something like "convert_color_depth" function in lvgl/src/extra/libs/png/lv_png.c

@stevenzhang2024
Copy link
Author

stevenzhang2024 commented May 17, 2024

Oh ,no. The problem is stm32h7xx cache. SCB_EnableICache();SCB_EnableDCache();SCB->CACR|=1<<2; //FORCE D-Cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants