Programmable SPI Controller Multi-Port Data Transmission
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current Serial Peripheral Interface (SPI) systems are limited to single-port data transmission, failing to meet the increased requirements of systems needing immediate data processing, especially in multi-device scenarios.
Innovation Solution
A programmable SPI controller is introduced to switch between single-port and multi-port data transmission modes, enabling concurrent data transmission and reception between multiple devices using a shared clock and chip select signal, with data buses handling multiple bits and packets.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a single-port SPI configuration is used, then the hardware structure remains simple and fixed, but the system cannot meet increased requirements for multi-device data transmission and immediate data processing
Solution Approach 1:
The SPI controller is designed to perform multiple functions: it can operate in both single-port mode (traditional MOSI/MISO) and multi-port mode (simultaneous data transmission to multiple slave devices). The same hardware resources (shift registers, data buses, control logic) are reused across different operational modes, allowing the system to adapt to varying requirements without adding dedicated hardware for each mode.
Solution Approach 2:
The SPI controller implements dynamic mode switching between single-port and multi-port operations through programmable control. The controller can be configured at runtime to change its operational characteristics, allowing the system to adapt to different data transmission requirements dynamically rather than being fixed in a single configuration.
2Productivity
If multiple slave devices are coupled to the SPI, then multi-port data transmission is enabled, but resource waste occurs in traditional single-port configurations
Solution Approach 1:
The shift registers and data buses are designed to serve universal purposes: in single-port mode, they handle traditional bidirectional communication; in multi-port mode, the same registers and buses are utilized to simultaneously manage multiple slave devices. This eliminates resource waste by ensuring that hardware components are actively used in both operational scenarios.
Solution Approach 2:
The patent merges the functionality of multiple dedicated single-port SPI interfaces into a single multi-port capable interface. By combining the data transmission paths and control logic, the system achieves multi-device communication capability while reducing the number of separate hardware resources needed compared to having multiple independent SPI controllers.
Data Source
AI summary
A data transmission system is provided. The data transmission system includes a serial peripheral interface (SPI) and a programmable controller. The SPI is coupled between a first device and at least one second device. The programmable controller controls the SPI to switch between a single port data transmission mode and a multi-port data transmission mode. When there are more than one second device coupled to the SPI, the SPI is switched to the multi-port data transmission mode so as to perform multi-port data transmission between the first device and the second devices. At this time, the first device concurrently transmits data to each of the second devices via a first transmission bus terminal, and concurrently receives data from each of the second devices via a second transmission bus terminal.


