RMT + wifi interference solved by mem_block_num?

korstiaan
Posts: 5
Joined: Tue Aug 04, 2020 5:29 pm

RMT + wifi interference solved by mem_block_num?

Postby korstiaan » 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

korstiaan
Posts: 5
Joined: Tue Aug 04, 2020 5:29 pm

Re: RMT + wifi interference solved by mem_block_num?

Postby korstiaan » Tue Feb 02, 2021 11:34 am

Update: It is not completely gone. I put it on 8 and then still some glitches.

Who is online

Users browsing this forum: Bing [Bot] and 99 guests