cancel
Showing results for 
Search instead for 
Did you mean: 

I am currently facing the issue with continuously displaying UART data on LCD using TouchGFX

MPath.4
Associate II

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?

24 REPLIES 24
MM..1
Chief II

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 ...

MPath.4
Associate II

I'm sorry but I'm not able to understand what do you wanna say.

I'm sending you my project.

MPath.4
Associate II

I just don't understand why is it happening please help me.

Osman SOYKURT
ST Employee

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

Osman SOYKURT
ST Software Developer | TouchGFX

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.

 

Panchev68
Senior

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

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.

https://we.tl/t-R4AgLXgNCb 

And I have used a queue in the freeRtos after that also it shows a issue. 

https://we.tl/t-R4AgLXgNCb 

please see before it gets expire 

https://we.tl/t-MnMxAfWznG 

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.