AnsweredAssumed Answered

HAL Library Rx UART undefined size message strategy

Question asked by gingras.martin on Sep 14, 2016
Hi,

I am currently receiving data on UART.  Messages sizes are unknown and I need to process data received byte per byte.  

I have found AN3109 - Communication peripheral FIFO emulation with DMA and DMA timeout in STM32F10x microcontrollers.

However, it is using std_periph library :(

There is 2 solutions:

1.- FIFO emulation with DMA
2.- Receive DMA timeout

What would be the best approach to not lose any incoming data?  Any HAL Library example?

thanx for your time.


Mart

Outcomes