ESP32-HUB75-MatrixPanel-DMA
ESP32-HUB75-MatrixPanel-DMA copied to clipboard
Conflict with AsyncHTTPSRequest_Generic
I found a problem when using the this library and AsyncHTTPSRequest_Generic. If I activate this library, responses to requests from AsyncHTTPSRequest_Generic come significantly later than without it. Is there any workaround?
Hi @m-maazi what do you mean with activated? You just initialized the display or do you already feed it?
Hi. Thanks for helping. I have 4 functions. 1st one initializes the display with welcome screen. 2nd one tries to connect to Wifi. 3rd one uses AsyncHTTPSRequest_Generic to get data from server periodically. 4th one updates that data on display periodically. Changing initialization arrangement didn't do any good. If I don't execute function 1 (and 4), then function 3 gets data from server almost immediately. but with display in play, it takes about 4 seconds. There may be some common resource (like timers or interrupts) usage conflict in these two libraries.
Can you elaborate on what exactly Step 4) is? 'Updates the display' means that you're doing graphics drawing routines = CPU bound stuff.
Or is just setting display begin already delaying it?
Hi. Display shows 8 rows of numbers in white and no graphics. I use TaskSheduler to manage functions. None of my functions take more than 25 ms to execute. I send post request to server and AsyncHTTPSRequest_Generic uses a callback function to notify me when response arrives. Something prevents that callback from executing in time.