Hello Nordic Team,
i've been evaluating the nRF52833 and i have been having a lot of good success. i have been focused on the SAADC block to ensure it meets my performance needs. i have been able to configure the block and get good data at lower rates. I have started with the example for the DK and been able to customize it fairly easily.
I'm not to the point where i need to achieve a faster sampling rate and observe the data. If i'm understanding this correctly this piece of code controls the sample rate
/* setup m_timer for compare event every 400ms */
uint32_t ticks = nrf_drv_timer_us_to_ticks(&m_timer, 500); //RPM
nrf_drv_timer_extended_compare(&m_timer,
NRF_TIMER_CC_CHANNEL0,
ticks,
NRF_TIMER_SHORT_COMPARE0_CLEAR_MASK,
false);
nrf_drv_timer_enable(&m_timer);
in this case i have lowered the timer period to 500us as opposed to 400ms that is the default. when i do this i get several dropped logs as shown in the UART. i am running the UART at 460800 baud. i believe i have enough bandwidth with the UART to display this data but i'm not sure how to increase the log size or improve the throughput in this case to get samples from the SAADC streamed over the UART any faster.
do you have any guidance on where to go from there?
thanks!
