Open maksun opened 3 years ago
Hello,
Looks like this chipset is similar to the FM6126A as I managed to make it working with the "--led-panel-type=FM6126A" parameter. FYI, it was an ABCD panel style.
Regards,
Hello I am able to display something on matrix (ICN2038S). but refresh is bad. If anyone is interested I can post more here
I have a P2 panel with this same chip. While I can display something on the panel, the addressing isn't right I would be interested in knowing more about what you've been able to do.
most P2's have different row driver (320x160mm has 1/40 scan). This requires handling the row driver in addition to ICN2038s. please check your matrix. If your matrix is 256x128mm then you only need the ICN2038s driver (scan will be 1/32 which is OK.)
Yes, physical size is 256x128, with 128x64 pixels and 1/32 scan.
On Tue, Feb 23, 2021, 11:17 alsaleem00 notifications@github.com wrote:
most P2's have different row driver (320x160mm has 1/40 scan). This requires handling the row driver in addition to ICN2038s. please check your matrix. If your matrix is 256x128mm then you only need the ICN2038s driver (scan will be 1/32 which is OK.)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hzeller/rpi-rgb-led-matrix/issues/1207#issuecomment-784362558, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FYBUND37YFCI4GWZ7CETTAPPJDANCNFSM4UEIEZRQ .
here is the code
void matrix_write(uint16_t uVal, int width, int reg) { uint16_t value;
MTX_LAT_LOW();
MTX_CLK_LOW();
for (int i = 0; i < width; ++i) {
value = (uVal & (0x8000 >> (i%16))) ? BITS_ON : BITS_OFF;
if (i > (width - reg)) {
MTX_LAT_HIGH();
}
PIN_LOW(MTX_RGB_PORT, BITS_ON);
PIN_HIGH(MTX_RGB_PORT, value);
MTX_CLK_LOW();
MTX_CLK_LOW();
MTX_CLK_LOW();
MTX_CLK_HIGH();
MTX_CLK_HIGH();
MTX_CLK_HIGH();
}
MTX_CLK_LOW();
MTX_CLK_LOW();
MTX_LAT_LOW();
} void icn1038s_init() { matrix_write(ICN1038S_DEF_REG1, LED_WIDTH, ICN1038S_REG_1); matrix_write(ICN1038S_DEF_REG2, LED_WIDTH, ICN1038S_REG_2); } I repeated the clock/latch signals because my MCU is fast.
@alsaleem00 looks like the right solution for the ICN2038S. I am trying to get a 128x128 panel to work with this chip (https://github.com/hzeller/rpi-rgb-led-matrix/issues/1713).
Your code does not look like it is written for hzellers library. If you could give more (code) context that would be helpful.
This code was written for STM32F722. The PIN_/MTXCLK/MTXLAT/MTX_CLK_to control the pin directly.
Hi Alsaleem00, Thanks for your reply.
Op za 19 okt. 2024 13:14 schreef alsaleem00 @.***>:
This code was written for STM32F722. The PIN_/MTXCLK/MTXLAT/MTX_CLK_to control the pin directly.
— Reply to this email directly, view it on GitHub https://github.com/hzeller/rpi-rgb-led-matrix/issues/1207#issuecomment-2423767408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AURIRCSVZXK4X3OMQ73FYUTZ4I5KNAVCNFSM6AAAAABQHLKGKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTG43DONBQHA . You are receiving this because you commented.Message ID: @.***>
Hello,
I just would like to know if someone here managed to make this panel working? I'm using the active board from electrodragon, I'm trying to help a friend so I did some research and read the following:
"Check the controller chip that install the LED panel, if are ICN2038S or FM6126, those are not compatible Smartmatrix because these chips require three clock pulses by Latch."
I will tell my friend to try the led panel type FM6126 in case of... Any advice is welcome ;)
Thank you.