I am currently facing the issue with continuously displaying UART data on LCD using TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-17 5:39 AM
I am currently working on the STM32H750VB custom board where 16 bpp RGB LCD Interface is used. After sending the data for couple of times successfully on the LCD screen, it stops displaying the data. On debugging, I found out that it gets stuck on configASSERT( pxQueue->uxItemSize == 0 ) called from xQueueSemaphoreTake().
As I am new to freertos and TouchGFX, can you please provide me the insight to find the root cause?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-17 8:26 AM
Without see your code only crystal ball. Seems you use more threaded app and queues. Ball say your trouble is on other place , queue semaphore only wait for handle ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-18 10:07 PM - edited ‎2023-06-18 10:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-19 8:56 PM
I just don't understand why is it happening please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 5:39 AM
Hello @MPath.4 ,
I'm not able to open your project, can you zip it and send it again please? (not only the .cproject file).
What do you mean by "it stops displaying the data"? Do you have an entire black screen or is it refreshing data that doesn't work?
Also, did you succeed in configuring your screen without TouchGFX in first place? We have an article describing how to transfer pixel data from the internal RAM to the display, have you seen it?
/Osman
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 9:56 PM - edited ‎2023-06-20 9:58 PM
hello @Osman SOYKURT
My screen displayed perfectly the problem is when I send the data from access port through uart it also display it but only for 2-3 times after that when I again send the data it stuck at "configASSERT( pxQueue->uxItemSize == 0 )" this line when I stop debugging.
And yes I have read that article but for my board I configured LTDC
from https://www.buydisplay.com/download/ic/ILI6122.pdf
from this.I send you the file once again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-21 1:34 AM
There is no source code in the project you sent. So it will be very difficult for someone to answer you.
It is not a good idea to use a semaphore when receiving data over the UART. So it is possible to lose data. Use a queue or stream buffer.
Greetings Bobby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-21 9:26 PM
This is the link for the project since its size is larger than what is allowed to be uploaded in the forum, you can download from here, but it will expire in 24hrs so please try to see it before that.
And I have used a queue in the freeRtos after that also it shows a issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-22 9:06 PM
please see before it gets expire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-23 12:04 AM
Here is the new link please try to open it in 24hrs.
And I forget to tell that I'm not using SDRAM because it doesn't support in this board.
