High-performance serial communication method, system, medium, equipment and terminal
A serial communication, high-performance technology, applied in the field of data communication, can solve the problems of SPI lack of communication mechanism data transmission reliability, unable to judge whether the slave is receiving data correctly, unable to meet the data interaction between master and slave, etc. Visibility and controllability, ensure normal communication, the effect of fast communication speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] In order to solve the problems existing in the prior art, the present invention proposes a high-performance serial communication method based on DMA. The present invention uses the DMA technology to replace the interrupt technology to complete the data exchange process during the serial communication, thereby improving the communication efficiency; On the basis of the traditional SPI communication mechanism, a slave status signal line (Busy) and a CRC status signal line (CRC) are added, and a new master-slave data interaction mechanism is proposed to ensure that the host can understand the slave receiver in time. It improves the reliability, visibility and controllability of the communication state; in the present invention, the master and the slave use a standard CRC data verification mechanism to judge the accuracy of the data, so as to ensure the normal operation between the master and the slave. communication.
[0061] like figure 1 As shown, the high-performance s...
Embodiment 2
[0084] Example The method of the present invention is applied to the field of servo control, and the data command communication between the controller and the driver in the servo control is realized by the method of the present invention, and the motor is controlled to run.
[0085] The main chip of the controller adopts STM32F407, and the operating frequency can reach 168MHz. As the host, it is responsible for sending data commands to the driver and checking the working status of the motor. The main chip of the driver adopts RT1052, as a slave, it is responsible for receiving the command from the controller to control the operation of the motor, and at the same time monitoring the state of the motor and uploading it to the controller.
[0086] like image 3 As shown, the controller and the driver adopt a six-wire communication method, and a slave state signal line and a CRC state signal line are added on the basis of the traditional four-wire SPI communication method. Commun...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com