-
Notifications
You must be signed in to change notification settings - Fork 7.6k
samples: video: capture_to_lvgl: disable LVGL color swap for mini_stm32h743 #93069
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
base: main
Are you sure you want to change the base?
samples: video: capture_to_lvgl: disable LVGL color swap for mini_stm32h743 #93069
Conversation
Disable CONFIG_LV_COLOR_16_SWAP for the mini_stm32h743 board to ensure proper color display in the capture_to_lvgl video sample. Signed-off-by: Charles Dias <[email protected]>
|
I didn't notice issue on my side when trying with my boards (STM32 but not this board and not this sensor). Would it be also possible to confirm that the frame given by the sensor itself ? Is it possible for you to dump it into memory, say via GDB or something like that in order to inspect the data from an external machine ? UVC sample might be a candidate as well. I mean trying to figure out if that is an LTDC issue or a sensor / dcmi issue. |
Hi @avolmat-st, This board does not use the LTDC. The display is the model This problem doesn't exist with |
It looks like the image content is inconsistent with the overlay. Regardless the number of inversions that happens at every level, for sure, the LVGL image is considered with a different type as the LVGL driver.
Maybe setting this to a different value ( Also, it seems like like... Lines 304 to 306 in 322da1d
So v9.3.0... Let's ask |
Disable CONFIG_LV_COLOR_16_SWAP for the mini_stm32h743 board to ensure proper color display in the capture_to_lvgl video sample. Issue #93067
I don't know when this problem has begun, but the color format on capture_to_lvgl is broken for mini_stm32h743 and weact_ov2640_cam_module.
Command:
west build -p -b mini_stm32h743 --shield weact_ov2640_cam_module samples/drivers/video/capture_to_lvgl/ -- -DCONFIG_BOOT_DELAY=2000
Output image:

After disable the

CONFIG_LV_COLOR_16_SWAP
the color format is correct. However, the background on CPU and FPS monitor are is not good.