TouchGFX OSWrappers function "waitForVsync" got stuck into "for" loop forever.
Hi,
I am using STM32L4 series controller with FREERTOS configuration, i found that sometimes my code gets stuck into "for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext )" under "vListInsert" function.
I am using timer for VSync, which having priority of 6 and
configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY to 5.
There are only tow number of task,
- Main task - Priority 2
- GUI task(TouchGFX GUI task) - Priority 3
Please find attached snap-shot of debugging window.
High priority task(TouchGFX GUI task) gets blocked by "for" loop forever, system never get chance to other other task and whole system hanged up there.
Could you help me out with this?
Thanks!!!