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

SAADC Scan Mode mixes channel buffers whan fast.

Hi, i have a strange problem which happens when i use scan mode to get 3 separate channels on saadc.

For example when i use uint32_t ticks = nrf_drv_timer_us_to_ticks(&m_timer, 200); everytihing is ok but whan i use 50us buffers get mixed up?

Is this possible?

I use nrf52 with sdk 12.2.0

Parents
  • @schef: Could you describe a little bit more what kind of mixed up /crash you got ?

    What was your source resistance ? This can affect the acquisition time as in 37.12.1 in the spec, and the time there is for each SAMPLE task.

    When do you print the result out with RTT ? If you printout on every sample you got it may cause a problem since it's not enough time to print I assume.

Reply
  • @schef: Could you describe a little bit more what kind of mixed up /crash you got ?

    What was your source resistance ? This can affect the acquisition time as in 37.12.1 in the spec, and the time there is for each SAMPLE task.

    When do you print the result out with RTT ? If you printout on every sample you got it may cause a problem since it's not enough time to print I assume.

Children
No Data
Related