# 162 questions

Tagged
• x
1k
views
4
2

## max gpio current for nRF52

Hello, I just wanted to update previous similar questions for the nRF52 series, old one for nRF51 is here: https://devzone.nordicsemi.com/questi...

At page 151, section 20.4, of the nRF52832 Product Specification v1.0 I find that ... (more)

85
views
no
no

## nRF52 reset behaviour on GPIO output pins

Hi. I have a board here based on the nRF52832, using SD 132 and SDK 13.0.0, with a modem on it that I'd like to keep powered on even when the Nordic is in system off mode ... (more)

58
views
1
vote
1

## Minimum pulse length to detect low level with GPIO SENSE for nRF52

Hi all

What is the minimum required length of a LOW pulse to be detected by the nRF52832 via GPIO SENSE mechanism? I couldn't find it in the product specification.

I want to wakeup the nRF with a LOW ... (more)

46
views
no
1

## Small problem with using the GPIO to power system ON/OFF

Hi, I am really new to the Nordic products and programming for that matters. But, the thing is that I am in somewhat of a hurry. I would like to use a similar code to below to the one below ... (more)

59
views
no
1

## What happens to nRF51822 if GPIO is set to source less current than required?

I have a board with some LEDs that are driven in the same way as with the nRF51 DK board (i.e. there is a resistor in series with the LED and you drive the pin low to turn the ... (more)

112
views
no
2

## 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)

75
views
no
2

## How to send 1 byte via SPI from master to slave

Hello everyone, I'm trying to run my nrf51 with ADS1298 using SPI. nrf51 is master and ADS1298 is slave.

I configured SPI as

const nrf_drv_spi_config_t spi_config =
{
.sck_pin = 25,
.mosi_pin = 24,
.miso_pin = 23,
.ss_pin = 30,
//.irq_pin = 22,
.irq_priority = APP_IRQ_PRIORITY_HIGH,
.orc ...
(more)

69
views
3
1

## I want to digital high a gpio pin on nrf51dk, when I receive the text say "ON" from my android smartphone.How can I accomplish that using the nrf ble app uart example.I am not sure where I can compare the incoming ble data [closed]

Toggling a gpio pin upon receiving a particular string from ble uart app

69
views
1
vote
1

## 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)

143
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)

78
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)

54
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)

137
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)

46
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)

173
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)

97
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)

71
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

55
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)

72
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)

438
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)

71
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)

218
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)

73
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)

98
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)

223
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)

114
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:

102
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)

44
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)

50
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)

44
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)

#### Statistics

• Total users: 22278
• Latest user: Camilla Samons
• Resolved questions: 9667
• Total questions: 23073

## Recent blog posts

• ### Nordic Developer Zone celebrates its 4th year of helping developers succeed - Celebrate with us and win a Nordic Thingy: 52’

Posted 2017-06-23 10:12:53 by John Leonard
• ### nRF52 Development with CLion

Posted 2017-06-22 09:50:54 by dansheme
• ### Simple GPIO driver example

Posted 2017-06-22 13:38:36 by Hans Elfberg
• ### What mom didn't tell you about ble_app_att_mtu_throughput on the nRF52840 evaluation board

Posted 2017-06-16 16:12:15 by George
• ### Introducing Nordic’s new software licensing schemes

Posted 2017-06-15 11:21:39 by Reidar Martin Svendsen

## Recent questions

• ### NRF51822 to NRF51822 Over the air update (DFU)

Posted 2017-06-25 16:25:45 by wogisha
• ### Advertising with device_name Vs whitelisting

Posted 2017-06-25 14:39:12 by raju