2022-08-22 11:29 PM
Hi...
I am working on stm32f746g board with display resolution of 480 x 272 . I have configured LTDC in 2 layers. One layer contains Gauge image & another with Needle image. Right now it is displaying static images of both gauge & needle. I want to move the needle. Does anyone knows how to move the needle by giving some values?
I want to know without using Touchgfx ,Embedded wizard kind of IDE's can we display a static as well as dynamic images like Gauge with needle rotating at user defined speed.
2022-08-23 03:37 AM
Image rotation by an arbitrary angle is not supported/accelerated in hardware. If the needle consist of few lines, polygons, ..., compute rotated coordinates and draw it from scratch each time the needle is moving. If the needle is a sophisticated pixel image, you need to implement image rotation yourself, probably with pixel interpolation, or, if the external flash size permits, pre-compute 100 or so rotated needle images and store them in flash.
hth
KnarfB
2022-08-23 05:31 AM
Thank you for the reply.
I tried by Touchgfx IDE .It is working fine when FREERTOS has enabled. But when the same thing I try to do by disabling FREERTOS it is not working. What is the issue I am not getting. As I was unable to display without FREERTOS, I tried just by using two LTDC layer, now I got to know it will be little complicated when I go higher level.
The files configured with RTOS & without RTOS I have given below . Please go through those if possible & if any suggestion please let me know .
Pooja M
2022-08-23 08:23 AM
Your zip seems as project from TouchGFX ... designed and optimized for RTOS.
For noOS you need create project from scratch and no edit some parts...
2022-08-23 09:56 PM
Thank you for the reply.
Your second point is not clear , what do you mean by creating from scratch & no edit some part . Can you please explain it.
I tried to do as per this link , but Its not working.
https://community.st.com/s/question/0D53W00000HNRWBSA5/how-to-run-touchgfx-without-rtos
Pooja M
2022-08-23 11:25 PM