cancel
Showing results for 
Search instead for 
Did you mean: 

HAL Library Rx UART undefined size message strategy

martingingras9
Associate II
Posted on September 14, 2016 at 17:22

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
0 REPLIES 0