I am using S130, and I try to write an very simple program, when I push button_1 then it read ADC and print it our by UART. So, write a "nrf_drv_adc_buffer_convert" code inside the bsp_event_handler to detect BSP_EVENT_KEY_1 is pushed. But I got an error (fatal).
But when I changed the "nrf_drv_adc_buffer_convert" to "nrf_drv_adc_sample_convert" (single ADC conversion). It works fine.
Why I got fatal error when I put "nrf_drv_adc_buffer_convert" inside bsp_event_handler? What is different to "nrf_drv_adc_buffer_convert" and "nrf_drv_adc_sample_convert" ?? Please somebody explain it.