After including some time critical realtime process to the mcu application which also handles a display flickering occurs.
The project allready uses double buffering and i found that the flickering occurs when the GUI_MultiBuf_Begin function is called.
(I set a breakpoint to the function call and when i step over the function the flickering occurs)
Thinking a bit deeper into it, it seems a legible question wether it's really necessarry for this function to do something which can cause flickering...
I made an experiment where the GUI_MultiBuf_Begin runs through without getting interrupted by the realtime process and the flickering is nearly gone. (But of caurse this will not work as the realtime process needs to be high prio)
Meanwhile i enabled tripple buffering to give it a try but of course the flickering still occurs, as the flickering is not because of a delayed switch of the buffer (when vsync interrupt occurs) - it seems to have a different cause which lies inside the GUI_MULTIBUF-Begin.
I also ensured that the flickering can not occur because of emv issues as i disabled all output ports of the realtime process.
Any ideas?
The project allready uses double buffering and i found that the flickering occurs when the GUI_MultiBuf_Begin function is called.
(I set a breakpoint to the function call and when i step over the function the flickering occurs)
Thinking a bit deeper into it, it seems a legible question wether it's really necessarry for this function to do something which can cause flickering...
I made an experiment where the GUI_MultiBuf_Begin runs through without getting interrupted by the realtime process and the flickering is nearly gone. (But of caurse this will not work as the realtime process needs to be high prio)
Meanwhile i enabled tripple buffering to give it a try but of course the flickering still occurs, as the flickering is not because of a delayed switch of the buffer (when vsync interrupt occurs) - it seems to have a different cause which lies inside the GUI_MULTIBUF-Begin.
I also ensured that the flickering can not occur because of emv issues as i disabled all output ports of the realtime process.
Any ideas?