LVGL Sample Does Not Work With STM32H747I-DISCO Board #60888
-
I am attempting to run the LVGL sample application with the STM32H747i-Disco board. I follow the steps on the Zephyr board page [https://docs.zephyrproject.org/latest/boards/arm/stm32h747i_disco/doc/index.html]: I activated the console output to usuart1 which directs to the USB CDC on the dev kit. The console output indicates a boot failure: Could the LVLG sample be made to work with the dev kit? |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 11 replies
-
Hi @nluckblurpd! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
Testing on my stm32h747 disco kit (note that I removed CONFIG_LV_Z_SHELL=y and added CONFIG_LV_Z_POINTER_KSCAN=y to the prj.conf)
|
Beta Was this translation helpful? Give feedback.
-
Thanks for checking on it. I made the changes to proj.conf you indicated above. Still, it doesn't run on my two dev kits. On each, I get the following console output:
I wonder if you have an older dev kit with different hardware? I just ordered my two from Mouser last week. I can't think of anything else that might be different. Both my display modules indicate a revision of MB1166-A09, whereas yours indicates MB1166-A03 on the sticker. Do you have any suggestions on how I can debug further? |
Beta Was this translation helpful? Give feedback.
-
yes, probably old LCD shield : mine is MB1166 -A03 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am not really aware of this dma2d of the stm32H747 |
Beta Was this translation helpful? Give feedback.
-
Moved to a discussion as now issue for now. |
Beta Was this translation helpful? Give feedback.
-
I just received my devkit with an A09 shield and I have the same issue that it is not working. Was that solved somehow? |
Beta Was this translation helpful? Give feedback.
-
I experienced the same issue. Any chance of fixing this? |
Beta Was this translation helpful? Give feedback.
-
Hi @maxhbr, as you can see here STM32CubeH7 & here community.st.com the newer stm32h747i_disco kits use a different revision of MB1166 display shield that has the panel controller NT35510, which is not currently supported in zephyr. Only the revisions of MB1166 prior to A09 (that use OTM8009A) are currently supported. |
Beta Was this translation helpful? Give feedback.
-
Added new PR #70350 :) |
Beta Was this translation helpful? Give feedback.
-
I also want to use DMA2D, almost a must to get reasonable performance on demos |
Beta Was this translation helpful? Give feedback.
-
On my hardware i also noted that i got inconsistent touch coordinates, see log below [00:13:51.856,000] ft5336: ft5336_process: points: 1, touch_id: 1, row: 0, col: 290 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You could also try updating LVGL to latest version, i did that when testing
the shield
I dont remember why i had to do that, maybe it was because the DMA clock
problem you mentioned
I have no access to my computer right now but can take o look tomorrow to
see which LVGL version i use
Den lör 4 maj 2024 14:43KoenVda88 ***@***.***> skrev:
… I tried to run the benchmark tool also with CONFIG_STM32_LTDC_ARGB8888=y
inside the shield config. But with or without DMA I get the same problem.
i also tried set the pixel-format = <PANEL_PIXEL_FORMAT_ARGB_8888>; in
<dc which has no visible effect
For the DMA I do always get this warning during compilation: *LVGL can't
enable the clock of DMA2D*. To solve it I just placed the clock inits
outside the #elif defined(STM32H7). If I don't do this the DMA is not
working at all.
These are my changes:
align_issue_stm32.patch
<https://github.com/zephyrproject-rtos/zephyr/files/15209746/align_issue_stm32.patch>
stm32_dma_clk.patch
<https://github.com/zephyrproject-rtos/zephyr/files/15209747/stm32_dma_clk.patch>
—
Reply to this email directly, view it on GitHub
<#60888 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4NPBTFNPI23L7B6FCP5QTZATJV7AVCNFSM6AAAAABBEXJUSWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TGMJTGYZDO>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Actually i haven't tried the benchmark demo, just tried the other demos, think it was called widgets or music |
Beta Was this translation helpful? Give feedback.
Added new PR #70350 :)