nRF52832 PWM0 EasyDMA to stream to WS2812 string

I'm trying to setup an nRF52832 to drive 127 ws2812 by using PWM. It seems the bit-by-bit method is too slow for the 1.25uS period. pwm_set() is using somehow ~5ms, so that is not an option.

I would like to use EasyDMA to drive the PWM peripheral one stream of data that represents all '1's and '0's for all LEDs.

Is this possible in Zephyr, with nrf connect sdk 2.7.0? If so, is there a proper example for this?

The reason I want to use the PWM peripheral is because all other peripherals that could maybe do this (I2S, SPI) are already occupied.

Related