 the current buffer to the buffer-processing callback) and dfsdm.reset() (to disable the dfsdm) before calling spiAHSR.configure().
If you attempt to configure dfsdm while spiAHSR is in use, the following error will be thrown:
“cannot configure dfsdm whilst spiAHSR is in use in dfsdm.configure(filterOrder, decimation, integration, offset, rightShift, samplingEdge, buffers, callback[, processors])”. If you attempt to configure spiAHSR while dfsdm is in use, the following error will be thrown:
“cannot configure spiAHSR whilst dfsdm is in use in spi.configure(flags, rateKHz)”.
The dfsdm object has the following member methods: