1. Field of the Invention
The present invention relates to a packaged circuit, and more particularly, to a packaged circuit with an internal clock.
2. Description of the Prior Art
A clock circuit requires an external element (e.g., a crystal resonator or a ceramic resonator) to provide a high-quality resonator that generates a low-noise clock signal. This extra external element, however, also means extra pins and an increased package area, leading to an increase in packaging effort and cost.
Please refer to
For general market requirements, how to reduce the amount of time consumed for debugging and enhancing the clock quality still remains a vital issue in this field.
In light of this, the present invention provides a packaged circuit with an internal clock. The packaged circuit utilizes multi-function pins, and is capable of measuring and improving (or calibrating) a quality of the internal clock within the packaged circuit easily and quickly, providing the internal clock to other external circuits, and reducing the bill of material (BOM) cost. It is also capable of adopting the internal clock or the external clock as a system clock of the packaged clock according to a user's requirement.
According to an embodiment of the present invention, a packaged circuit includes an internal circuit, an embedded clock generator, a plurality of multi-function pins and a control pad. The embedded clock generator is for generating an internal clock. The pins include a clock output pin and a clock input pin. The clock output pin outputs the internal clock generated by the embedded clock generator. The clock input pin is for receiving an external clock. The control pad receives a control signal to determine whether the internal circuit utilizes a system clock according to the internal clock generated by the embedded clock generator or according to the external clock received by the clock input pin.
According to another embodiment of the present invention, a packaged circuit includes an internal circuit, an embedded clock generator and a plurality of multi-function pins. The embedded clock generator generates an internal clock. The plurality of multi-function pins includes a clock output pin and a clock input pin. The clock output pin outputs the internal clock generated by the embedded clock generator. The clock input pin receives an external clock. The internal circuit calibrates the internal clock generated by the embedded clock generator according to the external clock received from the clock input pin.
According to another embodiment of the present invention, a packaged circuit includes an internal circuit, an embedded clock generator and a plurality of multi-function pins. The embedded clock generator generates an internal clock. The plurality of multi-function pins includes a clock output pin and a clock input pin. The clock output pin outputs the internal clock generated by the embedded clock generator. The clock input pin is directly connected to the clock output pin via an electrical connection. The internal circuit utilizes the internal clock received from the clock input pin as a system clock.
According to another embodiment of the present invention, a packaged circuit includes an internal circuit, an embedded clock generator and a plurality of multi-function pins. The embedded clock generator generates an internal clock. The plurality of multi-function pins includes a clock output pin and a clock input pin. The clock output pin outputs the internal clock generated by the embedded clock generator. The clock input pin is directly connected to the clock output pin via an electrical connection. The clock output pin is directly connected to an external circuit via an electrical connection and the internal clock serves as a clock source of the external circuit.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ” The terms “couple” and “couples” are intended to mean either an indirect or a direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
Compared with conventional packaged circuits, the packaged circuit 200 provided in the present invention can further output the internal clock CLK_OSC generated by the embedded clock generator 211 for signal quality measurement or utilization of other circuits, thereby reducing a bill of material (BOM) cost. In addition, when a measurement result of the internal clock CLK_OSC indicates that the signal quality is poor, an external clock generator can be utilized to calibrate the embedded clock generator 211. Please refer to
With the help of the clock input pin CLK_I and the clock CLK_EXT0 generated by the external clock generator 216, the packaged circuit 200 can quickly perform a function and module test at the packaging stage, and perform initial clock calibration for the embedded clock generator 211. This initial calibration can be simultaneously combined with the function of on-line calibration, so as to enhance fault coverage in mass production test.
As well as utilizing resonant structures within a chip, the packaged circuit provided in the present invention can also adopt conventional external resonant elements to generate clock signals. Please refer to
Please note that, in the aforementioned embodiments, the control signal CTRL_EXT is supplied externally via the control pin CLK_CTRL; however, in other embodiments, the control signal CTRL_EXT can also be supplied from an internal signal (e.g., an internal supply voltage or an internal ground voltage) within the chip 210. In this way, a number of pins can be further reduced as well as fabrication costs. By way of example, please refer to
For an illustration of this, please refer to
To summarize, the present invention provides a packaged circuit with an internal clock. The packaged circuit utilizes multi-function pins, and is capable of measuring and improving (or calibrating) a quality of an internal clock within the packaged circuit easily and quickly, providing the internal clock to other external circuits, and reducing bill of material (BOM) cost. It is also capable of adopting the internal clock or the external clock as a system clock of the packaged clock according to a user's requirement.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
099105872 | Mar 2010 | TW | national |