DMA-based SPI communication method, electronic device, storage medium, and device
A communication method and technology of a communication device, which are applied in the computer field, can solve the problems that the function cannot realize the SPI communication of the external chip, the speed and efficiency of the program communication are low, and the running speed of the single-chip microcomputer is slowed down, so as to increase the stability, save the cost, and improve the operation. effect of speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] Below, the present invention will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form new embodiments. .
[0031] DMA-based SPI communication method, such as figure 1 shown, including the following steps:
[0032] Initialize the SPI interface, after the processor is powered on, the SPI interface is initialized; in the present embodiment, the processor is specifically a single-chip microcomputer, preferably, in the initialization SPI interface, the transmission mode, mode of operation, data bits, and Transmission speed, specifically, the processor configures the SPI interface as the host bidirectional two-wire mode, the working mode is 0, the data bit is 8 bits, and the transmission speed is 10M.
[0033] Initialize the DMA program, and the processor initi...
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