Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: BF518 problem with UART in DMA mode

$
0
0

Hi,

 

the status bits get clear by reading from the UART_LSR register.

The receive buffer gets cleared by reading from it. Check DR bit in UART_LSR, should be cleared after reading.

You may need to stop the DMA if it is still running (as only one byte has been received).

After this you can send the next request.


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>