UART serial communication method based on gpio handshake and edma
A serial communication and channel technology, applied in the field of serial communication, can solve problems such as low efficiency, no specified data packet boundary, inability to use DSP memory location flexibly, etc., to avoid reading errors, improve data storage services, and reduce size. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.
[0049] UART serial port communication method based on GPIO handshake and EDMA, including the following steps:
[0050] S1. Designate a buffer for sending and receiving data;
[0051] The cache address space of the cache includes the L2 address in the DSP chip, the DDR address, and other peripheral addresses that can be accessed by EDMA;
[0052] S2. When using UART to send data, use EDMA to move the data to be sent to the sending FIFO of UART, and then send it to the peer device by UART;
[0053] The duration of the timer is determined by the physical delay on the sending link;
[0054] Such as figure 2 , the use of UART for data transmission, specifically:
[0055] (1) The CPU application program is used as the source of data transmission, first configure the trans...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

