Bus Controller Pin Reconfiguration for Multi-Slave Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional bus systems, such as those using the enhanced serial peripheral interface (eSPI) bus, face difficulties in communicating with multiple slave devices due to the limited number of chip select pins on the master device, restricting expandability and efficiency in data transmission.
Innovation Solution
The integration of a pull-down resistor and a switch controlled by a controller in the bus system allows for the detection of input signals to determine the number of slave devices connected, enabling the assignment of pins for specific functions and facilitating communication through the eSPI bus without additional pins on the master device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a master device uses a one-to-one communication mechanism through eSPI bus with only one chip select pin, then communication reliability is improved, but the ability to communicate with multiple slave devices deteriorates
Solution Approach 1:
The slave device segments its functional modules (first function module, second function module) and assigns different pins (first pin, second pin) to different functions. The first pin can be dynamically switched between pull-down resistor connection (for detection) and function module connection (for operation), enabling multi-functionality with limited pins
Solution Approach 2:
The slave device dynamically switches the configuration of the first pin based on detection results. During detection phase, the first pin is connected to pull-down resistor to detect master device presence. After detection, the first pin is reconfigured to support the second function module, maximizing pin utilization
2Device complexity
If the number of pins on master device is kept limited, then device complexity is reduced, but expandability of bus system deteriorates
Solution Approach 1:
The slave device performs self-detection and self-configuration. It autonomously detects whether the master device is connected by monitoring the voltage level on the first pin (high or low), and automatically reconfigures its pins based on detection results without requiring additional control pins on the master device
Solution Approach 2:
The first pin serves multiple functions: it can be connected to pull-down resistor for detection, or reconfigured to support the second function module for data transmission. This multi-functionality allows the bus system to expand to multiple slave devices without increasing master device pin count
3Difficulty of detecting and measuring
If a slave device connects handshake pin to pull-down resistor for detection, then detection capability is improved, but the pin availability for other functions deteriorates
Solution Approach 1:
The slave device performs detection periodically by connecting the first pin to pull-down resistor during detection phase, then switches to operational mode where the first pin supports the second function module. This periodic switching between detection and operation modes allows both detection capability and pin availability to be satisfied at different times
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
This solution enables effective communication with multiple slave devices while maintaining compatibility with existing structures, enhancing the expandability of the bus system without increasing the number of pins, and allowing for independent operation of slave devices.
Implementation Method 1
a pull-down resistor... When the first pin is coupled to the pull-down resistor, the controller can detect a first input signal on the first pin
Data Source
AI summary
An integrated circuit (IC) and a bus system are provided. The IC includes a first function module coupled to a first pin, a switch, a second function module coupled to a second pin, and a controller. The switch selectively couples the first pin to a pull-down resistor according to a control signal. When a specific condition is met, the controller turns on the switch to couple the first pin to a pull-down resistor, and detects a first input signal on the first pin, so as to determine whether there are slave devices coupled to a master device. When the controller determines that the IC is one of the slave devices or the single slave device connected to the master device, the controller turns off the switch to separate the first pin from the pull-down resistor, and assigns the second pin to the second function module.


