I just getting started with STM32 and Hal Library. For one project i would like to collect data from an RPLidar (2000 Samples per second). In that case i want to use the DMA unit to perform the data collection. After a week of reading Datasheets and don't getting it to work i want to ask you for help. My problem is that i don't know if the DMA collects DATA and not throws any interrupt or it just not collects any data. I think my problem is elementary so i hope i just forget some init. I would be happy if someone with experience in the DMA could watch for my code and say if there is something wrong.
Some information about the project:
I started with the UART example for the STM767ZI from the CUBEMX and tried upon that to get the DMA to work.