RSS
Sort by » date activity ▼ answers views votes

13 questions

Tagged
  • x
33
views
no
votes
1
answer
Last activity 2017-11-13 11:12:58 +0200 by Jørgen Holmefjord flag of Norway

saadc - switch channel on demand

I am using a nRF52 and I have to measure two voltages:

1) the first continuously

2) when a command is received, the second voltage have to be measured and then switch back to measure the first

I initialize the ... (more)

104
views
1
vote
1
answer
Last activity 2017-10-27 00:44:23 +0100 by rms

Multiple SAADC Channels at different intervals

Hello, I've been reading over different examples and questions on the Nordic Developer Zone but still have some questions about multiple SAADC channels.

1 - If I initialized multiple SAADC channels it goes to scanning mode right? Does this mean ... (more)

77
views
no
votes
no
answers
Last activity 2017-09-25 15:12:51 +0100 by Martin Børs-Lind flag of Norway

High Idle Current using SAADC Low Power

I have a 3 channel setup on my SAADC module, which I sample according to a LFCLK timer. I notice after the first called to nrf_drv_saadc_sample() and receipt of the ADC results, it seems the HFCLK is not shutting off ... (more)

210
views
1
vote
1
answer
Last activity 2017-09-19 16:06:39 +0100 by bart

SAADC pins switch

Hi,

I use the SAADC to sample 2 pins. I use the nrf_drv_saadc, and a timer to call the sample task.

I was trying out several gains for SAADC and I noticed that for gains 1 and 2 (4 not ... (more)

41
views
no
votes
1
answer
Last activity 2017-08-11 15:57:38 +0100 by AmbystomaLabs flag of United States

SAADC buffer convert fatal error

Hello,

For my project I need to measure the battery voltage while transmitting data to get a good indication of the battery capacity. I've found an old example (link text) that goes into detail on how to set the ... (more)

78
views
no
votes
no
answers
Last activity 2017-08-11 09:26:26 +0100 by ndarkness

Am I not configuring right my SAADC handler for low power?

Hello,

I would like to sample the battery level of my nrf52832 DK and send it through BLE. I have started from the example ble_app_hrs for SDK12.2 since the service was already present and I had just to modify ... (more)

60
views
no
votes
no
answers
Last activity 2017-08-10 16:08:36 +0100 by ndarkness

Why my adc handler is never triggered? [closed]

Hello,

I am making a battery service to report the battery that is sampled by the SAADC, so far I am am able to compile it and debug it, however I see how my saadc_event_handler_interrupt is never triggered. Which means ... (more)

68
views
no
votes
1
answer
Last activity 2017-06-15 10:32:32 +0100 by tkorsdal

SAADC maintains high current consumption

After performing the first ADC operation (4 channel scan, sample rate controlled from TIMER1), the power consumption stays at almost 4 mA for the nRF52832.

Why?

Initialization code:

    case DRIVER_ADC_IOCTL_START:
    if( ioctl )
    {
        memset( dma_sample_buf, 0, sizeof( dma_sample_buf ));
        memset( read_ring_buf, 0 ...
(more)

129
views
no
votes
1
answer
Last activity 2017-06-13 08:32:02 +0100 by Jørgen Holmefjord flag of Norway

SAADC on SDK12.3

I've recently migrated from SDK11 to SDK12.3 to take advantage of the low power option. However I still am having weird issues with power consumption. I have a feature which enabled ADC measurement. When this feature gets turned ... (more)

38
views
1
vote
1
answer
Last activity 2017-04-12 18:53:22 +0100 by raccoon

SAADC generate only limit events [closed]

Hello to all Nordic jedi masters!

I am using the nRF52832 along with SDK v11.0

I want to have the SAADC generate events only when the converted value is above a certain threshold. I am not interested in the ... (more)

133
views
no
votes
1
answer
Last activity 2017-04-12 14:20:15 +0200 by Jørgen Holmefjord flag of Norway

saadc scan output order sdk 12.2.0

The output order of my scanning Saadc is not predictable.

I found two related questions, but they both are for SDK 11 and seem to have been resolved.

https://devzone.nordicsemi.com/questi...

https://devzone.nordicsemi.com/questi...

But they ... (more)

161
views
2
votes
1
answer
Last activity 2017-03-15 15:44:35 +0100 by anasimtiaz

Stopping and Starting SAADC

What is the right way of stopping and then subsequently re-starting SAADC?

Using the saadc example, I want to be able to stop saadc when a certain pin is grounded or when a certain characteristic is received using BLE. I ... (more)

209
views
1
vote
no
answers
Last activity 2017-01-08 15:03:36 +0200 by max

saadc sdk12

Hi,

What is the valid configuration for SAADC with oversampling for nrf52 sdl12.2

I try

SAADC config

SAADC_CONFIG_OVERSAMPLE 4

nrf_saadc_channel_config_t channel_config = NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN0);
    channel_config.burst = NRF_SAADC_BURST_ENABLED;

TIMER with rate 30000[ms]

app_timer_start(m_adc_timer_id, APP_TIMER_TICKS(ADC_INTERVAL, 0), NULL);

timer_handler

void ...
(more)

Statistics

  • Total users: 25660
  • Latest user: dlouver
  • Resolved questions: 11261
  • Unanswered questions: 3818
  • Total questions: 27801