RSS
Sort by » date activity ▼ answers views votes

113 questions

Tagged
  • x
36
views
no
votes
1
answer
Last activity 2017-10-26 12:43:37 +0200 by endnode

Update code from Android

Hello,

I could not find any related info, so I would like to ask few questions:

1) I have pca10028 board, using s110, sdk 6, ble_app_uart code. The board gets connected to Android mobile device using NRF_UART or NRF_TOOLKIT application ... (more)

99
views
no
votes
1
answer
Last activity 2017-10-12 08:16:16 +0200 by endnode

RTC function using sleep mode

Im working on 14.0 and s132 and work inside ble_uart code...i was add rtc inside that code sucsessfully but now.. when device goes to sleep so rtc interrupt handler function not calling stop... so, can i use rtc ... (more)

133
views
no
votes
1
answer
Last activity 2017-09-30 12:56:04 +0200 by mectronicsinc

Disable SD stops ALL RTCs and/or LFCLK?

Hi all,

I got strange behavior: when I disable the SoftDevice (nRF52832, S132 V3.0, SDK 12.2) seem that ALL the RTCs, not just the one used by the SD, are stopped, and also the LFCLK are stopped.

This ... (more)

2k
views
1
vote
6
answers
Last activity 2017-09-28 08:24:33 +0200 by Yashur

How to output 32768Hz external crystal LFCLK at a GPIO pin?

For synchronizing an external sensor i need to output a 32768Hz clock at a GPIO pin. For this case i want to use LFCLK from the external cyrstal.

<u>My setup:</u> I use RTC0 to generate a tick event ... (more)

339
views
2
votes
1
answer
Last activity 2017-09-25 14:12:41 +0100 by jenkey.zhu

nrf52832 sleep ,rtc work

I use the sdk 13.0.0,software device s332,I hope the rtc can work when cpu sleep,and the lowest working current need less than 10uA,what should i do?or Is there a reference routine?

346
views
no
votes
3
answers
Last activity 2017-09-02 07:30:01 +0200 by f1rew4ll

RTC with DS1307

For my application I use a RTC. For now without SD and based on SDK 11.0. Later I will implement it in an application with BLE. My device is a Raytac module with a nRF52832 on it. The module ... (more)

96
views
2
votes
1
answer
Last activity 2017-08-15 15:11:11 +0200 by Jørgen Holmefjord flag of Norway

RTC clear problem

Hello,

I've run into a problem, which seems at least to be similar to that described in another thread. In short, if I set up a counter with CC[n] and start it, a COMPARE[n] event will be ... (more)

96
views
2
votes
1
answer
Last activity 2017-08-03 22:06:07 +0200 by John DeWitt flag of United States

nrf52832: Modifying the prescaler value to save battery life

Hello,

I'm currently running our RTC using the default resolution of 32.768 kHz (30.517 micro-seconds), which means that we are not prescaling. If I desire to have a larger resolution (less overflow in the 24-bit counter) of ... (more)

236
views
3
votes
2
answers
Last activity 2017-08-01 16:28:39 +0200 by endnode

nRF52832 external crystals needed or not

Hello,

I need some clarifications about external crystals for nRF52832.

We are evaluating a prototype system with two units A and B each containing an nRF52832. A and B will communicate via UART. Unit A will also use BLE to ... (more)

137
views
1
vote
3
answers
Last activity 2017-07-28 10:43:39 +0200 by Mateusz Gancarczyk

Strange current spikes in nRF52 with RTC only

Hi, currently I'm working on ultra low power device. This device need to be wake up in 333 ms interval. I use RTC for this. My question is about strange current spikes with i observed on Nordic Power Profiler ... (more)

126
views
no
votes
no
answers
Last activity 2017-07-26 17:16:10 +0200 by Tobi

Power managment on NRF52 using Zephyr

Hello guys,

I wanted to start to implement the power management feature on the NRF52 using the Zephyr kernel for a bluetooth application. Unfortunately I am running in a lot of problems. I understood that the hookup functions are called ... (more)

186
views
3
votes
1
answer
Last activity 2017-07-19 01:20:56 +0200 by Austin

S140 initialisation errors on nRF52840 if RTC2 interrupt enabled

I'm testing a custom application with the following configuration:

  • Custom app based on the ble_app_pwr_profiling SDK example.
  • Using SDK 13.1
  • S140 SoftDevice s140_nrf52840_5.0.0-2.alpha_softdevice.hex
  • PCA10056 development board, nRF52840

I've modified the example to configure ... (more)

163
views
1
vote
1
answer
Last activity 2017-06-30 12:35:48 +0200 by Torbjørn Øvrebekk

Clock control in RTC interrupt

Hi all!

I am developing an nRF52 application that uses RTC interrupt to measure an ADC value every 100 ms. Depending on the measured value the chip shall either go back to sleep or execute an algorithm. We are in ... (more)

365
views
3
votes
1
answer
Last activity 2017-06-28 15:32:13 +0200 by A Knecht

Best Way to Keep Track of Time with the nRF52

I need to keep track of time on a device featuring the nRF52 and have an RTC run continuously in the background. The drift should not be more than a few seconds over a year. Is this possible to achieve ... (more)

70
views
3
votes
1
answer
Last activity 2017-06-28 12:51:01 +0200 by Steve H

SPI hangs within RTC CC callback [closed]

Hi all,

I'm transferring data to and from an Atmel AT25040 NVRAM using SPI, and it works perfectly when run within main(). However, if I run the same code from within an RTC CC callback, the blocking call to ... (more)

128
views
no
votes
1
answer
Last activity 2017-06-22 14:45:51 +0200 by Frederik

state-machine RTC synchronization with softdevice

Hi,

I’m working on a device that requires to enable the softdevice when connecting with a smartphone via Bluetooth and disable it when acquiring data from an analog source.

In order to do this I have created a simple ... (more)

219
views
no
votes
1
answer
Last activity 2017-06-21 11:01:27 +0200 by Kristin flag of Norway

How to enable and use RTC0, RTC1, and RTC2 -- nRF52832

I am currently using nRF52832 with SDK v11.0.0 and S132 v2.0.0. I'd like to enable either RTC2 or RTC0 as a dedicated counter for the keeping track of time (LFCLK). RTC1 is already designated for ... (more)

57
views
no
votes
1
answer
Last activity 2017-06-20 14:37:39 +0200 by Kristin flag of Norway

GPIOTE Accuracy and RTC

I'm trying to use a low accuracy GPIOTE event to start RTC1. The following code works as expected when using hi accuracy mode but will constantly trigger in_pin_handler() using low accuracy mode. If I remove nrf_drv_rtc_enable() from in_pin_handler() it ... (more)

89
views
1
vote
1
answer
Last activity 2017-06-20 10:02:00 +0100 by Jørgen Holmefjord flag of Norway

How to use 51822 RTC on softdevice?

Hi,I use the SDK 12.2.0, I want to add the peripheral RTC example to the ble_app_uart.I find the softdevice have used the RTC1 ,so I want to use the RTC0,but when I added the RTC0 ... (more)

72
views
1
vote
1
answer
Last activity 2017-06-15 15:03:15 +0200 by Jørgen Holmefjord flag of Norway

What is 3UL compare time in RTC???

In example of peripheral RTC,

It compares time of 3UL.

BUT I've never heard about any measurement of UL... How can i transform it to second???

65
views
1
vote
1
answer
Last activity 2017-06-14 12:33:04 +0200 by Daniel T. Lee flag of Korea, Republic of

Is there any way that I can use more than 3 timer in nRF 51 ??

Is there any way that I can use more than 4 timer in nRF 51 ?? (four or more...)

I'm using Softdevice 130, so It uses Timer 0,

and I'm using RGB Sensor using PWM Library, and

Red and ... (more)

4k
views
3
votes
9
answers
Last activity 2017-06-06 09:05:56 +0200 by zhu.ky

questions on how to implement the current time service

I'm working on an implementation of the Current Time Service specified by the Bluetooth SIG (I'm happy to share it).

where I am so far: - The service and the caracteristics are set up and working correctly. - I can ... (more)

939
views
no
votes
1
answer
Last activity 2017-05-09 12:04:11 +0200 by micele flag of China

Sleep mode and RTC

Hello, I am working on NRF52 DK,SDK12.1.0. When I am trying to make board into sleep mode with sleep_mode_enter(I have get sd_power_system_off),I found that RAM/UART is still working, I am not sure if the ... (more)

144
views
1
vote
1
answer
Last activity 2017-04-27 12:24:38 +0200 by Steve H

Handling RTC overflow [closed]

Hi all, I have an nRF52832 which is woken up every 15 seconds by an RTC to check for ESB broadcasts. The nRF52 will be powered continuously until the battery runs out, so at some point the RTC will overflow ... (more)

108
views
no
votes
1
answer
Last activity 2017-03-17 13:51:10 +0200 by Kristin flag of Norway

NRF51822 can not wakeup from sheep mode with RTC interrupt.

I did not use softdevice; //this my code

 void SysClk_LFInit(void)
 {

   NRF_CLOCK->LFCLKSRC    = (CLOCK_LFCLKSRC_SRC_RC <<      CLOCK_LFCLKSRC_SRC_Pos);
   NRF_CLOCK->EVENTS_LFCLKSTARTED  = 0;
   NRF_CLOCK->TASKS_LFCLKSTART     = 1;
   while (NRF_CLOCK->EVENTS_LFCLKSTARTED == 0)
   {
      //Do nothing.
   }
   NRF_CLOCK->EVENTS_LFCLKSTARTED = 0;

   SysClk_Calibration();
}

void  RTC_Init(void)
{
                                     // ?? RTC??.
   NRF_RTC1->PRESCALER     = 32;//COUNTER_PRESCALER ;                  
   NRF_RTC1- ...
(more)

159
views
1
vote
2
answers
Last activity 2017-03-16 17:10:50 +0200 by Larry

Measuring code execution time

hi,

I would like to do some code profiling and measure execution time. What is a lowest possible resolution for the counter is possible to achieve and how?

I am currently using RTC counter nrf_drv_rtc_counter_get() but have read that is ... (more)

425
views
no
votes
1
answer
Last activity 2017-03-06 06:30:09 +0200 by Aryan flag of Norway

nRF51 Real Time Clock

Hello Everyone,

I am working on nRF51 I need to save data with timestamp (current date and time).

Is there any example code is available so I can set current time and date and when I need current time and ... (more)

1k
views
1
vote
1
answer
Last activity 2017-01-27 10:52:26 +0200 by _Dejan_

Deep Sleep with RTC Wakeup

Hi, Im new here and microcontroller programming... I curently waiting nrf52840 PDK so Im only quick read SDK and documentation... Before Im program only devices with .NET Micro Framework and make a lot of applications for computers, but this is ... (more)

258
views
1
vote
2
answers
Last activity 2017-01-25 16:44:53 +0200 by jemajuca

Take advantage of external RTC to avoid 32.768KHz duplicity?

Hello. I decided to use an external solution for RTC. Sometimes the RTC chip offers an buffered 32.768KHz output. Can I use this output to supply the 32.768KHz to the nRF52832 and gain a litle power saving? Thanks in advance.

69
views
no
votes
1
answer
Last activity 2017-01-20 15:46:27 +0100 by Torbjørn Øvrebekk

Suggestions for low power time keeping on nRF51?

I'm trying to decide the best way to be able to have sub millisecond time keeping, but keep the processor sleeping until it gets a hardware interrupt.

Basically I need to time the period of pulse signals, e.g ... (more)

Statistics

  • Total users: 25334
  • Latest user: Claribel Kitson
  • Resolved questions: 10974
  • Unanswered questions: 3688
  • Total questions: 27077