This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SAADC scan + burst?

On SDK16.0.0 + Mesh SDK 4.1.0

I know that oversampling when using the SADDC in scan mode on multiple channels does not work because the buffer gets all out of order.

But I believe burst mode can be used in scan mode where it samples the channel multiple times as fast as possible, averages it, and then puts the result in the buffer in the right order. Burst mode uses the oversample setting for setting how many readings to average. Is this all correct?

Does this work in SDK16.0.0 by simply setting nrf_drv_saadc_config_t .oversample value and nrf_saadc_channel_config_t .burst value? I did this and everything seems to be working, but I don't know if it's actually doing it. I initially tried to use nrf_saadc_burst_set(channel, NRF_SAADC_BURST_ENABLED) to enable burst for each channel, but that did not work and the readings were all wrong.

Or do some modifications need to be made like in this thread? https://devzone.nordicsemi.com/f/nordic-q-a/26659/saacd-scan-oversample/

Thanks.

Parents
  • Hello again,

    The HW engineers have taken an initial look at the demonstration I provided, and they concur that this is an issue that must be looked into further.
    However, some of the HW engineering team are out of office this and the following week, so it will probably take some time to investigate and debug this fully.
    Thank you for your continued patience. Please know that we are determined to get to the bottom of this.

    I will update this ticket as soon as I have any new information. In the meantime, please do not hesitate to reach out to your contact Gene if there should be anything you would like to discuss.

    Best regards,
    Karl

Reply
  • Hello again,

    The HW engineers have taken an initial look at the demonstration I provided, and they concur that this is an issue that must be looked into further.
    However, some of the HW engineering team are out of office this and the following week, so it will probably take some time to investigate and debug this fully.
    Thank you for your continued patience. Please know that we are determined to get to the bottom of this.

    I will update this ticket as soon as I have any new information. In the meantime, please do not hesitate to reach out to your contact Gene if there should be anything you would like to discuss.

    Best regards,
    Karl

Children
Related