RSS
Sort by » date activity ▼ answers views votes

176 questions

Tagged
  • x
29
views
no
votes
no
answers
Last activity 2017-10-11 22:39:10 +0200 by Eliot Stock flag of United Kingdom

open drain output to GPIO input pin with pullup

Hi

I have a charger IC for a lithium ion battery on a custom board with an nRF52832. It's this one, from ST Micro, an STBC08:

http://www.st.com/content/st_com/en/p...

The charger IC has two ... (more)

34
views
no
votes
1
answer
Last activity 2017-10-03 10:43:17 +0200 by Sigurd flag of Norway

Having trouble getting any gpio in examples to work?

I have the blinky examples working, but have not been able to get any example code using any gpio input to work. they compile fine but the buttons done seem to work. I'm using GCC compiler in Segger Embedded ... (more)

56
views
1
vote
2
answers
Last activity 2017-09-13 09:46:19 +0200 by Denver

GPIOTE interrupt not working with softdevice s130

I am using the template example for S130(works fine). I tried adding a simple Pin interrupt on the code but it didn't call the pin interrupt handler everytime I press the button. I believe I'm using some ... (more)

56
views
no
votes
1
answer
Last activity 2017-08-30 11:37:21 +0200 by drahnr

zephyr gpio interrupt not fireing

I just tried the Button example on the nrf52-dk development board, and the interrupt for the defined button GPIO does not seem to *trigger

Zephyr 1.8.0 (fcb9144dc git)

make BOARD=nrf52_pca10040

and the example under

samples/basic/button ... (more)

666
views
1
vote
4
answers
Last activity 2017-08-23 16:08:53 +0200 by airshaven

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)

76
views
2
votes
1
answer
Last activity 2017-08-23 03:03:01 +0200 by Alexis flag of France

Parallel timestamping with PPI? (timer capture)

Hi, all!

Is it really possible to timestamp 4 GPIO edges in parallel with the nRF52?

It would need to be as fast as possible and some edges might be simultaneous so PPI seems to be the trick.

The documentations ... (more)

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

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

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

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

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

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

64
views
4
votes
2
answers
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)

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

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

2k
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)

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

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

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

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

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

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

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

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

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

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

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

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

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

Statistics

  • Total users: 24904
  • Latest user: Kristal Fielder
  • Resolved questions: 10659
  • Unanswered questions: 3430
  • Total questions: 26081

User menu

    or sign up

Recent questions