I have successfully run the SAADC example, and make it a multi-channel example. I see the function saadc_callback(nrf_drv_saadc_evt_t const * p_event) which performs the printing tasks on PC.
I can place the data processing algorithm (very very complicated like deep reinforcement learning) in the saadc_callback function, but worried that it will consuming the CPU and memory resources of the chip. Therefore, I want to place the algorithm on the PC terminal to use CPU resources of the PC.
How shall I achieve this?
Thanks very much.