Sony's Developer World forum

    • Home
    • Forum guidelines

    On-board LEDs aren't working

    Spresense
    2
    3
    501
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aaronm last edited by

      I'm using the spresense SDK and VS Code. I got the environment setup, a project built in a workspace, and the spk downloaded to the Spresense. It's supposed to be just a little blinky thing: it turns LED1 on and off 10 times. However, the LED doesn't turn on: none of them do. I updated the SDK options to use the "gpio" app at Nuttsh, and I can turn other pins on and off - clearly visible on the 'scope - but the on-board LEDs don't light. A USB cable is plugged in; an auxiliary power supply is plugged into the support board USB port, but no LEDs. The power LED is on, but not PIN_I2S1_BCK / GPIO_LED1 or the other three. Is there a particular option I need to enable in the SDK, or do I have a possibly damaged board?

      I did look at the source code in this example here, but there's nothing really different about it.

      https://github.com/sonydevworld/spresense/blob/master/examples/prime/prime_main.c

      A 1 Reply Last reply Reply Quote
      • A
        aaronm @aaronm last edited by

        @aaronm well, pfft! 😕 Tobias Johansson kindly chatted with me and provided an spk to test out the LEDs, which worked, but using the source he provided, which wasn't significantly different from mine, I still couldn't get my LEDs to blink. After a pause to work on other things, I came back to this and turned various SDK configurations on and off - one at a time so I knew what I changed - and found that turning off the ARCH_LEDS setting enabled my program to control the on-board LEDs. I probably turned it on at first thinking it was related to LEDs and therefore necessary.

        Many Thanks! to Tobias.

        Tobias Johansson 1 Reply Last reply Reply Quote
        • Tobias Johansson
          Tobias Johansson DeveloperWorld @aaronm last edited by

          @aaronm Awesome that you got it working and thanks for sharing your findings! 🙂

          1 Reply Last reply Reply Quote
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal