2023-11-09 06:01 AM - edited 2023-11-09 06:06 AM
Hi I like to find out How i can start a spi communication with DMA by a timer i tried to search a lot on google for this but didnt found any solution for the SPL and a F4.
My Problem is i try to read out a ADC connected to SPI 1 very fast first i tried to start the DMA in the Timer interrupt and write the data by DMA in a array but this is to slow and i wanna get rid of the Timer interrupt so my plan was to configure a timer and the DMA so the Tim1 trigger the DMA after every CNT overflow. Is this possible if yes can someone hand me some example code bc i cant find any functions to connect the DMA2Stream5 or Stream 0 (RX or TX) to the Timer.
2023-11-09 06:16 AM
You can check the answers here.