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
952 stars 211 forks source link

Anyone had a weird colour/panel issues like this (Videos in post) with FM6126A? #301

Open IAmOrion opened 2 years ago

IAmOrion commented 2 years ago

Anyone seen an issue like this with the FM6126A chips? Half the panel doesn't work properly for specific colours (Blue and white at the very least in my case)

Watch the video https://youtube.com/shorts/Lsooh_Fq6xk

Watch the video https://youtube.com/shorts/Ftod6rLqdhg

(Side note: How do I embed YT videos!?)

ergindemir commented 2 years ago

Problem with B1 or B2 pin.

IAmOrion commented 2 years ago

Problem with B1 or B2 pin.

Maybe pin mapping perhaps??

If I use a Raspberry Pi Zero with the Adafruit RGB Matrix Bonnet, it works perfectly in all colours including blue and white. So it's potentially an ESP32 issue, or a library issue (Or I need to check pin config)

https://learn.adafruit.com/adafruit-rgb-matrix-bonnet-for-raspberry-pi/driving-matrices sudo ./demo -D0 --led-rows=64 --led-cols=64 --led-panel-type=FM6126A sudo ./demo -D4 --led-rows=64 --led-cols=64 --led-panel-type=FM6126A

mrcodetastic commented 2 years ago

Can you do a test and connect the R1, B1, G1 pins to the R2, B2, G2 output of the ESP32 and also the other way around (essentially draw the top half to the bottom of the panel, and the bottom half to the top)?

When you do this, do you get the issue in the SAME halves of the panel as it was originally (when connected correctly)?

IF so, then it indicates it's yet another issue with the 'secret' FM6126A initialisation registers potentially. Have you configured the ESP32 library with FM6126A as the panel type?