1. Technical Field
The invention pertains to communication among a controller and integrated circuits, and in particular embodiments, to initializing integrated circuit addresses.
2. Related Art
Microelectronic devices may include multiple integrated circuits (ICs) that operate in conjunction with a controller. In such devices, it is necessary to provide a manner of communicating data between the controller and the ICs. In the interests of miniaturization, it is typically undesirable to use separate dedicated communication lines between each IC and the controller. As a result, a shared bus approach is preferred for most applications.
An example of a conventional shared bus system is illustrated in
The controller communicates data to and from the ICs through a shared bus 18. In order to distinguish communications on the shared bus, each IC is assigned a unique address. The address of each IC is initialized during system initialization. In the system shown in
In an alternative to the system of
Embodiments of the invention provide systems that optimize the number of pins required to assign addresses to ICs in a multiple IC shared bus system. Further embodiments of the invention provide processes within multiple IC shared bus systems that assign addresses to ICs in a manner that minimizes the number of pins required.
In accordance with an embodiment of the invention, a system includes a controller and multiple ICs. The ICs communicate with the controller over a shared bus. The ICs are further joined to an output of the controller in a daisy chain configuration. In accordance with one embodiment of the invention, the controller produces address data that is sent to a first IC through the daisy chain connection. The IC stores the address in its address register and provides incremented address data to the next IC in the daisy chain. In accordance with another embodiment of the invention, the controller produces an enable signal that is sent to a first IC through a daisy chain link. At the same time, address data for the first IC is provided on the shared bus. In response to the enable signal, the IC stores the address on the shared bus in its address register. The enable signal is thereafter propagated to successive ICs over daisy chain links in conjunction with successive addresses provided on the shared bus.
Other systems, methods, features and advantages of the invention will be or will become apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the accompanying claims.
The invention can be better understood with reference to the following figures. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts throughout the different views.
A system in accordance with an embodiment of the invention is illustrated in
The ICs of a system in accordance with
The logic within the IC for processing the input address data signal and generating the output data will vary with the type of address data signal employed. For example, if the address data is represented by a series of pulses, a counter may be employed to sum the pulses to provide a binary address for storage in the address register. Further logic circuitry may be employed, for example, to decrement the counter sum by one to enable storage of a zero address in response to receipt of a single pulse as address data. The output generator may then increment the value stored in the register by two and produce a corresponding number of pulses.
Alternatively, if the address data is provided in the form of a binary word, the address register may simply store the received binary word, and the output generator logic may increment the binary word and provide the incremented binary word as output.
Those having ordinary skill in the art of microelectronics are capable of designing a variety of logic circuits that may be employed for the aforementioned purposes.
In further embodiments, an IC as shown in
Further in accordance with this embodiment, the controller is programmed to produce a series of addresses on the shared bus and to produce an enable signal on an output in conjunction with a first address of the series of addresses. Programming instructions for causing the controller to produce these signals may be stored in a storage medium (not shown) in communication with the controller. The storage medium is preferably, but not limited to, a non-volatile memory device such as a ROM or flash memory.
The controller thereafter generates a second address on the shared bus (110), and the first IC generates an enable signal at its daisy chain output in conjunction with the change of address data on the shared bus (112). The enable signal is received by a second IC on its daisy chain input (114), and the address data is received by the second IC on the shared bus (116). Since the enable signal is present, the second IC stores the address in its address register (118). The controller thereafter generates a third address on the shared bus (120), and the second IC generates an enable signal at its daisy chain output in conjunction with the change of address data on the shared bus (122). In this manner, the enable signal is propagated to each successive IC in conjunction with the changes of address on the shared bus, allowing each IC to store a consecutive one of the addresses in its address register.
The enable signal generator logic 84 of the ICs may be implemented in a variety of manners. In one embodiment, the enable signal generator logic 84 may comprise a timer that is initialized upon receipt of the enable signal 70, and that generates an enable signal 76 after a period of time that coincides with the rate at which address data is changed on the shared bus. In a preferred embodiment, the enable signal generator logic 84 receives the input signal 70 and shared bus signals as inputs, and produces an output enable signal 76 upon detecting the first change in address data after receiving the input enable signal 70. In this manner, enable signals are not propagated until new address data for the next consecutive IC is available on the shared bus. Thus the enable signals are synchronized with the data rate on the shared bus, eliminating timing problems that could occur in a timer based implementation.
Those having ordinary skill in the art of microelectronics are capable of designing a variety of logic circuits that may be employed for the aforementioned purposes.
In further embodiments, an IC as shown in
While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are within the scope of this invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
5327394 | Green et al. | Jul 1994 | A |
5923597 | Tweed et al. | Jul 1999 | A |
6070003 | Gove et al. | May 2000 | A |
6334159 | Haupt | Dec 2001 | B1 |
6487617 | Gates | Nov 2002 | B1 |
6529979 | Floyd et al. | Mar 2003 | B1 |
6629161 | Matsuki et al. | Sep 2003 | B2 |
6725314 | Dong | Apr 2004 | B1 |
20020147877 | Farmwald et al. | Oct 2002 | A1 |
20030023908 | Massie | Jan 2003 | A1 |
20030120895 | Litaize et al. | Jun 2003 | A1 |
20040093450 | Andreas | May 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20020188781 A1 | Dec 2002 | US |