board707 / DMD_STM32

STM32Duino library for RGB, Monochrome and Two-color led matrix panels
GNU General Public License v3.0
71 stars 22 forks source link

About the "Parrallel connection" method, how to connect the dot matrix screen to the MCU #76

Closed ShiPC123 closed 8 months ago

ShiPC123 commented 9 months ago

IN the link https://github.com/board707/DMD_STM32/wiki/Connections---Monochrome#connecting-more-than-one-panel I found that the matrix screen can be Parrallel connection, but in the example file, I found that the code only declares the following pins.

image image

But part of the actual HUB75 pin (such as R1 G1 B1 R2 G2 B2)is not used, how should I match the IO of the MCU with the lattice screen? Can you give me a wiring diagram? In addition, I found definitions of SCLK and CLK in the code. Is SCLK corresponding to LAT in HUB75E PORT and CLK corresponding to HUB75 PORT CLK? In addition the code uint8_t pins[] = {PA5, PA7, PA6}; // In CLK, row1, row 2

Pin PA7 which Note row1 ,what pin should I connect to the first dot screen in the first row

board707 commented 9 months ago

Hi The link that you mentioned named "Connections - Monochrome" The parallel connection mode is applicated only to monochrome HUB12 panels and not to RGB HUB75 ones.

ShiPC123 commented 9 months ago

Thank you very much In addition, I found definitions of SCLK and CLK in the code. Is SCLK corresponding to LAT in HUB75E PORT and CLK corresponding to CLK IN HUB75 PORT ?

ShiPC123 commented 9 months ago

Whether the RGB dot matrix screen supports ZIGZAG connection mode

board707 commented 9 months ago

I think so, it should work

ShiPC123 commented 9 months ago

In addition, I found definitions of SCLK and CLK in the code. Is SCLK corresponding to LAT in HUB75E PORT and CLK corresponding to CLK IN HUB75 PORT ?

board707 commented 9 months ago

Yes, SCLK in HUB12 corresponds to LAT signal in HUB75. The CLK signal has the same name and meanings both in HUB12 and HUB75 interfaces.