This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to configure ADC in single end mode and also how to control my samplerate using local timer?

Hello, I am using nRF52832 DK, and implement my software using eclipse with ARM GCC complier sdk12.1. I have interface accelerometer sensor with this board. I have read SAADC and send adc value to android apps. I am using 12 bit ADC, But problem is for calibrating acceleration analog value. So I want to use single ended mode for ADC and how to select mode for control the sample rate using CC. I read data sheet for controlling sample rate, but unable to understand what's I need to change in my program. nRF52832 data sheet is in given like this (Capture and compare value. Sample rate is 16 MHz/CC). So please help me for how to configure my program with above changes let me know., or can you give me some reference link tutorial.......

Thanks in Advanced......

Parents
  • Thanks sir for giving me your valuable reply now I am understand why we need to shift 16 bit to 8 bit for sending via BLE using NUS. Now sir one more question I have using sdk13.1 for nRF52832. now we develop our own mobile apps for android. As off now it is directly connect no need to type any key. So sir but I need to add in my above adc program static pass key. I have read lots of tutorial and also change in my program. Paring request is send but not get response for type pass key. It said unable to connect or invalid pass or static key. So sir let me know some example for how to add static pass key for nRF52 series I have using PCA10040 Board.

    Thanks sir...... Vishal

Reply
  • Thanks sir for giving me your valuable reply now I am understand why we need to shift 16 bit to 8 bit for sending via BLE using NUS. Now sir one more question I have using sdk13.1 for nRF52832. now we develop our own mobile apps for android. As off now it is directly connect no need to type any key. So sir but I need to add in my above adc program static pass key. I have read lots of tutorial and also change in my program. Paring request is send but not get response for type pass key. It said unable to connect or invalid pass or static key. So sir let me know some example for how to add static pass key for nRF52 series I have using PCA10040 Board.

    Thanks sir...... Vishal

Children
No Data
Related