You are reading a single comment by @parasquid and its replies. Click here to read the full conversation.
  • Hey Robin, it's alright I think I got it working. Thanks for bringing up the topic, otherwise I would have just given up. I even used your [055,055,055, 055,055,055, 055,055,055, 055,055,055] test (which lights up all pixels white btw, no green led for me).

    @Gordon it looks like LRCK is required to be defined, aside from SCK. I found a discussion on the nordic forums here:­q-a/55802/driving-ws2812b-neopixels-with­-i2s-without-sck-lrck

    Doing something like:

    @@ -45,7 +45,7 @@ ret_code_t i2s_ws2812b_drive_xfer(rgb_led_t *led_array, uint16_t num_leds, uint8
            config.sck_pin      = 22;
    -       config.lrck_pin     = NRF_DRV_I2S_PIN_NOT_USED;
    +       config.lrck_pin     = 23;
            config.mck_pin      = NRF_DRV_I2S_PIN_NOT_USED;
            config.sdout_pin    = drive_pin;
            config.sdin_pin     = NRF_DRV_I2S_PIN_NOT_USED;

    gets everything working.

    I haven't tested and compiled with the nRF52832 boards with LRCK defined though, so I'm not sure if that would affect any of the functionality of the official boards.

    Edit: the forum seems to mess up the diff, so here's a screenshot

    1 Attachment

    • Annotation 2020-10-04 030913.png

Avatar for parasquid @parasquid started