The invention relates to an electronic circuit arrangement as defined in the preamble of claim 1.
The invention also relates to a an integrated circuit, a bus station, and a method for bringing a electronic circuit arrangement in a predetermined state.
Such an electronic circuit arrangement is disclosed in U.S. Pat. No. 6,343,334. It comprises a clock fail circuit arranged for receiving an external clock signal. The disclosed electronic circuit arrangement is a micro computer that further comprises a reset generation circuit and a synchronous micro processor operating under control of the external clock signal. In case of a failing clock signal, for instance a clock signal having a frequency that is too low or in the absence of a clock signal the clock fail circuit generates a reset signal to reset the micro computer or exchanges the external clock signal with an internal clock signal generated by a clock circuit that is part of the micro computer.
In the absence of a clock signal the operation of the microprocessor is halted. Therefore the additional hardware such as the internal clock circuit or a reset circuit to reset the microprocessor and turn off outputs of the micro computer is required. This increases design complexity of the electronic circuit arrangement.
Amongst others it is an object of the invention to provide an electronic circuit arrangement having a reduced complexity.
To this end the invention provides electronic circuit arrangement as defined in the opening paragraph which is characterized by the features of the characterizing part of claim 1.
By providing an electronic circuit arrangement comprising an asynchronous processor, the presence of a clock signal is not required for operation of the processor. Therefore the asynchronous processor can bring the electronic circuit arrangement in a pre-defined state upon detection of the error signal, thereby circumventing the need for additional hardware such as an internal clock circuit for taking over the function of a failing external clock or a reset circuit for resetting the electronic circuit arrangement. This reduces the design complexity of the electronic circuit arrangement.
A further advantage of the use of an asynchronous processor is that it may lead to a reduced power consumption. The operation of an asynchronous processor is event triggered. As long as there are no events, the state of the processor does not change and consequently it does not consume power. Only upon reception of a trigger, such as for instance the error signal, it starts or continues operation.
The above and other objects and features of the present invention will become more apparent from the following detailed description considered in connection with the accompanying drawings in which:
In these figures identical parts are identified with identical references.
The electronic circuit arrangement 100 has several disadvantages. For instance it is not possible to distinguish between a failing clock and an error condition within processor 101 causing it to stop operating. Furthermore the electronic circuit arrangement 100 requires additional hardware in case the clock fails and the electronic circuit arrangement has to be brought into a predefined state in which for instance the input/output terminal or terminals (IO) of processor 101 have to be shut down or other electronic circuits not shown in
Clock fail detection circuit 202 may be the same or similar as the watchdog timer 102 shown in
An advantage of electronic circuit arrangement 200 over electronic circuit arrangement 100 is that is possible to distinguish a failing clock generation circuit from a failing processor. However electronic circuit arrangement is still rather complex, because it requires additional hardware to take care of a failing clock condition.
A further advantage of the electronic circuit arrangement is that its operation can be modified by changing the interrupt handling software routine without the necessity of a hardware modification. This increases the flexibility of electronic circuit arrangement 300, since the same hardware may be applied in different application having different requirements with respect to handling of a failing clock generation circuit.
Asynchronous processor 451 comprises an interrupt input (INT) for receiving an input signal. It further comprises one or more inputs and/or outputs IO1, IO2, and IO3 for communicating with the further electronic circuit arrangements HW1, HW2, and HW3 respectively. It further comprises one or more input and/or outputs IO4 for communicating with other electronic circuits, for instance a system processor.
Electronic circuit arrangement HW1 is a synchronous electronic circuit and operates under control of the clock signal generated by clock signal generation circuit 404. It comprises a clock input CLK IN for receiving the clock signal one or more inputs and/or outputs HW1 IO1 for communicating with processor 451 and one or more external inputs and/or outputs HW1 IO2 for communicating with other electronics.
Electronic circuit arrangement HW2 is asynchronous and therefore does not require a clock signal for its operation. For communication with processor 451 it comprises on or more inputs and/or outputs HW2 IO.
Electronic circuit arrangement HW3 is also asynchronous and therefore does not require a clock signal for its operation. For communication with processor 451 it comprises on or more inputs and/or outputs HW3 IO.
In a similar way as in electronic circuit arrangement 400 clock fail circuit 452 will generate an interrupt on interrupt input INT of processor 451 in case of a failing clock.
In a typical application electronic circuit arrangement HW1 may be used for handling time critical or real time tasks, for instance handling communications with other electronics circuits via input/output terminals HW1 IO2 in which lengths of pulses or delays between pulses need to be determined. In such an application it may be advantageous to use asynchronous electronics for a part of the circuit to reduce power consumption. If nothing relevant happens no events are triggered and the state of the asynchronous electronics does not change. Consequently the asynchronous electronics does not consume power. At the same time the synchronous electronics remains operational for performing time critical or real time task. If required the synchronous electronics HW1 can initiate communication with processor 451, thereby creating an event by which processor 451 will be triggered to execute the required operations possibly also involving the other asynchronous electronics HW2 and/or HW3.
In the same way failure of the clock generation circuit will also generate an event by which processor is triggered. It may for instance respond by resetting the clock generation circuit or shutting down the external input/output terminals HW1 IO2 of HW1, or signaling malfunctioning to other electronics via its own input/output terminals IO4.
In a completely synchronous environment additional measures would have been required to shut down the parts that do not have to be operational to preserve energy or to reduce power consumption. At the other hand in a completely asynchronous environment it is not possible to perform time critical or real time tasks.
In summary the invention relates to an electronic circuit arrangement comprising a clock fail circuit arranged for receiving a clock signal generated by a clock generation circuit and generating an error signal upon the absence of the clock signal. The electronic circuit arrangement further comprises an asynchronous processor arranged for receiving said error signal on an interrupt input and to bring the electronic circuit arrangement in a pre-defined state upon detection of the error signal at the interrupt input by executing an interrupt routine.
The embodiments of the present invention described herein are intended to be taken in an illustrative and not a limiting sense. Various modifications may be made to these embodiments by those skilled in the art without departing from the scope of the present invention as defined in the appended claims.
For instance in the embodiments discussed in connection with
Furthermore the clock generation circuits shown in the embodiments of
Furthermore, although the embodiment of
Number | Date | Country | Kind |
---|---|---|---|
04100789.9 | Feb 2004 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB05/50575 | 2/15/2005 | WO | 00 | 10/30/2007 |