cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6DK - Display and Touch Driver Migration from Examples

akshaygs
Visitor

Greetings,

I am trying to do a POC of LVGL migration to the STM32N6DK, 
https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Projects/STM32N6570-DK/Examples/BSP

For the POC i tried porting the LVGL into FSBL example above, but I ran into memory overflow issues.

So for the next step, I cloned and tried to port the drivers and dependent files into this repo's application project:

https://github.com/stm32-hotspot/STM32N6_FSBL_Modes/tree/main

In this I was able to display just the initial screen util clear screen function and then it crashes in the dma2d buffer transfer section, most likely the DMA2D CE bits were not being set and the timeout is not triggered because the hal tick fails and it is stuck in the while loop.

Either way, I am unsure of the best approach, my goal is simple, to get a barebones LCD and touch working in the application region and link it with LVGL library to do the UI for my POC. 

Could anyone please guide me to get the fastest approach to getting the display working in the application code

 

Thank you

0 REPLIES 0