Hello Sir,
We are using nRF52832 chip and Softdevice is S132. Is it possible to sample an analog signal using internal ADC conversion using 4096Hz?. Its look like it does at 3900Hz.
Thanks in Advance..
Hello Sir,
We are using nRF52832 chip and Softdevice is S132. Is it possible to sample an analog signal using internal ADC conversion using 4096Hz?. Its look like it does at 3900Hz.
Thanks in Advance..
I don't know how you have setup RTC, but you should make sure you do not enable interrupt if you want to trigger the sampling through PPI. You also need to clear the RTC after getting the compare event. This can also be done using PPI. I will edit my answer above with a working main.c file for ble_app_uart__saadc_timer_driven__scan_mode that implement sampling using RTC over PPI. Note that you need to include the nrf_drv_rtc.c source file, and enable RTC in sdk_config.h.
I measure the current using multi meter which is connected serial of positive power supply. I measure 5.78mA current during advertising only when i reading ADC value at that it goes to 6-7mA with BLE connectivity in android apps. In new RTC code i am not set sampling rate only set frequency and CC value is 32768 and 8. So sir Can you guide me how i can reduce this high current consumption because my device is operate on AA battery cell. For long battery life is important for me. In my new RTC program where i need to define sampling rate, and also How i can control EasyDMA for less current consumption. You saying are upload my main program.
I measure the current using multi meter which is connected serial of positive power supply. I measure 5.78mA current during advertising only when i reading ADC value at that it goes to 6-7mA with BLE connectivity in android apps. In new RTC code i am not set sampling rate only set frequency and CC value is 32768 and 8. So sir Can you guide me how i can reduce this high current consumption because my device is operate on AA battery cell. For long battery life is important for me. In my new RTC program where i need to define sampling rate, and also How i can control EasyDMA for less current consumption. You saying are upload my main program.