vindar / ILI9341_T4

Optimized ILI9341 screen driver library for Teensy 4/4.1, with vsync and diff. updates.
GNU Lesser General Public License v2.1
72 stars 12 forks source link

ILI9341_T4 freezes at _waitUpdateAsyncComplete with tsandmann/freertos-teensy #20

Open birdboat00 opened 2 months ago

birdboat00 commented 2 months ago

Hello,

i was using this library with the freertos port by tsandmann (tsandmann/freertos-teensy).

The problem is, it freezes at https://github.com/vindar/ILI9341_T4/blob/d9bea487d0fa38fc52ffb2bf9e8efc7b827a1cbc/src/ILI9341Driver.h#L1433 for some time and then continues, even the SPI clock freezes (atleast the LED stops blinking).

I suspect the problem is the yield(); function. It works without FreeRTOS.

Is this a problem with the freertos port or with this display driver?

Best regards

vindar commented 1 month ago

Hi,

I never used freertos myself so I do not know what is going on but the ILI9341_T4 library make heavy use of interrupts so I am not really surprised that it does not work... Do you have a simple (complete) example/sketch that I could try to replicate the issue ?

Best,