SmartMatrix doesn't support FM6126A driver chips


#1

Hi @Louis and @pinballsp

As a followup to P3-6432-2121-16S-D1.0 panels don't work at all

I was working with a chinese vendor who sent me a batch of returned RGBPanels that people couldn’t get working with arduino solutions
http://amazon.com/panels-digital-module-display-P3-19296mm/

Then I found this comment
https://www.amazon.com/gp/customer-reviews/R3VUW9QT0199LE/ref=cm_cr_arp_d_rvw_ttl?ie=UTF8&ASIN=B079JSKF21
“The chips on this board are FM6126A. To drive them from a ESP8266 based Wemos D1 Mini Pro, I had to use the updated PxMatrix library from github (update as-of Jan 29, 2019), and change the code in the setup in my sketch, and a call to display.setDriverChip(FM6126A)”

I had a look in the lib, and found this code that’s different:




Amongst other things, the chip needs to be configured before taking to it, and then the protocol seems slightly different.

Given that the work has been done in PxMatrix, would it be easy enough to add in SmartMatrix?


P3-6432-2121-16S-D1.0 panels don't work at all
Has anyone used https://github.com/2dom/PxMatrix
#2

opened bug https://github.com/pixelmatix/SmartMatrix/issues/78


#3

This blog posts seems to have made it those panels work with SmartMatrix on teensy:


#4

I just ported this file so that it works on my rPi, ran it, and then plugged my Teensy with SmartMatrix code (unmodified), and things just worked.
So this confirms that the only problem is indeed the init necessary with those FM6126A chips:
https://github.com/hzeller/rpi-rgb-led-matrix/files/3100669/resetmatrix_adafruit.py.txt


#5

And here is a somewhat working reset script for teensy that I adapted from
http://bobdavis321.blogspot.com/2019/03/teensy-31-and-smartmatrix-sd-running.html: