AnsweredAssumed Answered

DMA Interrupt is not triggered

Question asked by Alexander Kerkenhoff on Apr 29, 2018
Latest reply on Apr 30, 2018 by Alexander Kerkenhoff

Hello Community,

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.



Projects/STM32F767ZI-Nucleo/Examples/UART/UART_Printf/Src · master · Alexander Kerkenhoff / RPLidar_STM_Obstacle_Avoidan… 



Projects/STM32F767ZI-Nucleo/Examples/UART/UART_Printf/SW4STM32/STM32F767ZI-UART/Example/User · master · Alexander Kerken…