mrcodetastic / ESP32-HUB75-MatrixPanel-DMA

An Adafruit GFX Compatible Library for the ESP32, ESP32-S2, ESP32-S3 to drive HUB75 LED matrix panels using DMA for high refresh rates. Supports panel chaining.
MIT License
881 stars 196 forks source link

HUB75E Not showing proper output when interfaced with ESP32S3 #636

Open apurva-peppermint opened 1 month ago

apurva-peppermint commented 1 month ago

Hi, I am currently using ESP32-S3-WROOM-2 devkitC to drive a 64x64 (2 chained panels) LED Matrix panel. I am using Arduino IDE 2.1.1 and the master branch of this library. I have gone through the issues related to the ESP32S3 and have checked all the possible solutions as provided in these issues and still I am not getting proper output on the Display. For example, the simpleTestShapes code causes the code to stop in between and causes the esp32s3 core to reset and the bitmap code simply doesnt run. I am attaching a video below for reference. Also, I have followed the default connections as provided by the library and have connected GPIO 21 of the ESP32S3 to the Address Line E of the HUB75E Panel.

https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/assets/132329071/b2be7a05-22f2-4312-86c2-4fb3218096cb

mrcodetastic commented 1 month ago

Power related I think.

apurva-peppermint commented 1 month ago

I am using a stable dc variable power supply unit to power the Displays. Also I have tried the code with esp32 and it works. It only has this issue on esp32s3 (wroom 1(N8R8) and wroom 2(N32R8) both)

apurva-peppermint commented 1 month ago

I am also trying to use esp-idf instead of arduino and I am facing some problems with it. I am currently using the 3.0.9 version of the ESP32-HUB75-MatrixPanel-DMA library at https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/tree/3d7c2dfa4f3305ed80a5a86401e7ef9ed68e8038. I got this one from https://github.com/acvigue/SmartMatrix-IDF/tree/main/components this git repo. I am attaching some screenshots for your reference. I am using the same CmakeLists.txt file which is there in the repo that I have mentioned.

Screenshot from 2024-05-30 13-07-31 Screenshot from 2024-05-30 13-07-42 Screenshot from 2024-05-30 13-08-01 Screenshot from 2024-05-30 13-19-34

apurva-peppermint commented 1 month ago

Hi @mrcodetastic managed to add the library as a component and build + flash the code successfully in the esp32s3. But now I am getting a watchdog trigger. I am attaching the output below Screenshot from 2024-05-30 16-02-33

mrcodetastic commented 1 month ago

The esp-idf has a function to disable the watchdog. I forget what it is, but put it at the start of the app logic.

The arduino framework does this automatically I think.

apurva-peppermint commented 1 month ago

Hi @mrcodetastic tried disabling the watchdog still no output on display it stays blank. The code was also not working with the arduino ide hence I shifted to idf but the result is same. Also, I cannot understand why the code wont run on esp32s3 but runs on esp32. Screenshot from 2024-05-31 10-26-26