Hi Nordic team,
I have successfully developed an application using nrfx (Timer/PPI/SAADC) combo in NCS 1.5.x to be able to sample 2x differential channels very fast.
Similar to the method advised here
I have a few questions:
Since using advanced mode and PPI, everything is set to work automatically, very fast (16K sample per sec) for 2x differential channels, and 4x oversample, adding more channels is impossible w/o lowering the overall sample rate.
1- How do I add other channels that I don't need to be sampled very fast? e.g. a few times ( < 20sps) per second.
does this mean I have to stop PPI and uninit and reinit saadc to get the samples for low freq channels, then uninit reinit for the fast sampling? and switch between the two operations constantly? if this is the only way, can I do this in an interrupt context that is initiated by the timer? hence keeping it in sync with the timer/ppi/saadc combo.
Or is there a better way I cannot think of?
Unfortunately I cannot sample the high frequency channels less than 16ksps, so lowering that is not an option.
2- Hardware question: What are the noise/performance figures for the GAIN amplifier inside the nRF52840 SAADC for different gain/attenuate settings?
Basically we do have an AGC amplifier circuit that feeds those high frequency channels into nRF ADC pins, therefore we're curious to see what gain or attenuate setting inside SAADC results in best performance, and hence adjust our external AGC accordingly.
Thanks,