This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TIVA graphics library

May I suggest that the WidgetMessageQueueProcess function be changed? Looping continuously processing all the messages in the queue can take a long time, and if you are communicating with a serial trunk that is timing critical, a device can fall off the trunk. Instead of:

while(g_ui32MQRead != g_ui32MQWrite)


change the while to if. That way the function can be called on a regular basis along with serial processing functions without having to make the serial functions interrupt routines. I haven't seen any difference in screen write time.  

  • I have opened up an issue with the software team containing your suggestion.  They will need to ensure that the change will not have any adverse affects on other use-cases that may exist for this API.  I do not have any estimate as to when they might be able to investigate and/or implement this change

    --Bobby

  • No problem. I understand others may expect all messages be processed at once, but if you have a large screen that can take a long time to switch between screens and precludes doing anything else during that time except interrupts. The slider can be a big offender. If the customer slides back and forth quickly it basically hangs everything up until they stop.

    What about my other suggestion? There hasn't been any comment on that.

    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/334112.aspx

  • I've added a note to the software issue to refer to that forum post as well.

    --Bobby