RMT + wifi interference solved by mem_block_num?
Posted: Tue Feb 02, 2021 8:38 am
Hi,
I have 117 RGBW neopixel leds connected to an RMT channel. (= 117 x 32byte to write)
If I don't use wifi it all works fine but as soon as I enable wifi I see some unwanted leds go on and off (very short, flickering).
I checked the hardware and the interference did not come from power supply or connection cables.
Then I did some more testing and if I increase the parameter mem_block_num the flickering becomes less.
In my case the flickering is completely gone if I set this parameter to 7.
Can somebody explain me what is happening?
What if you connect more leds, the parameter is already at its maximum?
Korstiaan
I have 117 RGBW neopixel leds connected to an RMT channel. (= 117 x 32byte to write)
If I don't use wifi it all works fine but as soon as I enable wifi I see some unwanted leds go on and off (very short, flickering).
I checked the hardware and the interference did not come from power supply or connection cables.
Then I did some more testing and if I increase the parameter mem_block_num the flickering becomes less.
In my case the flickering is completely gone if I set this parameter to 7.
Can somebody explain me what is happening?
What if you connect more leds, the parameter is already at its maximum?
Korstiaan