- Tue Feb 15, 2011 6:43 pm
#120359
It seems the RGB Matrix can be pushed into a non-working state where a re-flash is necessary to restore functionality.
Using an Arduino as SPI master, this is my test code:
At this point, a re-flash of the firmware is necessary to restore functionality.
Has any other RGB Matrix owners experienced this? If not, are you able to re-produce the problem?
I'm trying to figure out if my matrix is defective and needs to be replaced, or if I'm doing something wrong...
- Johannes
Using an Arduino as SPI master, this is my test code:
Code: Select all
This will at first result in random colors on the LED Matrix as expected. However, after a few seconds the display will freeze up completely. Resetting it sometimes results in the "Ready State" pattern appearing (RRGGBB), but no response to any SPI data. Other times it responds to SPI data, but the rows/cols are mixed up resulting in seemingly random positions of the pixels.void setup() {
SPI.begin();
SPI.setClockDivider(SPI_CLOCK_DIV64);
}
void loop() {
digitalWrite(SS, LOW);
for (int i = 0; i < 64; i++) {
SPI.transfer(random(255));
}
digitalWrite(SS, HIGH);
delay(500);
}
At this point, a re-flash of the firmware is necessary to restore functionality.
Has any other RGB Matrix owners experienced this? If not, are you able to re-produce the problem?
I'm trying to figure out if my matrix is defective and needs to be replaced, or if I'm doing something wrong...
- Johannes