Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By sfranzyshen
#8716 code rewrite - this seems to work for me with 512 ws2812 leds at +25 fps
https://github.com/sfranzyshen/ws2812esp8266

check out the esp8266 tpm2net ws2812 driver that works with pixelcontroller, glediator, and jinx
https://github.com/sfranzyshen/esp8266_tpm2net_ws2812
User avatar
By RichardS
#8742 WOW interrupts off for 15mS, wonder what the watchdog is set at? and hitting it 25 times a second? so 40% of the time no interrupts.... and networking stays alive?

Richard.
User avatar
By sfranzyshen
#8775
admin wrote:WOW interrupts off for 15mS, wonder what the watchdog is set at? and hitting it 25 times a second? so 40% of the time no interrupts.... and networking stays alive? Richard.

the WDT has been disabled and everything else has been elimintaed (uart, etc) I have yet to physically hookup all 512 leds ... but I have tested it by sending the data ... I have experienced a few lockups (much less then with cnlohr's code) but when I run it with the tpm2net code it has run for (132 leds) a full day without any problems. I think this might be due to the fact that the hosting software (ie. pixelcontroller) actually only sends "updated" data and ignores the "unchanged" to reduce the overall network output ... not fully sure ... but it is working for me :D

ALSO: how else can this be accomplished without locking the interrupts? I have seen examples (outside sources ... not on the esp8266) that use either UART or SPI to handel it (by encoding the ws2812 protocol onto the underlying protocol ...) The only reason we are locking interrupts is to prevent interrupting the timing of the gpio switching ... so ... HOW?