RSS
Sort by » date activity ▼ answers views votes

171 questions

Tagged
  • x
30
views
no
votes
no
answers
Last activity 2017-08-17 18:10:40 +0200 by dingari

nrf52 GPIO sink & source current

Hi, I'm contemplating ways to drive a small RGB LED matrix with the nrf52832 in a really space-tight project. Ideally without any external components. I'ts maybe around 40 RGBs (5x8 grid, 120 individual LEDs to drive).

Charlieplexing would ... (more)

50
views
1
vote
2
answers
Last activity 2017-08-14 11:32:44 +0200 by Joakim Jakobsen flag of Norway

Setting GPIO pin as output pin

I am using nrf51822 DK. How to set GPIO pins as output pins and access the pins to set or reset the output.For example if I want to use pin 20 as output, how to configure that.I need ... (more)

82
views
3
votes
1
answer
Last activity 2017-08-11 13:04:39 +0200 by Joakim Jakobsen flag of Norway

Change Pin from Input to Output in runtime?

Hi, i have nrf52 and sdk13.1. Is this possible. I get NRF_ERROR_INVALID_STATE.

44
views
1
vote
1
answer
Last activity 2017-08-03 15:20:06 +0200 by Torbjørn Øvrebekk

Will GPIOTE Interrupt be generated when CPU is halted?

When performing flash operations, i.e. via FDS or FSTORAGE, etc. - will GPIOTE events be captured and 'queued' until the CPU is no longer halted?

Said another way:

Can I assume that a GPIO transition that occurs while CPU is ... (more)

46
views
1
vote
1
answer
Last activity 2017-08-02 21:34:56 +0200 by endnode

Enable pins 9 and 10 as GPIO on NRF52

Hi All,

I am developing a ble applications and am unable to get pins 9 or 10 to work as gpio. I understand that this is because, by default they are used by the NFC.

I have tried the following ... (more)

52
views
no
votes
1
answer
Last activity 2017-07-28 17:21:40 +0200 by endnode

NFC Usage as GPIO Pins

Hi all,

I am trying to configure the NFC Pins for usage in an SPI application. However they do not even work for a simple nrf_gpio_pin_set after configuring them with nrf_gpio_cfg_output . Every other Pin seems to work, though.

After some ... (more)

53
views
3
votes
1
answer
Last activity 2017-07-16 15:48:34 +0200 by Mahesh Venkitachalam flag of India

gpio pin as power source for other

Hello! Can I use one of the gpio pin as power source directly for other MC on my board (hx711 - ADC with current consumption in normal mode 1.5ma (from datasheet)). I understand I have to do it via transistor ... (more)

54
views
no
votes
1
answer
Last activity 2017-07-13 09:53:04 +0200 by Sigurd flag of Norway

NRF51822 generate pulse with GPIO

I am trying to use NRF51822 GPIO to generate a pulse with max width of 0.3us. According to other tickets in the forum and the product spec, NRF51822 should be able to generate a 50% duty PWM with 8MHz ... (more)

54
views
no
votes
2
answers
Last activity 2017-07-03 16:32:24 +0200 by Jørn flag of Norway

ADC with internal pull up

This is for the nRF51822.

I have done some tests where I configure a pin as input with pull up enabled and then reconfigure the pin for an adc measurement with 1/3 prescaler with band gap reference.

It looks ... (more)

1k
views
5
votes
2
answers
Last activity 2017-06-01 21:40:48 +0200 by Craig

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)

168
views
no
votes
no
answers
Last activity 2017-05-23 00:10:36 +0200 by Eliot Stock flag of United Kingdom

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)

77
views
1
vote
1
answer
Last activity 2017-05-18 12:26:56 +0200 by Bjørn Spockeli flag of Norway

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)

63
views
no
votes
1
answer
Last activity 2017-05-12 13:13:08 +0200 by Bjørn Spockeli flag of Norway

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)

64
views
no
votes
1
answer
Last activity 2017-05-11 10:58:16 +0200 by Jørn flag of Norway

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)

131
views
no
votes
2
answers
Last activity 2017-05-08 08:39:40 +0200 by Damian

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)

147
views
no
votes
2
answers
Last activity 2017-05-05 11:03:11 +0200 by IlyaM

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)

89
views
1
vote
1
answer
Last activity 2017-04-25 18:05:36 +0200 by Ray Breslin

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)

170
views
1
vote
3
answers
Last activity 2017-04-25 17:58:21 +0200 by Ray Breslin

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)

100
views
no
votes
1
answer
Last activity 2017-04-25 12:29:00 +0200 by Jordi

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)

66
views
no
votes
1
answer
Last activity 2017-04-24 13:12:59 +0200 by Jørgen Holmefjord flag of Norway

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)

222
views
1
vote
2
answers
Last activity 2017-04-20 17:23:25 +0200 by Stian flag of Norway

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)

51
views
3
votes
1
answer
Last activity 2017-03-30 15:00:14 +0200 by Radosław Koppel

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)

226
views
no
votes
1
answer
Last activity 2017-03-24 16:05:18 +0200 by endnode

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)

137
views
1
vote
1
answer
Last activity 2017-03-16 15:56:12 +0200 by Jørn flag of Norway

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)

84
views
no
votes
1
answer
Last activity 2017-03-16 12:50:33 +0200 by run_ar

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

image description

73
views
no
votes
no
answers
Last activity 2017-03-10 07:26:24 +0200 by Quark flag of Taiwan, Province of China

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)

89
views
no
votes
no
answers
Last activity 2017-03-08 17:51:44 +0200 by tyler

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)

477
views
3
votes
3
answers
Last activity 2017-03-07 22:41:44 +0200 by ypearson

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)

84
views
no
votes
no
answers
Last activity 2017-02-26 17:53:43 +0200 by tyler

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)

Statistics

  • Total users: 23749
  • Latest user: Janet Whitworth
  • Resolved questions: 10099
  • Unanswered questions: 3093
  • Total questions: 24490

User menu

    or sign up

Recent questions