A fully fledged lock-in amplifier running at 25 kHz sampling rate @ 12-bit on an Adafruit M4 microprocessor board with an extensive Python graphical user interface showing real-time signals, interactive filter design and real-time power spectra.
SAMD21 has new firmware, programmed in MicrochipStudio
Implemented the stand-alone direct-memory-access controller (DMAC) on the DAC and ADC channels.
Implemented the Event Engine to automatically send out blocks of data whenever the ADC buffers are full.
Allows a sample frequency of easily 20,000 Hz.
SAMD51 still has the outdated firmware, programmed in VSCode. It relies on the interrupt-service routine (ISR) for the ADC, which is way slower than DMAC-ADC. Current sample frequency is 5,000 Hz. To be converted to MicrochipStudio.
The Python main program has major stability and speed improvements and works with both the newer SAMD21 firmware and the outdated SAMD51 firmware. Many modules have been transformed into separate PyPi packages now.
SAMD21 has new firmware, programmed in MicrochipStudio
SAMD51 still has the outdated firmware, programmed in VSCode. It relies on the interrupt-service routine (ISR) for the ADC, which is way slower than DMAC-ADC. Current sample frequency is 5,000 Hz. To be converted to MicrochipStudio.
The Python main program has major stability and speed improvements and works with both the newer SAMD21 firmware and the outdated SAMD51 firmware. Many modules have been transformed into separate PyPi packages now.