[Domestic MCU]-BL602 development example-UART data sending and receiving

UART data sending and receiving


Universal Asynchronous Receiver/Transmitter (Universal Asynchronous Receiver/Transmitter, commonly referred to as UART) is an asynchronous transceiver transmitter that provides a flexible way to exchange full-duplex data with external devices. BL602/BL604 has 2 sets of UART ports (UART0 and UART1), which can realize high-efficiency data communication by cooperating with DMA.

This article will introduce how to use the UART module of BL602 in detail. The main content includes, data receiving and sending in polling mode; data receiving and sending in interrupt mode and DMA mode data receiving and sending.

1. UART introduction of BL602

BL602/BL604 has 2 sets of UART ports (UART0 and UART1), which can realize high-efficiency data communication by cooperating with DMA. The UART of BL602/BL602 has the following characteristics:

  • full duplex asynchronous

Guess you like

Origin blog.csdn.net/wujuxKkoolerter/article/details/132103173