RSS
Sort by » date activity ▼ answers views votes

10 questions

Tagged
  • x
25
views
no
votes
1
answer
Last activity 2017-08-11 15:57:38 +0200 by AmbystomaLabs

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)

38
views
no
votes
no
answers
Last activity 2017-08-11 09:26:26 +0200 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)

37
views
no
votes
no
answers
Last activity 2017-08-10 16:08:36 +0200 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)

35
views
no
votes
1
answer
Last activity 2017-06-15 10:32:32 +0200 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)

80
views
no
votes
1
answer
Last activity 2017-06-13 08:32:02 +0200 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)

27
views
1
vote
1
answer
Last activity 2017-04-12 18:53:22 +0200 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)

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

96
views
2
votes
1
answer
Last activity 2017-03-15 15:44:35 +0200 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)

178
views
1
vote
1
answer
Last activity 2017-02-14 13:53:09 +0200 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)

160
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: 23734
  • Latest user: Iris Wilbur
  • Resolved questions: 10096
  • Unanswered questions: 3084
  • Total questions: 24455