Double buffering data transmission method based on serial peripheral interface (SPI) bus communication protocol
A data transmission method and SPI bus technology, applied in the field of data transmission, can solve problems such as errors and output frame verification, and achieve the effects of eliminating output error frames, good adaptability, and convenient and flexible transmission methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] Such as figure 1 Shown is the flow chart of method among the present invention, from figure 1 As can be seen, a kind of double-buffering data transmission method based on SPI bus communication protocol that the present invention proposes, concrete steps are as follows:
[0028] (1) The slave device allocates two buffers for data transmission, respectively named buffer A (Flag_up=0) and buffer B (Flag_up=1), such as figure 2 shown. Carry out system initialization, set the current sending buffer as buffer A, and set the initial value of the flag, such as image 3 shown. The data frame includes a frame header mark, a data field and a check code; the length of the frame header mark is 1 to 2 bytes, the length of the check code is 1 to 2 bytes, and the check code is 8 to 16 bits checksum. A format for sending data frames is shown in Table 1:
[0029] Table 1
[0030] illustrate
content
length (bytes)
header flag
0xAA, 0x2A
2
d...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com