On 5/18/23, Brennan Ashton <bash...@brennanashton.com> wrote:
> On Thu, May 18, 2023, 11:53 AM Alan C. Assis <acas...@gmail.com> wrote:
>
>> I don't think you can get ws2812 working directly using a GPIO over
>> bitbang, the protocol used by this chip is very time sensitive.
>> Actually even in SPI mode I failed to get it working, I tried it on
>> stm32f103-minimum and stm32f4discover because AFAIK originally Brennan
>> implemented and tested the driver in STM32.
>>
>> BR,
>>
>> Alan
>>
>
> I tested it on an nRF52 but I think others have use STM32.   It is
> particular since we are abusing SPI for something that looks kind of like
> SPI. I recommend using a logic analyzer to verify the waveform on the wire
> if debugging this.
>

Thank you Brennan, so it was nRF52!

There is also the RMT driver from Victor Benso:

https://www.youtube.com/watch?v=rmOh9iGzwtk

He submitted a PR to mainline: https://github.com/apache/nuttx/pull/6992

Maybe you can work with him to fix the remaining issue and get it merged!

BR,

Alan

Reply via email to