slow gauge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-27 9:23 AM
I am using a custom gauge, but the movement of the needle is always not very smooth.
is there any way to improve this?
- Labels:
-
STM32F4 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-28 12:42 AM
Hello @DDi S.1​ ,
Can you provide screenshots or share your whole project, so we can have a better understanding of what you call "not very smooth" ?
Thanks,
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-28 1:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-28 6:18 AM
Hello,
Could you share your video in this post ?
I cannot find it.
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-28 9:08 AM
oops!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-01 12:47 AM
Hello @DDi S.1​ ,
I still cannot open the video, sorry.
Can you maybe share a .avi file ?
Sorry for the inconvenience,
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-01 1:20 AM
Hi Yoann,
Here is the video in .AVI format
Thanks for your patience.
Domenico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-07 1:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-07 4:37 PM
Things you could try:
- put the needle image in internal flash, if not already the case
- check in the simulator which zones are updated when the needle is moving by pressing F2. Try to reduce those zones as much as possible.
- bitmap caching, preferably in internal RAM if you have enough as it is faster. Bitmap caching might seem complex at first but I think the article I shared explains the steps and what code to insert. Tell us if you struggle too much and on how we could improve our documentation :ok_hand:
​
Be still aware that achieving high performances on F4 chips with complex animations/full screen updates for large screens (800x480 is still fine) is not necessarily something we can promise (I still think doing some of the things above should help). I would just maybe recommend looking into the STM32F769 which has basically the same connectivity, the H7 family or even the new U5. But I am not marketing so I might be saying someone completely stupid :grinning_face_with_sweat:, especially as I am not sure of the price differences and delivery capabilities...
​
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-15 10:12 AM
Hi Romain
Unfortunately in this period the hardware choices must also be made according to what is on the market.
However, your suggestions have been invaluable.
Loading the images from the external flash to the SDRAM I had a clear improvement in performance.
Best regards
Domenico
