I want to use DMA on Teensy 4.1 but I found out that there is hardly any good documentation of how to start (tutorial), which libraries to use, how to configure DMA, and simple examples.
What I want to do now is to read 28gpio states into an array, at speed ot 2M samples per second.
I'm using Arduino-IDE.

Regards Mateusz