This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

For pins that are common on the nRF52832, is there anything specific you need to do to define their desired I/O?

Hardware: redbearlabs Nano V2 (see pinout below) Programmer: DAPLink v1.5 supplied by redbear IDE: Arduino with the redbearlab nano 2 board package

redbearlabs Nano V2 pinout

The schematic can be found here: github.com/.../Nano V2.0 SCH 20161102.pdf

Specifically, I've tried to use D0, D1, D2 and D3 as outputs without any success (D4 and D5 work well). I have a feeling that I can't use these pins as they are being used for serial communication.

Thanks!

Parents
  • FormerMember
    0 FormerMember

    Any GPIO can be used to everything. How do you configure the GPIOs?

    Could you test the following: Configure the "problematic" pins as output pins, and set the firmware to toggle the pins a couple of times. Then: Run the chip in debug mode/step through the code and monitor the values of the GPIOs as they are being toggled.

Reply
  • FormerMember
    0 FormerMember

    Any GPIO can be used to everything. How do you configure the GPIOs?

    Could you test the following: Configure the "problematic" pins as output pins, and set the firmware to toggle the pins a couple of times. Then: Run the chip in debug mode/step through the code and monitor the values of the GPIOs as they are being toggled.

Children
No Data
Related