RA6M3G GUIX 7" Screen Rotation Problem

Mahmut Kocaman 0 Reputation points
2023-02-20T07:47:39.03+00:00

Hello everyone. I want to use GUIX in my 7" TFT project. Images are displayed normally on the screen. But when I want to rotate the screen 90 degrees, the text rotates 90 degrees, but the images do not rotate and the pixels crash. I tried almost all kinds of settings in the Configure Project in the GUIX application. But the result is still the same. "Allocate When I check the "canvas memory" section, I get a RAM error because of the 800x480 resolution. I think the GUIX application does not see SDRAM. The images are printed from SDRAM normally, but if I mark that canvas memory section, I get a RAM overflow error. Please help with this, I'm so overwhelmed with screen rotation and the project is not progressing. I'm attaching the project if you want to review it.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
331 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,266 Reputation points
    2023-02-20T16:16:41.9733333+00:00

    Hello Mahmut Kocaman, Thanks for reaching out on this forum,

    Are you Sure that the GUIX display driver and the underlying hardware are both configured to support screen rotation?

    You may want to check the memory allocation settings in the GUIX application. Make sure that the memory allocation is set correctly for the 800x480 resolution and I hope the SDRAM is properly configured and recognized by the GUIX application!!!

    If you have already configured the display driver correctly, you may need to modify your application code to handle the screen rotation. This may involve adjusting the coordinates of graphical objects and images, as well as any related operations such as clipping and scrolling., this may be related to the way the image data is being stored and processed in memory. One possible solution could be to convert the image data to a format that can be easily rotated, such as a bitmap. You could also try using a different image library or driver that has better support for image rotation.

    Coming to the RAM error, you may need to optimize the memory usage in your application, or consider upgrading the hardware to increase the available memory.
    If the issue persists, you may want to consider reaching out to the GUIX support team for further assistance, I would recommend reaching out to the Azure RTOS support team for further assistance by commenting in the below section.


    If this answers your query, do click Accept Answer and Yes for this answer as helpful. And, if you have any further query do let us know by commenting in the below section.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.