Hi,
We have an application using HSADC on MKV58. We also use DMA and set the scan mode as parallel loop scan. During the test, we found the HSADC reading is lower than actual reading on power supply (ie. Reading a 24.22V input using voltage divider reads 22.8V).
When using parallel trigger scan gives a much accurate reading on 24.19V. Sampling time count and clock setting are the same (sampling time count = 2, clock divisor = 4).
When changing the sampling time count higher to 192 and use loop scan, reading is close to 24.10 V.
In our application, we need to acquire the HSADC reading for multiple samples (ideally 8 samples) in 10K HZ loop, so we need the sampling time to be as low as possible and use DMA to do loop scan. Not sure why the reading is so different when using different scan method under same setting. Just want to ask if anyone have heard about similar case and if anyone have any solutions / suggestions for me.
Regards,
Zirun
Thank you so much for your interest in our products and for using our community.
I noticed that you have another similar case, so I will follow up on this last one that I mention.
Have a nice day!