Hi,
I'm working on a project where I need to collect and process analog data coming from high speed sensor measurements. The data needs to be read at a speed of 25k samples/sec. In which way do I need to adapt the saadc example file to increase the sampling speed? I tried changing
uint32_t ticks = nrf_drv_timer_ms_to_ticks(&m_timer, 400);
into
uint32_t ticks = nrf_drv_timer_us_to_ticks(&m_timer, 40);
but when I then look at the result in the Termite-terminal, it says 'overflow'. Is the limiting factor here the sampling frequency of the ADC-pins or the rate with which the data is send to the terminal? And is there a way to avoid just getting 'overflow'?
Also, to be able to process the data, I would like to save the samples in an array and then send the entire array all together to my computer once every second for example. I wanted to do this just via the USB-connection that is already established but I don't know if something like this is possible. Do you have some example code where something similar is done?
-Thank you