Skip to main content


Resets the imp004m’s DFSDM facility


Device (from impOS™ 38)
Available on the imp004m only




This methods immediately halts any sampling in progress and frees all sample buffers being used. The buffer-processing callback will not be executed, so any data in the current buffer will be lost — a such we recommend that you use dfsdm.stop() to halt sampling and to send the current buffer to the buffer-processing handler, and then call dfsdm.reset().

After a reset, the dfsdm object must be reconfigured using dfsdm.configure() before it is started again.

If you intend to make use of the imp004m’s spiAHSR bus, you must de-configure dfsdm using dfsdm.reset() before you can configure the SPI bus with spiAHSR.configure().