If interrupts and DMA are new to you, here are two resources that describe their use (relative to MCUs) fairly well:
- For interrupts: https://www.renesas.com/eu/en/support/technical-resources/engineer-school/mcu-programming-peripherals-04-interrupts.html
- STM application note AN4031 – Using DMA on the STM32F7: https://www.st.com/content/ccc/resource/technical/document/application_note/27/46/7c/ea/2d/91/40/a9/DM00046011.pdf/files/DM00046011.pdf/jcr:content/translations/en.DM00046011.pdf