# 156 questions

Tagged
• x
43
views
no
no

## nRF52832 one of output (p0.15) lost its power

Hi!

I have noticed strange problem with one of GPIOs - P0.15. We have tested 50 devices based on nRF52832 and 3 of them have problem with P0.15 after few days.

P0.15 pin we have connected with two ... (more)

27
views
no
no

## Interference of bsp-module while re-configuring NFC-pins as GPIOs

Hello,

on my custom board I am trying to use pin P0.09 and P0.010 for interrupt-purposes. So I integrated the necessary adjustments as mentioned in this topic here, which resulted in an immediate 'halt' of my board, upon ... (more)

110
views
1
vote
3

## Problem using GPIO- and BSP-module simultaneously

Hello,

last week I was trying to integrate a wake-on-motion-functionality for my hardware using some interrupt-handling. While that problem is solved, I came across some kind of interdependency between initializing the GPIO- and the BSP-module simultaneaously.

Here is the code ... (more)

35
views
no
1

## Hardfault when using both UART and GPIOTE, how can I solve this problem?

Hello,

I feel like this question has an answer similar to this question, but I can't seem to get it working https://devzone.nordicsemi.com/questi...

I am using the nrf51422 chip on a board I designed myself and ... (more)

31
views
no
1

## nRF5 with input-multiplexer on ADC pin, optimization required

Hey, I am trying to sample from 10 analog sensors and stream the results via bluetooth. Since the nRF5 is on a board that only lets me access 5 Pins, I am using a 16:1 multiplexer connected to a ... (more)

89
views
1
vote
2

## Is it physically possible to set UART RX and TX to same GPIO pin?

I'm trying to implement send && recieve through one wire. Handling of pin state, if it is input or output is done via SW. Also it is going to be half-duplex only.

Is it possible to do something like this ... (more)

38
views
3
1

## GPIO act incorrectly when building with GCC

Hi,

I connected 74CH595 shift registers to nRF52DK board. When I built and upload my code with Keil everything works just fine, but if I compliled it with GCC and upload with nrfjprog, the 74CH595 cannot act properly. I need ... (more)

107
views
no
1

## Taiyo Yuden EYSHJNZXZ (nRF52832) cannot use NFC pins as GPIO

I am having trouble using GPIO P0_9 and P0_10 as GPIO pins. These are the pins designated as NFC1 and NFC2.

I am using the following sample code:

#include <stdbool.h>
#include <stdint.h>
#include "nrf_delay.h"
#include "boards.h ...
(more)

72
views
1
vote
1

## High Drive mode downsides (nRF52)

Hi,

I just had a quick question - currently I'm using standard drive mode for everything, however in one case I'm driving an IR transmitter that could really do with a little more current.

What are the downsides of ... (more)

46
views
no
1

## What are the characteristics of the nRF52832 GPIO internal 'ESD structures'?

What are the following characteristics for the 'ESD structures'/diodes pictured?

Reverse breakdown voltage, rated forward current, forward voltage

38
views
no
no

## Cannot pull down a GPIO pin which is shared with LED

Hi,

I added following code in saadc example code to set GPIO pin high/low and monitor it in the terminal. The pull up looks ok, but when I set it to low, the reading never goes down to 0 ... (more)

65
views
no
no

## Turn PWM off and back on

I am using Nordic SDK to develop an application. I need to turn PWM off and turn it back on (to produce a beeping sound from a buzzer). To do this I went into the bsp.c file and added ... (more)

408
views
2
3

## Configuring MISO pin for SPIM nrf52

Greetings I am working on an application that logs data to SPI flash device. I am having an issue where it appears that the pin configured as a MISO for SPIM is garbling up the flash device's responses. I ... (more)

56
views
no
no

## Turn off PWM LED [closed]

I have a BLE device that is using Nordic SDK 8.1 and uses PWM to control an LED. Now I want to turn the led off with PWM. To do this I set the duty cycle to 0 and ... (more)

175
views
1
vote
1

## GPIO state during deepest sleep mode

Hi, Do the nRF52 GPIOs retain their pullup/down or drive characteristics when in its deepest sleep mode? VCC is still applied, but otherwise, the chip is to consume a minimum of power, waiting for a wakeup on another GPIO ... (more)

53
views
2
1

## nrf51822 GPIO direct source with high drive setting

I directly connect GPIO pin with 24ohm resistor as follows. And I set GPIO pin as high drive,

NRF_GPIO->PIN_CNF[MY_PIN_NO] |= (GPIO_PIN_CNF_DRIVE_H0H1 << GPIO_PIN_CNF_DRIVE_Pos);

When I measure the current, I got 38mA. But it should not exceed 15mA ? What am I ... (more)

72
views
no
1

## Intentional over-voltage on nRF52 I/O Pin?

Hi all --

I have an application where I have a LDO generating 2.6V from a single lithium-ion cell. It has an EN input that I want to expose to the nRF52 with a little RC circuit to allow the ... (more)

199
views
1
vote
no

## Nordic SDK: PWM duty cycle of 0 on LED

I am using PWM on a BLE Nano using Nordic SDK. I was having problems with the PWM and decided I would set the duty cycle to 0 to see if the program was working right:

#include <stdbool.h>
#include ...
(more)

78
views
1
vote
1

## BLE Nano: Which pins are capable of PWM

I am developing on a BLE Nano 1.5 and need to use PWM to make a beeping sound from a piezo buzzer. I am wondering which pins are capable of PWM. Here is the pinout diagram:

84
views
no
no

## BLE Nano/Nordic SDK: making a quick buzz from a piezo speaker

I am working on a project using a ble nano (nrf51822) using the Nordic SDK 8.1. I started building off the ble-app-hrs in the examples of the documentation so my code is pretty similar to the example.
What I ...
(more)

34
views
1
vote
1

## GPIO high during DFU

Hello,

Id like to understand if its possible to held GPIO high during a DFU update? The usecase is as follows: 1)GSM module is usually controlled by NRF52832 and it also controls the power switch. 2)I will download ... (more)

36
views
1
vote
1

## BLE Nano Central: Use PWM

I am working on a project using a ble nano (nrf51822) using the Nordic SDK 8.1. I am trying to use PWM to control a buzzer. To do this I included the following files into my main.c:
#include ...
(more)

41
views
no
no

## Nordic SDK: swapping LEDS_ON and LEDS_OFF caused problem when checking if the LEDS are on

I am working on a project using a ble nano (nrf51822) using the Nordic SDK 8.1. In the examples I found a way to control an LED using the methods LEDS_ON and LEDS_OFF. I wanted to invert the times ... (more)

249
views
1
vote
1

## nRF52 GPIO usage

Hi.

I'm trying to figure out how to properly use GPIO pins, but so far I did not find a document explaining how to use GPIO with nrf included functions. I found bits and pieces of code which use ... (more)

40
views
1
vote
1

## Editing LEDS_ON and LEDS_OFF

I am working on a project using a ble nano (nrf51822) using the Nordic SDK 8.1. In the examples I found a way to control the onboard led that uses the methods LEDS_ON and LEDS_OFF. I wanted to change ... (more)

73
views
no
no

## nRF52 max. input frequency on GPIO [closed]

Hi all,

I am trying to count the positive edges of a 3.5MHz signal with GPIOTE, PPI and the TIMER1. Unfortunately i can only measure to frequencies up to a little more than 1MHz. What is the limitating factor ... (more)

98
views
no
1

## DETECT signal nrf52840

Can someone tell me how the DETECT signal works in the nRF52840? This version of the nrf52 has 2 GPIO ports. Does that mean there are 2 DETECT signals? or is there still one and are all SENSE levels of ... (more)

416
views
1
vote
3

## nRF52832- why when using nrf_drv_spi with an ADXL362 I need to set the clock in high drive (H0H1)

Hello!

I am working on a project. The goal is to retrieve every seconds some acceleration data from the ADXL362 accelerometer.

I configured the spi in blocking mode by passing NULL as event handler nrf_drv_spi_init(_spi, &_spi_config, NULL);

This method ... (more)

68
views
2
1

## pin config maintained through reset? (NRF51)

Hi,

I am trying to maintain a single bit of information through a power-on reset event (sd_nvic_SystemReset();). I am trying to do this through the configuration of an unused I/O pin. I am setting the pin to be an ... (more)

127
views
no
1

## GPIO Port read/write SDK v12.2

I noticed that the GPIO port read and port write for SDK v12.2 changed to accommodate chips with more pins but I can't find much information about it. How do I use nrf_gpio_port_out_read() and nrf_gpio_port_out_write()? And how does ... (more)

#### Statistics

• Total users: 18589
• Latest user: Lucia Doran
• Resolved questions: 9213
• Total questions: 21765

## Recent blog posts

Posted 2017-04-11 11:49:17 by Radosław Koppel
• ### Taking a deeper dive into Bluetooth 5

Posted 2017-04-07 14:53:51 by John Leonard
• ### Logging enabled by default in SDK Bluetooth examples

Posted 2017-03-29 11:27:02 by Håvard
• ### Monitor Mode Debugging with J-Link and GDB/Eclipse

Posted 2017-03-29 05:56:12 by Daniel Veilleux
• ### Getting started with Nordic's Secure DFU bootloader, a step by step guide

Posted 2017-03-20 17:13:52 by Hung Bui

## Recent questions

• ### Is it possible to use Nordic SDK with Arduino?

Posted 2017-04-30 13:33:28 by Lola