Unique Slave Addressing for Daisy Chain SPI Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing two-field approach for identifying target slave devices in a daisy chain SPI connection is cumbersome, consuming large data bandwidth and requiring extra operations, increasing operational costs and complexity.
Innovation Solution
Assigning a unique slave address to each device in the daisy chain, allowing the master to send an initialization data packet that defines a target slave address, register address, and start address, enabling efficient identification and operation by comparing these addresses within the chain.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the two-field approach (Target Slave Address Field and Chain Field) is used to identify target slave devices in a daisy chain SPI connection, then reliable slave identification is achieved, but data bandwidth is consumed and operational complexity increases
Solution Approach 1:
The patent extracts the Chain Field from the communication protocol, retaining only the Target Slave Address Field. Each slave device is assigned a unique address that directly identifies it, eliminating the need for the Chain Field and its associated incrementing operations. This reduces protocol complexity while maintaining reliable slave identification.
Solution Approach 2:
The patent applies preliminary action by pre-assigning unique addresses to each slave device during manufacturing or initialization. This preconfiguration eliminates the need for runtime chain field incrementing and comparison operations, simplifying the communication protocol while ensuring reliable slave identification.
2Measurement precision
If the two-field approach is used to identify target slave devices, then accurate slave selection is achieved, but data bandwidth is consumed
Solution Approach 1:
The patent removes the Chain Field from the data packet structure, transmitting only the Target Slave Address Field. This extraction reduces the quantity of data transmitted while maintaining accurate slave selection through unique addressing, directly addressing the bandwidth consumption issue.
Solution Approach 2:
The patent changes the addressing parameter from a two-field system (Target Slave Address + Chain Field) to a single-field system (Unique Slave Address). This parameter change reduces the data bandwidth required for communication while preserving accurate slave selection capability.
3Ease of operation
If each slave has internal fixed unique address, then slave identification is simplified, but manufacturing cost increases
Solution Approach 1:
The patent applies preliminary action by pre-assigning unique addresses to slave devices during manufacturing or initialization. This approach simplifies slave identification operations while managing manufacturing costs through efficient address assignment strategies, such as using initialization data packets to configure addresses.
Solution Approach 2:
The patent enables self-service by allowing slave devices to receive and store their unique addresses through initialization data packets transmitted from the master device. This automated address assignment process reduces manual configuration efforts and simplifies the overall system operation.
Data Source
AI summary
A method for programming and controlling of a plurality of slave devices serially connected in a daisy chain configuration using a master device includes assigning a unique slave address to each slave device in the plurality of slave devices by sending an initialization data packet from the master device serially through the plurality of slave devices; storing, in each of the plurality of slave devices, the assigned slave address; defining a data packet; and transmitting the data packet serially to one or more of the plurality of slave devices. The data packet has a target slave address, a read/write command, a start address, and optionally a register address and an increment value.


