Hi,
Now, i want to use SAADC with softdevice of SDK15.0 to make a beacon program.
I migrate SAADC example in nRF5_SDK_15.0.0_a53641a\examples\peripheral to beacon with softdevice. My cpu is NRF52810. Of course, i change timer from timer0 to timer1.
Now ,i compile it no error,but i cann't run these codes:
#define SAMPLES_IN_BUFFER 1
volatile uint8_t state = 1;
const nrf_drv_timer_t TIMER_LED = NRF_DRV_TIMER_INSTANCE(1);
static nrf_saadc_value_t m_buffer_pool[2][SAMPLES_IN_BUFFER];
static nrf_ppi_channel_t m_ppi_channel;
static uint32_t m_adc_evt_counter;
in main function:
saadc_init(); //cann't run;
saadc_sampling_event_init(); //cann't run;
saadc_sampling_event_enable(); //cann't run;