Chip select
Encyclopedia
Chip select or slave select (SS) is the name of a control line in digital electronics used to select one chip out of several connected to the same computer bus
Computer bus
In computer architecture, a bus is a subsystem that transfers data between components inside a computer, or between computers.Early computer buses were literally parallel electrical wires with multiple connections, but the term is now used for any physical arrangement that provides the same...

 usually utilizing the three-state logic
Three-state logic
In digital electronics three-state, tri-state, or 3-state logic allows an output port to assume a high impedance state in addition to the 0 and 1 logic levels, effectively removing the output from the circuit...

.

One bus that uses the chip/slave select is the Serial Peripheral Interface Bus
Serial Peripheral Interface Bus
The Serial Peripheral Interface Bus or SPI bus is a synchronous serial data link standard named by Motorola that operates in full duplex mode. Devices communicate in master/slave mode where the master device initiates the data frame. Multiple slave devices are allowed with individual slave select ...

.

When an engineer needs to connect several devices to the same set of input wires (e.g., a computer bus), but retain the ability to send and receive data or commands to each device independently of the others on the bus, he can use a chip select. The chip select is a command pin on most integrated circuits which connects the input pins on the device to the internal circuitry of that device, and similarly for the output pins.

When the chip select pin is held in the inactive state, the chip or device is "deaf", and pays no heed to changes in the state of its input pins; outputs are high impedance
Electrical impedance
Electrical impedance, or simply impedance, is the measure of the opposition that an electrical circuit presents to the passage of a current when a voltage is applied. In quantitative terms, it is the complex ratio of the voltage to the current in an alternating current circuit...

, so other chips can drive those signals. When the chip select pin is held in the active state, the chip or device assumes that any input changes it "hears" are meant for it, and responds as if it is the only chip on the bus. Because the other chips have their chip select pins in the inactive state, they are holding their outputs in the high impedance state, so the single selected pin can drive its outputs.

In short, the chip select is an access-enable switch. "ON" means the device responds to changes on its input pins (such as data or address information for a RAM device) and drives any output pins (possibly not at the same time), while "OFF" tells the device to ignore the outside world for both inputs and outputs.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK