AnsweredAssumed Answered

Using the system timer and USART receive interrupts with DMA

Question asked by David Fisher on May 11, 2017
Latest reply on May 25, 2017 by Br_ggemann.Dieter

I am trying to implement  "2.2.2 Method2: Using the system timer and USART receive interrupts" from the following document on an F767ZI Nucleo board.

 

http://www.st.com/content/ccc/resource/technical/document/application_note/d6/03/cb/dd/03/54/49/d6/CD00256689.pdf/files/CD00256689.pdf/jcr:content/translations/en.CD00256689.pdf

 

I want to implement a decoder for the Futaba SBUS rc protocol. It has a fixed length of 25 bytes and takes approximately 3ms to transmit, with 3-5ms between packets depending upon the receiver used. My idea was to use a USART receive interrupt to start a timer that would cause an interrupt if the DMA interrupt hadn't fired within 3.5ms. Does anyone know of an example implementation of the above method ?

Outcomes