AnsweredAssumed Answered

STM32F4 receive DMA timeout

Question asked by papsdorf.alexander on Feb 9, 2015
Latest reply on Feb 10, 2015 by peacock.jack.003

Hello,

 I have to realize receive DMA timeout for a serial interface. I found the application note AN3109 which describes a mechanism to realize a DMA timeout for the STM32F10x microcontroller. Does this application note also apply for the STM32F4 family?
Basically they recommends to use a timer in slave reset mode, whose counter is reinitailized in response to rising edges on an input capture connected to the UASRT receive pin.

Has somebody an code example for the STM32F4 family which shows this mechanism.I tried to use CubeMX to generate the initialising code but I failed.

Thanks in advance

 Alex

Outcomes