RSS
Sort by » date activity ▼ answers views votes

156 questions

Tagged
  • x
35
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)

46
views
no
votes
1
answer
Last activity 2017-04-09 08:41:07 +0200 by Insaf

Timer interrupt handler not getting called, please help

I have enabled Timer 2 with 31250Hz frequency. I wanted to call an interrupt after 10ms, ie 312 ticks for the timer. But the interrupt is not getting called, I have spent some time finding the problem, but couldn't ... (more)

44
views
1
vote
1
answer
Last activity 2017-03-31 16:11:08 +0200 by CurtisHx

Does the NFC Type 4 library globally disable interrupts at any point?

Does the NFC library globally disable interrupts at any point? We're trying to track down an issue where our code occasionally misses an I2C event during NFC read/write.

706
views
1
vote
2
answers
Last activity 2017-03-22 08:12:32 +0200 by mahesh

Problem using UART and radio in ESB mode on nRF24LE01.

Hi

for few days I seem to got stack in using together UART and radio on nRF21LE01 in ESB mode and I suspect irq_flags = hal_nrf_get_clear_irq_flags(); to be cause of my problem.

What I want to achieve is to communicate to ... (more)

124
views
no
votes
no
answers
Last activity 2017-01-27 21:16:26 +0200 by acv

GPIOTE simultaneous interrupts

nRF52, SDK12.1, Eclipse, gcc 5.4.1, FreeRTOS, no soft-device.

I am having a problem with GPIOTE. I have six interrupts programmed on six different pins. As long as the signals do not transition at the same time, the ... (more)

232
views
4
votes
2
answers
Last activity 2017-01-23 03:02:54 +0200 by Emil Lenngren flag of Sweden

why should I clear event in the interrupt handler

as far as I am concerned, when I use PPI or SHORTS without interrupts, I DON'T need to clear the corresponding event registers, and task will be triggered once the event is generated. But when I enable interrupt, I ... (more)

674
views
6
votes
2
answers
Last activity 2017-01-06 07:34:45 +0200 by lauren ebsary

programing and interrupts on custom PCB using nrf51822

Hey,

I am designing a custom PCB with the nrf51822. I would like to use the reference layout that Nordic provides, specifically nrf51x22_qfaa. My project involves reading an accelerometer and gyroscope via TWI and transmitting certain measurements via BLE. I ... (more)

481
views
no
votes
no
answers
Last activity 2017-01-02 17:24:40 +0200 by gaminn

Disable interrupts

Hi, I want to do this cycle with GPIO without interrupting it on NRF51 with BLE softdevice:

1) PIN1 to HIGH level 2) read value of PIN2 3) PIN1 to LOW level

Repeat this 25 times (between cycles interrupts can ... (more)

42
views
no
votes
no
answers
Last activity 2016-12-26 02:45:47 +0200 by Chaw flag of China

nRF24LU1 wakeup interrupt [closed]

Hi, Nordic I see two interrupts:

#define USB_WU_ISR()    void usb_wu_isr(void)   interrupt INTERRUPT_USB_WU  // USB wakeup interrupt (0x5b)
#define WU_ISR()        void wu_isr(void)       interrupt INTERRUPT_WU      // Internal wakeup interrupt (0x6b)

maybe WU_ISR() is one function USB Dongle auto resume itselft, now I ... (more)

58
views
no
votes
1
answer
Last activity 2016-12-21 17:23:29 +0200 by Aryan flag of Norway

Call SOC Library functions with Sofdevice disabled

Hi there,

Is it possible to call SOC library functions before calling sd_softdevice_enable()?

In particular, i want to set up my interrupts with sd_nvic_SetPriority() and sd_nvic_EnableIRQ() before enabling the softdevice with sd_softdevice_enable(). This is because sd_softdevice_enable() takes quite a while ... (more)

78
views
1
vote
1
answer
Last activity 2016-12-11 16:12:05 +0200 by Sigurd flag of Norway

NRF51 with interrupts

Hello developers, I am struggling badly to use interrupt in my application. I am using softdevice S130 and ble_nus, ble_bas and ble_hrm services. All I want is to trigger a timer on interrupt event by pressing a button. I have ... (more)

370
views
no
votes
1
answer
Last activity 2016-11-29 11:02:08 +0200 by Hung Bui

GPIOTE IN_EVENT Current

Hello,

I am currently using the GPIOTE Driver (nrf_drv_gpiote) to detect external interrupts from a sensor on a custom board using the nRF51822 with the S130 v2.0.0 SoftDevice and SDK 11. I currently have the interrupts setup to ... (more)

72
views
no
votes
1
answer
Last activity 2016-10-26 13:27:42 +0200 by awneil

Need NRF8001 to advertise while Microcontroller asleep.

I'm using an NRF8001 with an ATMEL ATMEGA 328P (the microcontroller from an Arduino). I need the microcontroller to go to sleep, but still allow the BLE chip to advertise and wake the microcontroller upon connection. It seems as ... (more)

67
views
no
votes
no
answers
Last activity 2016-10-26 07:27:14 +0200 by Cao Jean

Nrf24le1 gpio interrupt falling edge

I want to use gpio interrupt int1,falling edge. I can trigger success, but one falling edge will trigger many times. Do i config wrong? GPIO_INT.rar

188
views
no
votes
1
answer
Last activity 2016-10-24 19:25:18 +0200 by Dave_Avatech

waking from sleep

Hi,

I am having some trouble getting the nrf51422 (running the s130 soft device) to wake up after entering sleep mode. I have successfully entered sleep mode using NRF_POWER->SYSTEMOFF = 1, and sd_power_system_off() (both seem to be effective). However, when ... (more)

163
views
no
votes
no
answers
Last activity 2016-10-14 01:10:12 +0200 by leehong flag of United States

Clearing GPIO Driver Interrupt Event

Hi there,

I'm using an input GPIOTE based on SDK11. The interrupt is consistently being fired. On the other hand, if I use "if(Pin_6)" to check the trigger, it does not get fired continuously. Is there a command ... (more)

240
views
no
votes
1
answer
Last activity 2016-10-11 10:07:40 +0200 by Jørgen Holmefjord flag of Norway

nRF52 SPI Master - Interrupt

Hi,

I'm using the nRF52 as a master and an external RF chip as a slave. After configuring my spi bus using nrf_drv_spi_init(&spi, NULL, NULL), in my main loop, how do I get an interrupt to know if ... (more)

88
views
no
votes
no
answers
Last activity 2016-10-05 11:04:58 +0200 by Khazragy

MY BLE connection lost during run time!

I mounted the chip onto my own PCB, I am not using a devkit, My board is "Wireless-Tag WT51822-S2", it is a module that uses nRF51822-QFAA as (SoC)

I am the ble_app_uart example inside sdkv10.0.0 as a framework ... (more)

242
views
1
vote
1
answer
Last activity 2016-09-29 09:37:25 +0200 by Jørgen Holmefjord flag of Norway

nRF51 GPIO interrupt

Hello,

I am having interface nRF51 with RF receiver. Output of RF receiver connected with GPIO pin of nRF51.

How can I detect interrupt on gpio pin?

Thanks & Regards, Rajneesh

163
views
1
vote
1
answer
Last activity 2016-09-29 09:37:15 +0200 by Jørgen Holmefjord flag of Norway

How to use Interrupt in BLE Central [closed]

Hi all Nordic Developer,

Currently I am working on nrf51-dk(as a BLE central) and I wish to connect one of its pin to a power supply(as a input). If the power breakdown, it should send out a warning ... (more)

125
views
1
vote
2
answers
Last activity 2016-09-22 18:37:07 +0200 by Diego

GPIO interrupts not working with bootloader

Hello everyone. I am having problems using the interrups when a bootloader is programmed on the chip. My test program works fine when there is no bootloader. With the bootloader it never jumps to the interrupt handler. I am using ... (more)

334
views
no
votes
no
answers
Last activity 2016-09-19 13:39:06 +0200 by Ole Bauck flag of Norway

SPI slave peripheral receive interrupt processing

SPI Slave configuration On nRF52

Hi,

I am trying to configure the SPI slave peripheral for interrupt based communicaton with a SPI master In previous work with ARM based chips, the typical sequence I have followed would be :

1) configure ... (more)

683
views
no
votes
no
answers
Last activity 2016-09-17 11:56:06 +0200 by Stas

pin_change_int example [closed]

void in_pin_handler (nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)
{ nrf_drv_gpiote_out_toggle(PIN_OUT);

}

This function work with interupt event (push button). I can't understand where we use its 2 parameters (pin and action) or it's not usual function.

103
views
1
vote
1
answer
Last activity 2016-09-02 13:17:33 +0200 by Einar Thorsrud flag of Norway

how to occur interrupt on SPIM with easyDMA END event?

Hi

I want to get external acceleration sensor values with SPIM using easyDMA on the sensor interruption (using GPIOTE). then after getting all data, I want to calculate them using algorithm on CPU.

In other words, getting the sensor data ... (more)

410
views
1
vote
1
answer
Last activity 2016-08-15 09:00:06 +0200 by Aryan flag of Norway

nrf51822 tempeture based on interrupt

I can read temp value by pulling flag but I Want to do that by interrupt I added this code to my Keil but interrupt on temp didn't work. I use Adc interrupt like this definition.

static void temp_init ...
(more)

434
views
no
votes
1
answer
Last activity 2016-08-05 22:25:39 +0200 by RichieJH flag of United Kingdom

How to use BLE UART interrupt to jump out of a loop

I am trying to figure out how to exit a loop of my program using a button press on the nRF Toolbox UART app. Say it's button 4 for sake of giving it a value. I am using an ... (more)

304
views
no
votes
1
answer
Last activity 2016-08-03 12:24:37 +0200 by Øyvind Karlsen flag of Norway

Can all GPIO pins be mapped as a external interupt pin?

Hello ,

Easy question, I am using the nRF52832 and am trying to find out if all gpio pins have gpiote functionality? And if so can all gpios be configured as an external interrupt to wake MCU from deep sleep mode?

Thanks

259
views
no
votes
1
answer
Last activity 2016-07-14 16:39:13 +0200 by Chris Shaw

Is there a possible clash of RTC1 usage?

I have an mBed application that uses the S130 SoftDevice and polls data from a couple of other connected peripherals via I2C & SPI.

I use a Ticker object, which seems to basically be a wrapper around the Nordic app_timer implementation ... (more)

568
views
no
votes
1
answer
Last activity 2016-07-06 16:14:06 +0200 by Stefan Birnir Sverrisson flag of Iceland

RTC interrupt does not wake up nRF52

I am having issues waking up nRF52 with s132 using the RTC interrupt. The same code is used on nRF51 with s130 and does not show this behavior.

The RTC is configured and the interrupts are fired and handled as ... (more)

89
views
1
vote
1
answer
Last activity 2016-06-29 03:58:22 +0200 by RK flag of Singapore

Clarification on S110 SDS "Processor availability and interrupt latency"

I am currently using MBR, and know the general interrupt latency due to MBR + SD from Table 26. But I cannot understand how you arrived at those numbers. IF this table was referring to JUST the MBR caused latency, I ... (more)

Statistics

  • Total users: 18590
  • Latest user: Roseann Seale
  • Resolved questions: 9213
  • Unanswered questions: 2552
  • Total questions: 21765

User menu

    or sign up

Recent questions