SPI Data Exchange Using Triggered Single-Interaction Transfer
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing SPI communication systems require two exchanges of valid and invalid data blocks between master and slave devices, leading to inefficiencies in data transmission.
Innovation Solution
An SPI-based data transmission method where a first side trigger signal determines whether a valid or invalid data block is prepared, allowing a single data interaction to exchange both types of blocks, thereby optimizing communication timing and reducing the number of exchanges.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the traditional SPI communication method is used where master and slave devices exchange valid and invalid data blocks twice, then the communication protocol is simple and easy to implement, but the data transmission efficiency is low
Solution Approach 1:
The slave device prepares the valid data block in advance before receiving the trigger signal from the master device. This preliminary preparation allows the data exchange to be completed in a single interaction rather than requiring two exchanges, thereby improving transmission efficiency without significantly increasing protocol complexity
Solution Approach 2:
The patent introduces a dynamic trigger signal mechanism where the master device can dynamically initiate data exchange based on ready signals from the slave device. This dynamic approach allows the system to adapt to varying data availability conditions, enabling single-exchange efficiency while maintaining protocol simplicity through conditional activation
2Speed
If the data exchange is performed in multiple interactions between master and slave devices, then timing control is simplified, but the transmission speed and efficiency are reduced
Solution Approach 1:
The slave device performs preliminary data preparation by having the valid data block ready before the master device initiates the exchange. This advance preparation eliminates the need for multiple back-and-forth interactions, enabling faster single-exchange transmission while keeping timing control manageable through clear ready-signal protocols
Solution Approach 2:
The patent implements a feedback mechanism where the slave device sends a ready signal to the master device indicating when data is prepared and ready for exchange. This feedback loop enables the master device to initiate transmission at the optimal moment, achieving high-speed single-exchange communication with coordinated timing control between devices
Data Source
Figure 1a~1c
Figure 1d~1e
Figure 1f
AI summary
An SPI-based data transmission method, a chip, a controller, and a storage medium, relating to the technical field of communications. The method includes: receiving a first side trigger signal sent by a second device in a communication system based on a second valid data block to be exchanged; based on the first side trigger signal, preparing a first side data block, wherein the first side data block includes a valid data block or an invalid data block; and in one data interaction process, sending the first side data block to the second device, and receiving a second side data block sent by the second device and corresponding to a second valid data block.