Methods and apparatus for using an addressable serial peripheral interface
AssigneeMixcomm, Inc.
InventorsFrank Lane, Enkhbayasgalan Gantsog
Life of this patent
Estimating the term…
Abstract
Devices in an array of devices, coupled to a common SPI bus, are automatically assigned identifiers by an enumeration process. In some embodiments, the devices are coupled together in an enumeration daisy chain. The enumeration function is initiated, e.g., by a controller, with a single SPI transaction.
Claims16
A method of device identifier assignment, the method comprising:
- detecting, at a first device in a daisy chain of devices, a signal indicating the start of a serial peripheral interface (SPI) transaction;
- operating the first device to detect an amount of time between the start of the SPI transaction and a signal on a first identifier assignment pin of the first device;
- and
- determining, at the first device, the device identifier assigned to the first device based on the detected amount of time between the start of the SPI transaction and the signal on the first identifier assignment pin of the first device.
An array of devices, the array of devices comprising:
- a first device including:
- a first input and output interface including i) a first input configured to receive a signal indicating a start of a serial peripheral interface (SPI) transaction, ii) a first identifier assignment pin and iii) a second identifier assignment pin;
- and
- a first processor configured to:
- detect a signal communicated on the first input indicating the start of a serial peripheral interface (SPI) transaction;
- detect an amount of time between the start of the SPI transaction and a signal on a first identifier assignment pin of the first device;
- and
- determine the device identifier assigned to the first device based on the detected amount of time between the start of the SPI transaction and the signal on the first identifier assignment pin of the first device.
A non-transitory computer readable medium including computer executable instructions which when executed by a processor of a first device cause the first device to perform the steps of:
- detecting, at the first device in a daisy chain of devices, a signal indicating the start of a serial peripheral interface (SPI) transaction;
- operating the first device to detect an amount of time between the start of the SPI transaction and a signal on a first identifier assignment pin of the first device;
- and
- determining, at the first device, the device identifier assigned to the first device based on the detected amount of time between the start of the SPI transaction and the signal on the first identifier assignment pin of the first device.
Dependencies are inferred from the claim text.