Integrated circuit for operating on a bus, and method for operating the integrated circuit
10394748 ยท 2019-08-27
Assignee
Inventors
- Bernhard Bieg (Regensburg, DE)
- Christoph Haggenmiller (Regensburg, DE)
- Klaus-Dieter Schneider (Lappersdorf, DE)
- Andrey Shadrin (Regensburg, DE)
Cpc classification
G11C7/1048
PHYSICS
G11C8/16
PHYSICS
International classification
G11C8/16
PHYSICS
G11C16/14
PHYSICS
Abstract
An integrated circuit includes a reception port an address port, and a memory with a number of memory sections for storing activation information. The number of memory sections is equal to the number, encodable by the address port, of activatable integrated circuits that are operable over a common bus. A control unit is configured to compare the address encoded by the address port with an address received at the reception port. The control unit writes a defined bit pattern to the memory section associated with the address in the event of a positive comparison, and withholds transmission of a negative acknowledgement signal in the event of a negative comparison. The integrated circuit is configured to be activated by the defined bit pattern in the memory section that corresponds to the address defined at the address port, for communicating with a microprocessor connected to the integrated circuit via the common bus.
Claims
1. An integrated circuit with at least one transmission port, at least one reception port and at least one address port, the integrated circuit comprising: a memory or a memory area which includes a number of memory sectors for storing activation information, wherein the number of memory sectors is equal to a number, codable by the at least one address port, of activatable integrated circuits configurable or configured for being operated on a common bus, and a control unit which is configured to compare the address coded by the at least one address port with an address received at the at least one reception port, and in the case of a positive comparison to write a defined bit pattern to a memory sector of the number of memory sectors that is assigned to the address, and in the case of a negative comparison to suppress a negative-acknowledgment signal at the at least one transmission port, wherein the integrated circuit is configured to be activated by the defined bit pattern in the memory sector that corresponds to the address defined at the at least one address port, for communication with a microprocessor connected to the at least one transmission port and the at least one reception port via the common bus.
2. The integrated circuit as claimed in claim 1, wherein the integrated circuit is configured to switch the at least one transmission port to high impedance in the case of the negative comparison of the address coded by the at least one address port with the address received at the at least one reception port.
3. The integrated circuit as claimed in claim 1, wherein the integrated circuit is configured such that when communicatively coupled to the microprocessor over the common bus, and in response to receiving a deactivation signal from the microprocessor, the integrated circuit changes the content of the memory sector described by the defined bit pattern.
4. The integrated circuit as claimed in claim 3, wherein the integrated circuit changes the content of the memory sector described by the defined bit pattern by inverting the content of the memory sector.
5. The integrated circuit as claimed in claim 4, wherein the integrated circuit changes the content of the memory sector described by the defined bit pattern by erasing the content from the memory sector.
6. A method for activating an integrated circuit from a group of at least two integrated circuits, connected via a bus to a master unit, for communication with the master unit, wherein the bus comprises at least one transmitting line, leading from the master unit to the at least two integrated circuits, and a receiving line leading from the at least two integrated circuits to the master unit, wherein the at least two integrated circuits include a number of memory sectors, and each integrated circuit includes an address port, the method comprising: the master unit transmitting to the at least two integrated circuits linked to the bus a signal that contains a command for writing a defined bit pattern to the memory sector that corresponds to the address, coded at the address port, of the integrated circuit selected for a communication, and each integrated circuit comparing the memory-sector address with the address coded at the address port, and upon a positive comparison, writing the defined bit pattern only to the corresponding memory sector, and transmitting a positive-acknowledgment signal to the master unit, and upon a negative comparison, suppressing transmission of a negative-acknowledgement signal to the master unit, and suppressing further reaction to signals received from the master unit until reception of a new command from the master unit for writing to one of the memory sectors.
7. The method as claimed in claim 6, further comprising, in the case of the negative comparison, switching, by the corresponding integrated circuit, a transmission port of the corresponding integrated circuit connected to the at least one transmitting line to high impedance.
8. The method as claimed in claim 6, further comprising, prior to activation of another of the integrated circuits, deactivating, by the master unit, the integrated circuit presently activated by transmitting a deactivation signal unit to the presently activated integrated circuit, and changing, by the presently activated integrated circuit, content of the memory sector described by the defined bit pattern in response to reception of the deactivation signal.
9. The method as claimed in claim 8, wherein changing the content of the memory sector described by the defined bit pattern comprises inverting the content of the memory sector.
10. The method as claimed in claim 8, wherein changing of the content of the memory sector described by the defined bit pattern comprises erasing the content from the memory sector.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The embodiments of the invention will be described in more detail in the following on the basis of embodiments with the aid of figures. Shown therein are
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION
(9)
(10) For this reason, it is not possible to link further integrated circuits to this known interface, since in the case of the addressing of an integrated circuit by the microcontroller C all the other integrated circuits linked to the interface, which necessarily cannot have this address, acknowledge with a negative-acknowledgment signal NACK and in this way would interfere with the signal transmission.
(11) Desirable is an arrangement according to
(12) In the manner according to an embodiment of the invention, first of all the integrated circuits ASIC1-ASIC3 are equipped with address ports ADDR0, ADDR1 which may be connected to particular potentials, in order in this way to be able to address the integrated circuits ASIC1-ASIC3 by a respectively different bit combination. In the example represented in
(13) The further internal structure of the integrated circuits and the method for activating a respective integrated circuit for communication with the microcontroller will be elucidated in more detail with the aid of
(14) Represented in
(15) Both integrated circuits ASIC1 and ASIC2 include, in addition to their address ports ADDR, a memory or memory area which for each possible addressthat is to say, in the example represented, for two possible addressesinclude a memory sector I, II, the physical addresses of which are known to the microcontroller C, and to which the microcontroller may write a defined bit combination, which may also be of only one bit, by way of token.
(16) In the example represented, a first memory sector I is to have been assigned to base address log. 0, and a second memory sector II to base address log. 1. For instance, if the microcontroller C would like to activate the first integrated circuit ASIC1, the microcontroller transmits via the transmitting line Tx_C a write command to base address BA1 which is received by both integrated circuits ASIC1, ASIC2 and is compared with the base address at their address port ADDR. Only the first integrated circuit ASIC1 establishes a concordance and permits the write operation to its first memory sector at address BA1, into which the token is now entered. In addition, the circuit transmits a positive-acknowledgment signal to the microcontroller C.
(17) The second integrated circuit ASIC2 likewise checks the transmitted base address with that at its address port ADDR and establishes a non-concordance. In the manner according to an embodiment of the invention, however, in this case the circuit will not transmit a negative-acknowledgment signal to the microcontroller C and in this way interfere with the flow of information between the microcontroller C and the first integrated circuit ASIC1, but will switch its transmitting output to high impedance and in the following will merely monitor the data traffic at its receiving input. As represented in
(18) In the upper part in
(19) The process of the awarding of a token by the microprocessor c will be illustrated with the aid of
(20) In
(21) After step 400, first of all none of the integrated circuits linked to the high-speed serial interface is active, so that, on the one hand, a new token maythough also mustbe awarded. With step 500, this new awarding of a token takes place, whereby in a step 600 the microcontroller C now transmits a write command to the base address of the second integrated circuit ASIC2, this being checked by both integrated circuits ASIC1, ASIC2, whereby only the second integrated circuit ASIC2 may establish a concordance and in the case of a positive check responds with a positive-acknowledgment signal ACK to the microcontroller if the operation of writing the token has been successful.
(22) Should the write operation have failed, in accordance with
(23) With the described design, according to embodiments of the invention, of the ASICs, multi-ASIC operation may be realized in software. No additional hardware resources of any kind (for example, chip-select signals) are needed; the costs are consequently minimal. The actual HSSL/ZIPWIRE protocol remains unchanged; merely the memory area with the token memory sectors is introduced. As a result, this realization is compatible with all existing and future microcontrollers.
(24) A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the disclosure. Accordingly, other implementations are within the scope of the following claims.