RSS
Sort by » date activity ▼ answers views votes

77 questions

Tagged
  • x
34
views
no
votes
no
answers
Last activity 2017-11-14 17:05:06 +0200 by Sansei

Nrf51822 stops handling GPIOTE->PORT interrupts

Hi engineers, Here we are facing a critical problem in which the NRF51822 stops handling/processing the GPIOTE->PORT interrupts after some days good working. This problem is occurring randomly whereby our system will stop working completely. Then, we have ... (more)

64
views
no
votes
1
answer
Last activity 2017-10-10 11:58:33 +0200 by endnode

Timed interrupt

Hello everyone,

I am unexperienced in coding that is why I am asking for your help and oppinions on creating timed interrupt. I am using nrf51822, s110. My goal is to send microcontroler to sleep while disabling all peripherals and ... (more)

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

63
views
no
votes
1
answer
Last activity 2017-07-27 12:45:06 +0200 by Kristin flag of Norway

i could not reset the gpiote pin interrupt

i am using nrf51822 s110 sdk7.2.0

1.i had initialized and configure the gpiote interrupt before mainloop for (pin no 10). 2.i had wrote the process on interrupt handler. 3.got the external interrupt successfully. 4. clear ... (more)

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

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

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

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

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

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

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

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

289
views
1
vote
1
answer
Last activity 2016-06-24 11:01:49 +0100 by Øyvind Karlsen flag of Norway

Use restricted interrupt priority levels

Is there any reason I can't have the radio notification run at priority 0? By definition it will never run at the same time as the lower stack, so it seems like I should be able to make it ... (more)

263
views
2
votes
2
answers
Last activity 2016-06-24 08:33:43 +0200 by Øyvind Karlsen flag of Norway

Radio Notifications become inverted

If I have a high-priority interrupt (or a series of them) that runs long enough to completely mask a radio notification, then all further radio notifications appear inverted. Program architecture aside, is there any way I can definitely tell whether ... (more)

277
views
4
votes
1
answer
Last activity 2016-05-13 14:34:11 +0200 by Martin Børs-Lind flag of Norway

Can ble_nus_string_send() be called from a TWI callback?

Calling ble_nus_string_send() from within a TWI callback (case NRF_DRV_TWI_EVT_DONE) is performing a reset on my PCA10028 (nRF51422). It works fine from the main loop.

Am I right in assuming that BLE operations cannot be issued from such callbacks? But on ... (more)

455
views
2
votes
1
answer
Last activity 2016-04-27 11:42:50 +0200 by Aryan flag of Norway

Missing interrupt sometimes

Hello all,

I am using the nrf51822 chip as well as an accelerometer LIS3DH. The device does advertising and turns on a LED when it is active.

The accelerometer is configured to detect when the device has not been moved ... (more)

346
views
2
votes
1
answer
Last activity 2016-04-24 20:49:52 +0100 by KnightYusuf

Frequency of GPIOTE_IRQHandler calls?

i've written this program to toggle a led on a button click

if the time between two button pushs is less than 3 seconds it doesn't work the handler isn't called , i've to wait a few ... (more)

369
views
2
votes
1
answer
Last activity 2016-04-05 15:06:05 +0200 by Thangaraj

Is there any other way to get GPIO interrupt without GPIOTE

GPIOTE only allow 4 GPIO pin interrupt. but I need to use 7 GPIO pin interrupt. is there any other way but GPIOTE?

Thanks in advance.

287
views
1
vote
no
answers
Last activity 2016-03-09 07:54:11 +0200 by TY

How do I control servo simultaneosly in the interrupt_hadler? [closed]

Hi,

I'm using SD110, SDK 10.0.0, nRF51822

In my own application, I control 4 servo by pwm with Timer1 and Timer2,

and I have 2 buttons, each button is a flag for moving servo1,2 and servo3 ... (more)

709
views
1
vote
1
answer
Last activity 2016-03-07 10:16:27 +0100 by Kristin flag of Norway

nrf51822 radio interrupt ???

I have two device , one is Tx-Device the other is Rx-Device.

Tx-Device : Auto continued Send 4 bytes data to Rx-Device by Radio.

Rx-Device : Using Radio Interrupt receive data from Tx-Device Radio,if receive data then Led is action , And main ... (more)

852
views
no
votes
2
answers
Last activity 2016-02-24 13:42:00 +0200 by Ole Bauck flag of Norway

UART INTERRUPT

Hello: Im using SDK 10 with softdevice V130. Im opening UART:

uint32_t err_code; 

const app_uart_comm_params_t comm_params =
   {
       RX_PIN_NUMBER,
       TX_PIN_NUMBER,
       RTS_PIN_NUMBER,
       CTS_PIN_NUMBER,
       APP_UART_FLOW_CONTROL_DISABLED,
       false,
       UART_BAUDRATE_BAUDRATE_Baud38400
   };

APP_UART_FIFO_INIT(&comm_params,
                      UART_RX_BUF_SIZE,
                      UART_TX_BUF_SIZE,
                      NULL,
                      APP_IRQ_PRIORITY_LOW,
                      err_code);

APP_ERROR_CHECK(err_code);

To communicate with another microcontroller. NRF has the ... (more)

993
views
3
votes
1
answer
Last activity 2016-02-18 18:53:49 +0200 by Carl

Lowest power mode for an external interrupt with nRF51822?

Our system will awake from an external accelerometer interrupt, so I would need a code fragment which shuts down S110 soft device (and radio of course) and also all the nRF51822 peripherals, as well as RAM retention. Even the real ... (more)

251
views
1
vote
1
answer
Last activity 2016-02-11 09:57:57 +0100 by Aryan flag of Norway

soft device threading - when and what are calls safe?

I would like to learn more about when it is safe to invoke soft device methods and when it is not. For example, are the following 'allowed' to make soft device calls to update a characteristic? If not, what is ... (more)

480
views
2
votes
1
answer
Last activity 2016-01-20 01:28:52 +0200 by RK flag of Singapore

Calling app_sched_event_put inside interrupt

Hi, I'm debugging a small app that is using the LPCOMP to trigger an interrupt when the BLE device is turned off. We have a capacitor to maintain alive the nRF for a while after the power is turned ... (more)

207
views
2
votes
1
answer
Last activity 2016-01-14 12:04:13 +0100 by RK flag of Singapore

How can I clear TXDRDY interrupt in uart?

Hi, I'm using nrf51822. After sending a data from TXD, I enable the TXDRDY interrupt by setting INTENSET register. Then I can get into TXDRDY interrupt handler function. But I don't know how to clear the pending interrupt ... (more)

608
views
no
votes
1
answer
Last activity 2016-01-06 09:51:35 +0200 by adrianwong

How to use external interrupt to wake up sleep mode in nrf51822

Interrupt_Sleep.txt

Currently, I'm trying to use external interrupt that generated by ADXL345 to wake up the nrf51822 after sleep but not working as i want. Kindly check on the attached code and give advise. Please help!!! Thanks.

287
views
no
votes
1
answer
Last activity 2015-10-05 15:51:43 +0200 by Stefan Birnir Sverrisson flag of Iceland

Does the SPIS clear its END interrupt when a new transaction starts?

Dear all,

I have written some code that controls the SPIS and allows it to transfer data as if it were a master. I am generating the SPIS clock from one timer, and I am looping back a pin to ... (more)

1k
views
5
votes
2
answers
Last activity 2015-09-10 04:42:04 +0200 by Tim

Change in GPIO to start/stop timer and fire interrupt

Hello all,

This is my first post to the developer zone.

I'm creating a product using RFduino, which uses the nRF51822 chip for Bluetooth LE. (See http://www.rfduino.com/wp-content/upl... )

I'm an iOS developer with some ... (more)

389
views
5
votes
1
answer
Last activity 2015-09-04 10:29:20 +0200 by RK flag of Singapore

Critical region called in handlers freeze app

I am trying to enable a critical section in handler. I need to update a sensitive global variable when a button event occurs, and the fact to enable/disable the interrupt freeze the app.

My code in the button event ... (more)

2k
views
2
votes
2
answers
Last activity 2015-08-30 01:23:38 +0200 by ujwal

maximum interrupt frequency? GPIO vs GPIOTE

Hi folks,

What's the maximum interrupt frequency the nRF51822 can support? I am looking to do an interrupt burst of about 4000 interrupts at a rate 2MHZ or 4MHz. In the ISR, I just want to read 8 GPIO ... (more)

Statistics

  • Total users: 25343
  • Latest user: Jayme Hawley
  • Resolved questions: 10981
  • Unanswered questions: 3697
  • Total questions: 27091

User menu

    or sign up

Recent questions