cancel
Showing results for 
Search instead for 
Did you mean: 

UART reception DMA issue

michele23
Associate II
Posted on September 22, 2015 at 17:47

Hi,

Im using an STM32F071RB.

I configured USART to receive data in DMA.

I often get reception stuck but I cant understand why.

I had a look at the registers:

  • USART1->CR3 looses DMAR bit (0x00001040 becomes 0x00001000)
  • USART1->ISR has RXNE bit stuck at 1
  • DMA1->ISR goes to 0 (from 0x00000700)

Is it OVERRUN error? It looks disabled because USART_CR3_OVRDIS is 1.

What should I search for?

Thanks,

M.

 

#usart #dma
0 REPLIES 0