This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SAADC oversampling + burst mode on three channel

Hi,

    I have two questions as below. Thank you.

1. Oversampling + burst mode only can use on one channel, can't support two or more channel. Is it right?

2. If Q1's answer is yes. How can I average 30 numbers of ADC value on three channel? (for loop 30 times for nrf_drv_saadc_sample() -> is it right?)

for(int i=0;i<30;i++)
{
    err_code = nrf_drv_saadc_sample();
    APP_ERROR_CHECK(err_code); 
    nrf_delay_ms(10);
    v1 = v1 + read buffer[0];
    v2 = v2 + read_buffer[1];
}

v1 = v1/30;
v2 = v2/30;

Parents Reply Children
No Data
Related