TWI423587B - Pin sharing circuit - Google Patents

Pin sharing circuit Download PDF

Info

Publication number
TWI423587B
TWI423587B TW100102879A TW100102879A TWI423587B TW I423587 B TWI423587 B TW I423587B TW 100102879 A TW100102879 A TW 100102879A TW 100102879 A TW100102879 A TW 100102879A TW I423587 B TWI423587 B TW I423587B
Authority
TW
Taiwan
Prior art keywords
signal
power
pin
circuit
function
Prior art date
Application number
TW100102879A
Other languages
Chinese (zh)
Other versions
TW201233062A (en
Inventor
Chih Min Liu
Mittra Amit
Original Assignee
Himax Imaging Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Himax Imaging Inc filed Critical Himax Imaging Inc
Priority to TW100102879A priority Critical patent/TWI423587B/en
Publication of TW201233062A publication Critical patent/TW201233062A/en
Application granted granted Critical
Publication of TWI423587B publication Critical patent/TWI423587B/en

Links

Landscapes

  • Electronic Switches (AREA)
  • Power Sources (AREA)

Description

接腳共用電路 Pin sharing circuit

本發明係有關一種積體電路,特別是關於一種影像感測器之接腳共用電路。 The present invention relates to an integrated circuit, and more particularly to a pin sharing circuit of an image sensor.

影像感測器普遍使用於電子裝置,而隨著電子裝置的小型化,影像感測器之晶片面積也需跟著減小。在減小晶片面積的過程中,接腳(pin)數目是重要的決定因素之一。第一圖顯示視訊圖形陣列(video graphics array,VGA)規格之互補式金屬氧化物半導體(CMOS)影像感測器的接腳示意圖,其接腳包含有Data[7:0]、HSYNC、VSYNC、SCL、SDA、VDD、GND、MCLK、PCLK及PWRDN,總共需17支接腳。 Image sensors are commonly used in electronic devices, and as the electronic devices are miniaturized, the area of the image sensor's wafers needs to be reduced. The number of pins is one of the important determinants in reducing the wafer area. The first figure shows a pin diagram of a complementary metal oxide semiconductor (CMOS) image sensor of a video graphics array (VGA) specification, the pins of which include Data[7:0], HSYNC, VSYNC, SCL, SDA, VDD, GND, MCLK, PCLK, and PWRDN require a total of 17 pins.

以矽晶穿孔(through-silicon via,TSV)之球形陣列(ball grid array,BGA)封裝技術為例,4x4之焊球排列並無法容納VGA影像感測器的17支接腳,因而必須採用4x5排列之焊球。如此一來,則浪費了3支焊球面積。此時,如果能夠將部份接腳的功能合併於 單一接腳並能保有其原始功能,即可使用較小陣列的焊球而達到減小晶片面積的目的。 For example, a through-silicon via (TSV) ball grid array (BGA) package technology, 4x4 solder balls are arranged to accommodate 17 pins of a VGA image sensor, so 4x5 must be used. Arrange the solder balls. As a result, three solder ball areas are wasted. At this point, if you can combine the functions of some pins With a single pin and retaining its original function, a smaller array of solder balls can be used to reduce the wafer area.

因此,亟需提出一或多種接腳共用的機制,藉合併部分接腳功能以減少影像感測器晶片的接腳總數。 Therefore, it is not necessary to propose a mechanism for sharing one or more pins by combining the partial pin functions to reduce the total number of pins of the image sensor chip.

鑑於上述,本發明實施例的目的之一在於提出各種接腳共用電路,藉合併積體電路之部分接腳功能於單一接腳,以減少接腳總數,因而得以減小積體電路之晶片面積。 In view of the above, one of the objects of the embodiments of the present invention is to provide various pin sharing circuits by reducing the total number of pins by combining the pin functions of the integrated circuit to a single pin, thereby reducing the chip area of the integrated circuit. .

根據本發明第一實施例,接腳共用電路包含觸變(toggle)檢知電路與電源關閉信號產生電路。觸變檢知電路接收輸入時脈以產生檢知信號。電源關閉信號產生電路根據檢知信號以產生電源關閉信號。 According to the first embodiment of the present invention, the pin sharing circuit includes a toggle detecting circuit and a power-off signal generating circuit. The thixotropic detection circuit receives the input clock to generate a detection signal. The power-off signal generating circuit generates a power-off signal based on the detection signal.

根據本發明第二實施例,接腳共用電路包含相位調整電路,其接收輸入時脈以產生輸出時脈。 In accordance with a second embodiment of the present invention, the pin sharing circuit includes a phase adjustment circuit that receives an input clock to generate an output clock.

根據本發明第三實施例,接腳共用電路包含控制器、電源關閉信號傳送閘、功能信號傳送閘及功能切換開關。當選擇輸出時脈功能時,控制器發出第一狀態之功能信號,當選擇電源關閉功能時,控制器發出第二狀態之功能信號。功能信號傳送閘受控於電源關閉信號傳送閘的輸出,以決定傳送或阻擋該功能信號,以產生選擇信號。功能切換 開關根據選擇信號以切換一接腳於輸出時脈功能與電源關閉功能之間。其中,當接腳被切換至輸出時脈功能時,控制器發出輸出時脈,經由功能切換開關而直接由接腳輸出;當接腳被切換至電源關閉功能時,接腳接收電源關閉信號,經由功能切換開關,再經由電源關閉信號傳送閘而傳送至控制器,其中,電源關閉信號傳送閘受控於選擇信號,以決定傳送或阻擋電源關閉信號。 According to a third embodiment of the present invention, the pin sharing circuit includes a controller, a power off signal transmission gate, a function signal transmission gate, and a function switching switch. When the output clock function is selected, the controller issues a function signal of the first state, and when the power off function is selected, the controller issues a function signal of the second state. The function signal transfer gate is controlled by the output of the power off signal transmission gate to determine whether to transmit or block the function signal to generate a selection signal. Function switching The switch switches between a pin between the output clock function and the power off function according to the selection signal. Wherein, when the pin is switched to the output clock function, the controller issues an output clock, which is directly output by the pin via the function switching switch; when the pin is switched to the power-off function, the pin receives the power-off signal, The power switch is transmitted to the controller via the power switch, and the power off signal transmission gate is controlled by the selection signal to determine whether to transmit or block the power off signal.

2‧‧‧接腳共用電路 2‧‧‧ pin sharing circuit

20‧‧‧觸變檢知電路 20‧‧‧Tactile detection circuit

201‧‧‧延遲電路 201‧‧‧Delay circuit

203‧‧‧互斥或閘 203‧‧‧mutual exclusion or gate

22‧‧‧電源關閉信號產生電路 22‧‧‧Power off signal generation circuit

221‧‧‧施密特觸發電路 221‧‧‧ Schmitt trigger circuit

24‧‧‧軟體電源關閉電路 24‧‧‧Software power off circuit

241‧‧‧及閘 241‧‧‧ and gate

243‧‧‧反閘 243‧‧‧ reverse gate

200‧‧‧介面電路 200‧‧‧Interface circuit

300‧‧‧核心電路 300‧‧‧ core circuit

3‧‧‧接腳共用電路 3‧‧‧ pin sharing circuit

30‧‧‧相位調整電路 30‧‧‧ phase adjustment circuit

301‧‧‧相位調整裝置 301‧‧‧ phase adjustment device

4‧‧‧接腳共用電路 4‧‧‧ pin sharing circuit

40‧‧‧接腳 40‧‧‧ feet

41‧‧‧功能切換開關 41‧‧‧ function switch

411‧‧‧反閘 411‧‧‧ reverse gate

42‧‧‧接腳 42‧‧‧ feet

43‧‧‧控制器 43‧‧‧ Controller

45‧‧‧功能信號傳送閘 45‧‧‧ function signal transmission gate

451‧‧‧反閘 451‧‧‧ reverse gate

453‧‧‧反或閘 453‧‧‧Anti-gate

47‧‧‧電源關閉信號傳送閘 47‧‧‧Power off signal transmission gate

471‧‧‧反閘 471‧‧‧ reverse gate

473‧‧‧反或閘 473‧‧‧Anti-gate

MCLK‧‧‧輸入時脈 MCLK‧‧‧ input clock

DET‧‧‧檢知信號 DET‧‧‧Detection signal

PWRDN‧‧‧電源關閉信號 PWRDN‧‧‧Power off signal

SPD‧‧‧軟體電源關閉信號 SPD‧‧‧Software power off signal

HPD‧‧‧硬體電源關閉信號 HPD‧‧‧ hardware power off signal

PCLK‧‧‧輸出時脈 PCLK‧‧‧ output clock

PCLK_en‧‧‧功能信號 PCLK_en‧‧‧ function signal

SEL‧‧‧選擇信號 SEL‧‧‧Selection signal

SWA‧‧‧第一開關 SWA‧‧‧ first switch

SWB‧‧‧第二開關 SWB‧‧‧second switch

P‧‧‧PMOS電晶體 P‧‧‧PMOS transistor

N‧‧‧NMOS電晶體 N‧‧‧NMOS transistor

C‧‧‧電容 C‧‧‧ capacitor

R1‧‧‧電阻 R1‧‧‧ resistance

R2‧‧‧電阻 R2‧‧‧ resistance

C1‧‧‧電容 C1‧‧‧ capacitor

第一圖顯示視訊圖形陣列(VGA)規格之互補式金屬氧化物半導體(CMOS)影像感測器的接腳示意圖。 The first figure shows the pin diagram of a complementary metal oxide semiconductor (CMOS) image sensor of the video graphics array (VGA) specification.

第二A圖顯示本發明第一實施例之接腳共用電路的方塊圖。 Figure 2A is a block diagram showing the pin sharing circuit of the first embodiment of the present invention.

第二B圖例示第二A圖所示第一實施例的詳細電路圖。 The second B diagram illustrates a detailed circuit diagram of the first embodiment shown in the second A diagram.

第二C圖例示輸入時脈MCLK、延遲輸入時脈MCLK及檢知信號DET的波形。 The second C diagram illustrates waveforms of the input clock MCLK, the delayed input clock MCLK, and the detection signal DET.

第三A圖顯示本發明第二實施例之接腳共用電路的方塊圖。 Figure 3A is a block diagram showing the pin sharing circuit of the second embodiment of the present invention.

第三B圖例示第三A圖所示第二實施例的詳細電路圖。 The third B diagram illustrates a detailed circuit diagram of the second embodiment shown in the third A diagram.

第四A圖顯示本發明第三實施例之接腳共用電路的方塊圖。 Figure 4A is a block diagram showing the pin sharing circuit of the third embodiment of the present invention.

第四B圖例示第四A圖所示第三實施例的詳細電路圖。 The fourth B diagram illustrates a detailed circuit diagram of the third embodiment shown in FIG.

以下實施例以互補式金屬氧化物半導體(CMOS)影像感測器作為例示,藉共用一部份的接腳而達到減少接腳總數之目的。該些實施例也可適用於其他影像感測器或者非影像感測器之積體電路。該些實施例之積體電路可使用各種封裝技術,例如矽晶穿孔(TSV)之球形陣列(BGA)技術,但不限定於此。 The following embodiments are exemplified by a complementary metal oxide semiconductor (CMOS) image sensor, which achieves the purpose of reducing the total number of pins by sharing a portion of the pins. The embodiments are also applicable to integrated circuits of other image sensors or non-image sensors. The integrated circuits of these embodiments may use various packaging techniques such as, but not limited to, a spine via (TSV) spherical array (BGA) technology.

第二A圖顯示本發明第一實施例之接腳共用電路2的方塊圖。本實施例可根據輸入時脈MCLK以產生電源關閉(power down)信號PWRDN,因而讓輸入時脈MCLK與電源關閉信號PWRDN共用同一接腳。換句話說,積體電路因而省略了電源關閉信號PWRDN接腳。 Figure 2A is a block diagram showing the pin sharing circuit 2 of the first embodiment of the present invention. In this embodiment, the power-down signal PWRDN can be generated according to the input clock MCLK, so that the input clock MCLK and the power-off signal PWRDN share the same pin. In other words, the integrated circuit thus omits the power-off signal PWRDN pin.

如第二A圖所示,本實施例之接腳共用電路2主要包含一介面電路200,其包含觸變(toggle)檢知電路20及電源關閉信號產生電路22,也可省略觸變檢知電路20。介面電路200耦接於接腳,其接收輸入時脈MCLK,當輸入時脈MCLK為致能時,介面電路200輸出該輸入時脈MCLK,當輸入時脈MCLK為非致能時,介面電路200輸出致能之電源關閉信號PWRDN。其中,觸變檢知電路20接收輸入時脈MCLK以產生一檢知信號DET。接著,電源關閉信號產生電路22根據檢知信號以產生電源關閉信號PWRDN。例如,當輸入時脈MCLK為致能時,則觸變檢知電路20會產生致能之檢知信號;接著,電源關閉信號產生電路22根據該致能之檢知信號以產生非致能之電源關閉信號PWRDN。反之,當輸入時脈MCLK為非致能時,則產生致能之電源關閉信號PWRDN,可據以進行電源關閉。介面電路200還包含一軟體電源關閉電路24,受控於 軟體電源關閉信號SPD,以控制是否讓電源關閉信號PWRDN通過,其中該軟體電源關閉信號SPD可由內部暫存器提供。例如,當積體電路欲進行軟體電源關閉時,即會發出致能之軟體電源關閉信號SPD,以阻擋電源關閉信號PWRDN的通過。反之,當軟體電源關閉信號SPD為非致能時,(致能)電源關閉信號PWRDN可通過核心電路24,以產生硬體電源關閉信號HPD。本實施例還包含一核心電路300,耦接至介面電路200,用以接收輸入時脈MCLK或電源關閉信號PWRDN。 As shown in FIG. 2A, the pin sharing circuit 2 of the present embodiment mainly includes an interface circuit 200 including a toggle detecting circuit 20 and a power-off signal generating circuit 22, and can also omit the thixotropic detection. Circuit 20. The interface circuit 200 is coupled to the pin, and receives the input clock MCLK. When the input clock MCLK is enabled, the interface circuit 200 outputs the input clock MCLK. When the input clock MCLK is disabled, the interface circuit 200 Output enable power off signal PWRDN. The thixotropic detection circuit 20 receives the input clock MCLK to generate a detection signal DET. Next, the power-off signal generating circuit 22 generates a power-off signal PWRDN based on the detection signal. For example, when the input clock MCLK is enabled, the thixotropic detection circuit 20 generates an enable detection signal; then, the power-off signal generation circuit 22 generates a non-energy based on the enable detection signal. Power off signal PWRDN. Conversely, when the input clock MCLK is disabled, an enabled power-off signal PWRDN is generated, which can be turned off. The interface circuit 200 further includes a software power off circuit 24, controlled by The software power off signal SPD controls whether the power off signal PWRDN is passed, wherein the software power off signal SPD can be provided by the internal register. For example, when the integrated circuit is to be turned off by the software power supply, the enabled software power off signal SPD is issued to block the passage of the power off signal PWRDN. Conversely, when the software power-off signal SPD is disabled, the (enable) power-off signal PWRDN can pass through the core circuit 24 to generate a hardware power-off signal HPD. The embodiment further includes a core circuit 300 coupled to the interface circuit 200 for receiving the input clock MCLK or the power-off signal PWRDN.

第二B圖例示第二A圖所示第一實施例的詳細電路圖。在本實施例中,觸變檢知電路20包含延遲電路201與互斥或(exclusive OR,XOR)閘203。其中,延遲電路201延遲所接收的輸入時脈MCLK,而互斥或閘203則對輸入時脈MCLK及延遲之輸入時脈MCLK進行互斥或運算,以產生檢知信號DET。第二C圖例示輸入時脈MCLK、延遲輸入時脈MCLK及檢知信號DET的波形。如第二C圖所示,當輸入時脈MCLK為致能時,則檢知信號DET為致能之脈波信號;否則,檢知信號DET為非致能之低位準信號。 The second B diagram illustrates a detailed circuit diagram of the first embodiment shown in the second A diagram. In the present embodiment, the thixotropic detection circuit 20 includes a delay circuit 201 and an exclusive OR (XOR) gate 203. The delay circuit 201 delays the received input clock MCLK, and the mutex or gate 203 mutually exclusive ORs the input clock MCLK and the delayed input clock MCLK to generate the detection signal DET. The second C diagram illustrates waveforms of the input clock MCLK, the delayed input clock MCLK, and the detection signal DET. As shown in the second C diagram, when the input clock MCLK is enabled, the detection signal DET is the enabled pulse wave signal; otherwise, the detection signal DET is the non-enabled low level signal.

本實施例之電源關閉信號產生電路22包含N型金屬氧化物半導體(NMOS)電晶體N、P型金屬氧化物半導體(PMOS)電晶體P、電容C及施密特觸發電路(Schmitt trigger)221。其中,PMOS電晶體P之閘極受偏壓而作為一電阻;串聯之PMOS電晶體P與NMOS電晶體N連接於電源供給與地之間;NMOS電晶體N的閘極接收檢知信號DET,其源極、汲極間併聯該電容C;施密特觸發電路221接收PMOS電晶體P與NMOS電晶體N的接點信號,以產生電源關閉信 號PWRDN。當檢知信號DET為致能時,其會間歇地開啟NMOS電晶體N,將電容C放電,因而產生一接近低位準信號,其經由施密特觸發電路221處理後則產生(低位準)非致能之電源關閉信號PWRDN;反之,當檢知信號DET為非致能時,其會關閉NMOS電晶體N,讓電容C充電,因而產生一接近高位準信號,其經由施密特觸發電路221處理後則產生(高位準)致能之電源關閉信號PWRDN。 The power-off signal generating circuit 22 of the present embodiment includes an N-type metal oxide semiconductor (NMOS) transistor N, a P-type metal oxide semiconductor (PMOS) transistor P, a capacitor C, and a Schmitt trigger circuit (221). . Wherein, the gate of the PMOS transistor P is biased as a resistor; the PMOS transistor P and the NMOS transistor N connected in series are connected between the power supply and the ground; and the gate of the NMOS transistor N receives the detection signal DET, The capacitor C is connected in parallel between the source and the drain; the Schmitt trigger circuit 221 receives the contact signal of the PMOS transistor P and the NMOS transistor N to generate a power-off signal. No. PWRDN. When the detection signal DET is enabled, it intermittently turns on the NMOS transistor N to discharge the capacitor C, thereby generating a near-low level signal, which is processed by the Schmitt trigger circuit 221 to generate a (low level) non- The enabled power-off signal PWRDN; conversely, when the detection signal DET is disabled, it turns off the NMOS transistor N, causing the capacitor C to charge, thereby generating a near-high level signal via the Schmitt trigger circuit 221 After processing, a (high level) enabled power-off signal PWRDN is generated.

本實施例之軟體電源關閉電路24包含及(AND)閘241及反(NOT)閘243。其中,反閘243接收軟體電源關閉信號SPD,而經反相之軟體電源關閉信號SPD及電源關閉信號PWRDN則輸入至及閘241,以產生硬體電源關閉信號HPD。當軟體電源關閉信號SPD為致能之高位準時,會阻擋電源關閉信號PWRDN通過及閘241。反之,當軟體電源關閉信號SPD為非致能之低位準時,電源關閉信號PWRDN可通過及閘241而產生硬體電源關閉信號HPD。 The software power-off circuit 24 of the present embodiment includes an AND gate 241 and a NOT gate 243. The reverse gate 243 receives the software power off signal SPD, and the inverted software power off signal SPD and the power off signal PWRDN are input to the AND gate 241 to generate a hardware power off signal HPD. When the software power-off signal SPD is at the high level of the enable, the power-off signal PWRDN is blocked from passing through the gate 241. Conversely, when the software power-off signal SPD is at a low level of non-activation, the power-off signal PWRDN can generate a hardware power-off signal HPD through the gate 241.

第三A圖顯示本發明第二實施例之接腳共用電路3的方塊圖。本實施例可根據輸入時脈MCLK以產生輸出時脈PCLK,因而讓輸入時脈MCLK與輸出時脈PCLK共用同一接腳。換句話說,積體電路因而省略了輸出時脈PCLK接腳。 Figure 3A is a block diagram showing the pin sharing circuit 3 of the second embodiment of the present invention. In this embodiment, the output clock PCLK can be generated according to the input clock MCLK, so that the input clock MCLK and the output clock PCLK share the same pin. In other words, the integrated circuit thus omits the output clock PCLK pin.

如第三A圖所示,本實施例之接腳共用電路3主要包含相位調整電路30,其接收輸入時脈MCLK以產生輸出時脈PCLK。由於積體電路省略了輸出時脈PCLK接腳,因而可減少積體電路的雜訊且可減輕積體電路的驅動要求。 As shown in FIG. 3A, the pin sharing circuit 3 of the present embodiment mainly includes a phase adjustment circuit 30 that receives the input clock MCLK to generate an output clock PCLK. Since the integrated circuit omits the output clock PCLK pin, the noise of the integrated circuit can be reduced and the driving requirement of the integrated circuit can be alleviated.

第三B圖例示第三A圖所示第二實施例的詳細電路圖。在本實施例中,相位調整電路包含串聯之電阻R1、電容C1及相位調整裝置301。其中,相位調整裝置301,例如除法器或/且反相器,接收輸入時脈MCLK;電阻R1未與電容C1連接的一端耦接至相位調整裝置301的輸出,而電容C1未與電阻R1連接的一端耦接至地;電阻R1與電容C1的接點則產生該輸出時脈PCLK。 The third B diagram illustrates a detailed circuit diagram of the second embodiment shown in the third A diagram. In the present embodiment, the phase adjustment circuit includes a resistor R1 connected in series, a capacitor C1, and a phase adjustment device 301. The phase adjustment device 301, for example, a divider or/and an inverter, receives the input clock MCLK; one end of the resistor R1 not connected to the capacitor C1 is coupled to the output of the phase adjustment device 301, and the capacitor C1 is not connected to the resistor R1. One end is coupled to ground; the junction of the resistor R1 and the capacitor C1 generates the output clock PCLK.

第四A圖顯示本發明第三實施例之接腳共用電路4的方塊圖。本實施例可切換於第一實施例(第二A圖)所提供第一功能(功能A)與第二實施例(第三A圖)所提供第二功能(功能B)之間。當選擇功能A時,標示MCLK的接腳40除了接收輸入時脈MCLK外,還可據以產生電源關閉信號PWRDN,其細節如第二A/B圖所述之第一實施例;而標示PWRDN/PCLK的接腳42則單純作為輸出時脈PCLK接腳使用。當選擇功能B時,標示MCLK的接腳40除了接收輸入時脈MCLK外,還可據以產生輸出時脈PCLK,其細節如第三A/B圖所述之第二實施例;而標示PWRDN/PCLK的接腳42則單純作為電源關閉信號PWRDN接腳使用。 Figure 4A is a block diagram showing the pin sharing circuit 4 of the third embodiment of the present invention. This embodiment can be switched between the first function (function A) provided by the first embodiment (second A picture) and the second function (function B) provided by the second embodiment (third A picture). When function A is selected, the pin 40 indicating MCLK can generate a power-off signal PWRDN in addition to the input clock MCLK, the details of which are as described in the second embodiment of FIG. 2A; and the PWRDN is indicated. The pin 42 of /PCLK is simply used as the output clock PCLK pin. When function B is selected, the pin 40 indicating MCLK can generate an output clock PCLK in addition to the input clock MCLK, the details of which are as described in the third embodiment of the third A/B diagram; and the PWRDN is indicated. The pin 42 of /PCLK is simply used as the power-off signal PWRDN pin.

在本實施例中,接腳共用電路4包含功能切換開關41、控制器43、功能信號傳送閘45及電源關閉信號傳送閘47。當選擇功能A時,控制器43會發出第一狀態之功能信號PCLK_en;接著,功能信號傳送閘45受控於電源關閉信號傳送閘47的輸出,以決定傳送或阻擋功能信號PCLK_en,以產生選擇信號SEL;功能切換開關41則根據選擇信號SEL以切換接腳PWRDN/PCLK 42,使其切換於PCLK與PWRDN之間。當接腳42被切換作為PCLK時,亦即功能A時,控制器43所發出的輸 出時脈PCLK經由功能切換開關41而直接由接腳43輸出。當選擇功能B時,控制器43會發出第二狀態之功能信號PCLK_en,功能信號傳送閘45所產生之選擇信號SEL使接腳42切換為PWRDN,其接收電源關閉信號PWRDN,經由功能切換開關41,再經由電源關閉信號傳送閘47而傳送至控制器43;其中電源關閉信號傳送閘47受控於選擇信號SEL,以決定傳送或阻擋電源關閉信號PWRDN。 In the present embodiment, the pin sharing circuit 4 includes a function switching switch 41, a controller 43, a function signal transmitting gate 45, and a power-off signal transmitting gate 47. When function A is selected, controller 43 issues a first state function signal PCLK_en; then, function signal transfer gate 45 is controlled by the output of power down signal transfer gate 47 to determine the transmit or block function signal PCLK_en to generate a selection. The signal SEL; the function switching switch 41 switches between the PCLK and the PWRDN according to the selection signal SEL to switch the pin PWRDN/PCLK 42. When pin 42 is switched as PCLK, that is, function A, the output from controller 43 The output clock PCLK is directly output from the pin 43 via the function switch 41. When the function B is selected, the controller 43 issues a function signal PCLK_en of the second state, and the selection signal SEL generated by the function signal transmission gate 45 switches the pin 42 to PWRDN, which receives the power-off signal PWRDN via the function switching switch 41. Then, it is transmitted to the controller 43 via the power-off signal transmission gate 47; wherein the power-off signal transmission gate 47 is controlled by the selection signal SEL to decide to transmit or block the power-off signal PWRDN.

此外,接腳42還可連接下拉電阻R2。於重置模式下,接腳42藉由下拉電阻R2產生低位準信號,控制器43控制功能切換開關41,使接腳42切換為PWRDN,其接收低位準信號,經由功能切換開關41,再經由電源關閉信號傳送閘47而傳送至控制器43,以進行電源開啟(power up)。 In addition, the pin 42 can also be connected to the pull-down resistor R2. In the reset mode, the pin 42 generates a low level signal by the pull-down resistor R2, and the controller 43 controls the function switch 41 to switch the pin 42 to PWRDN, which receives the low level signal, via the function switch 41, and then via The power is turned off by the signal transmission gate 47 and transmitted to the controller 43 for power up.

第四B圖例示第四A圖所示第三實施例的詳細電路圖。在本實施例中,功能信號傳送閘45包含反閘451與反或閘453。其中,反閘451接收功能信號PCLK_en,其輸出與電源關閉信號傳送閘47的輸出則輸入反或閘453,以產生選擇信號SEL。當電源關閉信號傳送閘47的輸出為低位準時,功能信號PCLK_en可通過功能信號傳送閘45;否則,功能信號傳送閘45恆輸出低位準。 The fourth B diagram illustrates a detailed circuit diagram of the third embodiment shown in FIG. In the present embodiment, the function signal transfer gate 45 includes a reverse gate 451 and an inverse gate 453. The reverse gate 451 receives the function signal PCLK_en, and its output and the output of the power-off signal transmission gate 47 are input to the inverse gate 453 to generate the selection signal SEL. When the output of the power-off signal transmission gate 47 is low, the function signal PCLK_en can transmit the gate 45 through the function signal; otherwise, the function signal transmission gate 45 is constant to output the low level.

本實施例之功能切換開關41包含第一開關SWA及第二開關SWB。其中,第一開關SWA受控於選擇信號SEL,當選擇功能A時,第一開關SWA讓控制器43所發出之輸出時脈PCLK傳送至接腳42。第二開關SWB受控於經反閘411所反相之選擇信號SEL,當選擇功能B時,第 二開關SWB讓接腳42輸入之電源關閉信號PWRDN傳送至電源關閉信號傳送閘47。簡而言之,根據選擇信號SEL所表示之選擇功能A或B,僅有第一開關A或第二開關B會閉合,以提供路徑給相關功能,用以傳送輸出時脈PCLK或電源關閉信號PWRDN。 The function switching switch 41 of this embodiment includes a first switch SWA and a second switch SWB. The first switch SWA is controlled by the selection signal SEL. When the function A is selected, the first switch SWA causes the output clock PCLK sent by the controller 43 to be transmitted to the pin 42. The second switch SWB is controlled by the selection signal SEL inverted by the reverse gate 411, when the function B is selected, The second switch SWB transmits the power-off signal PWRDN input from the pin 42 to the power-off signal transmission gate 47. In short, according to the selection function A or B indicated by the selection signal SEL, only the first switch A or the second switch B will be closed to provide a path to the relevant function for transmitting the output clock PCLK or the power off signal. PWRDN.

本實施例之電源關閉信號傳送閘47包含反閘471與反或閘473。其中,反閘471接收第二開關SWB的輸出,反閘471的輸出與選擇信號SEL則輸入反或閘473。當選擇信號SEL為低位準時,電源關閉信號PWRDN可通過電源關閉信號傳送閘47;否則,電源關閉信號傳送閘47恆輸出低位準。 The power-off signal transmission gate 47 of the present embodiment includes a reverse gate 471 and an inverse gate 473. The reverse gate 471 receives the output of the second switch SWB, and the output of the reverse gate 471 and the selection signal SEL are input to the inverse gate 473. When the selection signal SEL is at the low level, the power-off signal PWRDN can be passed through the power-off signal transmission gate 47; otherwise, the power-off signal transmission gate 47 is constantly outputting the low level.

以上所述僅為本發明之較佳實施例而已,並非用以限定本發明之申請專利範圍;凡其它未脫離發明所揭示之精神下所完成之等效改變或修飾,均應包含在下述之申請專利範圍內。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; all other equivalent changes or modifications which are not departing from the spirit of the invention should be included in the following Within the scope of the patent application.

2‧‧‧接腳共用電路 2‧‧‧ pin sharing circuit

20‧‧‧觸變檢知電路 20‧‧‧Tactile detection circuit

22‧‧‧電源關閉信號產生電路 22‧‧‧Power off signal generation circuit

24‧‧‧軟體電源關閉電路 24‧‧‧Software power off circuit

200‧‧‧介面電路 200‧‧‧Interface circuit

300‧‧‧核心電路 300‧‧‧ core circuit

MCLK‧‧‧輸入時脈 MCLK‧‧‧ input clock

DET‧‧‧檢知信號 DET‧‧‧Detection signal

PWRDN‧‧‧電源關閉信號 PWRDN‧‧‧Power off signal

SPD‧‧‧軟體電源關閉信號 SPD‧‧‧Software power off signal

HPD‧‧‧硬體電源關閉信號 HPD‧‧‧ hardware power off signal

Claims (10)

一種接腳共用電路,包含:一接腳,接收一輸入時脈;一介面電路,包含:一觸變(toggle)檢知電路,耦接於該接腳,接收該輸入時脈以產生一檢知信號;及一電源關閉信號產生電路,根據該檢知信號以產生一電源關閉信號,其包含:一N型金屬氧化物半導體(NMOS)電晶體,其閘極接收該檢知信號;一P型金屬氧化物半導體(PMOS)電晶體,其閘極受偏壓以作為一電阻,其中該NMOS電晶體與該PMOS電晶體串聯於電源供給與地之間;一電容,併聯於該NMOS電晶體之源極、汲極間;及一施密特觸發電路(Schmitt trigger),接收該PMOS電晶體與該NMOS電晶體的接點信號,以產生該電源關閉信號;其中當該輸入時脈係為致能時,該介面電路輸出該輸入時脈,當該輸入時脈係為非致能時,該介面電路輸出致能之該電源關閉信號;及一核心電路,耦接至該介面電路,接收該輸入時脈或該電源關閉信號。 A pin sharing circuit includes: a pin receiving an input clock; and an interface circuit comprising: a toggle detecting circuit coupled to the pin and receiving the input clock to generate a check And a power-off signal generating circuit, according to the detecting signal to generate a power-off signal, comprising: an N-type metal oxide semiconductor (NMOS) transistor, the gate receiving the detection signal; a metal-oxide-semiconductor (PMOS) transistor having a gate biased as a resistor, wherein the NMOS transistor and the PMOS transistor are connected in series between the power supply and the ground; and a capacitor connected in parallel to the NMOS transistor a source and a drain, and a Schmitt trigger, receiving a contact signal of the PMOS transistor and the NMOS transistor to generate the power-off signal; wherein when the input clock is When enabled, the interface circuit outputs the input clock. When the input clock is disabled, the interface circuit outputs the power-off signal that is enabled; and a core circuit is coupled to the interface circuit to receive The input clock or Power-off signal. 如申請專利範圍第1項所述之接腳共用電路,當該輸入時脈係為致能時,則該觸變檢知電路產生致能之該檢知信號,該電源關閉信號產生 電路根據該致能之檢知信號以產生非致能之該電源關閉信號;反之,當該輸入時脈為非致能時,則產生致能之該電源關閉信號。 For example, in the pin sharing circuit described in claim 1, when the input clock system is enabled, the thixotropic detecting circuit generates the detecting signal that is enabled, and the power off signal is generated. The circuit generates a non-enable power-off signal according to the enable detection signal; conversely, when the input clock is disabled, the power-off signal is enabled. 如申請專利範圍第1項所述之接腳共用電路,其中上述之觸變檢知電路包含:一延遲電路,其延遲該輸入時脈;及一互斥或(XOR)閘,對該輸入時脈及該延遲之輸入時脈進行互斥或運算,以產生該檢知信號。 The pin sharing circuit of claim 1, wherein the thixotropic detecting circuit comprises: a delay circuit that delays the input clock; and a mutual exclusion or (XOR) gate, when the input is The pulse and the input clock of the delay are mutually exclusive ORed to generate the detection signal. 如申請專利範圍第1項所述之接腳共用電路,其中上述之介面電路更包含一軟體電源關閉電路,受控於一軟體電源關閉信號,以控制是否讓該電源關閉信號通過。 The pin sharing circuit of claim 1, wherein the interface circuit further comprises a software power-off circuit controlled by a software power-off signal to control whether the power-off signal is passed. 如申請專利範圍第4項所述之接腳共用電路,其中上述之軟體電源關閉電路包含:一反(NOT)閘,接收該軟體電源關閉信號;及一及(AND)閘,輸入該反相之軟體電源關閉信號及該電源關閉信號,以產生一硬體電源關閉信號。 The pin sharing circuit of claim 4, wherein the software power-off circuit comprises: a reverse (NOT) gate, receiving the software power-off signal; and an AND gate, inputting the phase-inversion The software power off signal and the power off signal are used to generate a hardware power off signal. 如申請專利範圍第1項所述之接腳共用電路,其適用於一影像感測器,其中該輸入時脈與該電源關閉信號共用一接腳。 The pin sharing circuit as described in claim 1 is applicable to an image sensor, wherein the input clock shares a pin with the power off signal. 一種接腳共用電路,包含: 一控制器,當選擇輸出時脈功能時,該控制器發出第一狀態之功能信號,當選擇電源關閉功能時,該控制器發出第二狀態之功能信號;一電源關閉信號傳送閘;一功能信號傳送閘,受控於該電源關閉信號傳送閘的輸出,以決定傳送或阻擋該功能信號,以產生一選擇信號;一功能切換開關,根據該選擇信號以切換一接腳於該輸出時脈功能與該電源關閉功能之間;及一下拉電阻,連接於該接腳以產生一低位準信號,於重置模式下,該控制器控制該功能切換開關,使該接腳切換至該電源關閉功能,該接腳接收該低位準信號,經由該功能切換開關,再經由該電源關閉信號傳送閘而傳送至該控制器;其中,當該接腳被切換至該輸出時脈功能時,該控制器發出一輸出時脈,經由該功能切換開關而直接由該接腳輸出;當該接腳被切換至該電源關閉功能時,該接腳接收一電源關閉信號,經由該功能切換開關,再經由該電源關閉信號傳送閘而傳送至該控制器,其中,該電源關閉信號傳送閘受控於該選擇信號,以決定傳送或阻擋該電源關閉信號。 A pin sharing circuit comprising: a controller, when selecting the output clock function, the controller issues a function signal of the first state, when the power off function is selected, the controller issues a function signal of the second state; a power off signal transmission gate; a function a signal transmission gate controlled by the output of the power off signal transmission gate to determine to transmit or block the function signal to generate a selection signal; a function switching switch to switch a pin to the output clock according to the selection signal And a pull-down resistor connected to the pin to generate a low level signal. In the reset mode, the controller controls the function switch to switch the pin to the power off. a function, the pin receives the low level signal, and transmits the switch to the controller via the power switch via the power switch; wherein, when the pin is switched to the output clock function, the control The device outputs an output clock, which is directly output by the pin through the function switching switch; when the pin is switched to the power-off function, the pin Receiving a power-off signal, transmitting a switch to the controller via the power-off signal transmission gate, wherein the power-off signal transmission gate is controlled by the selection signal to determine whether to transmit or block the power-off signal. 如申請專利範圍第7項所述之接腳共用電路,其中上述之功能信號傳送閘包含:一反閘,接收該功能信號;及一反或閘,輸入該反閘之輸出與該電源關閉信號傳送閘的輸出,以產生該選擇信號。 The pin sharing circuit of claim 7, wherein the function signal transmission gate comprises: a reverse gate, receiving the function signal; and a reverse gate, inputting the output of the reverse gate and the power off signal The output of the gate is transmitted to generate the selection signal. 如申請專利範圍第7項所述之接腳共用電路,其中上述之功能切換開關包含:一第一開關,受控於該選擇信號,當選擇該輸出時脈功能時,該第一開關讓該控制器所發出之該輸出時脈傳送至該接腳;一反閘,用以將該選擇信號反相;及一第二開關,受控於該反相之選擇信號,當選擇該電源關閉功能時,該第二開關讓該接腳所輸入之該電源關閉信號傳送至該電源關閉信號傳送閘。 The pin sharing circuit of claim 7, wherein the function switching switch comprises: a first switch controlled by the selection signal, and when the output clock function is selected, the first switch allows the The output clock sent by the controller is transmitted to the pin; a reverse switch is used to invert the selection signal; and a second switch is controlled by the inverted selection signal when the power off function is selected The second switch transmits the power-off signal input by the pin to the power-off signal transmission gate. 如申請專利範圍第9項所述之接腳共用電路,其中上述之電源關閉信號傳送閘包含:一反閘,接收該第二開關的輸出;及一反或閘,輸入該反閘的輸出與該選擇信號。 The pin sharing circuit of claim 9, wherein the power off signal transmission gate comprises: a reverse gate, receiving an output of the second switch; and a reverse gate, inputting the output of the reverse gate The selection signal.
TW100102879A 2011-01-26 2011-01-26 Pin sharing circuit TWI423587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100102879A TWI423587B (en) 2011-01-26 2011-01-26 Pin sharing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100102879A TWI423587B (en) 2011-01-26 2011-01-26 Pin sharing circuit

Publications (2)

Publication Number Publication Date
TW201233062A TW201233062A (en) 2012-08-01
TWI423587B true TWI423587B (en) 2014-01-11

Family

ID=47069787

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100102879A TWI423587B (en) 2011-01-26 2011-01-26 Pin sharing circuit

Country Status (1)

Country Link
TW (1) TWI423587B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651178B1 (en) * 2000-02-29 2003-11-18 3Com Corporation Communication module having power supply requirement identification
US7263625B2 (en) * 2003-02-05 2007-08-28 Lenovo (Singapore0 Pte. Ltd. Power supply controller for changing in a predetermined temporal order a combination of voltages supplied to an information processor
US20090160565A1 (en) * 2007-12-21 2009-06-25 Renesas Technology Corp. Semiconductor integrated circuit
TW201019090A (en) * 2008-11-14 2010-05-16 Darfon Electronics Corp Resetting method and electronic device system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651178B1 (en) * 2000-02-29 2003-11-18 3Com Corporation Communication module having power supply requirement identification
US7263625B2 (en) * 2003-02-05 2007-08-28 Lenovo (Singapore0 Pte. Ltd. Power supply controller for changing in a predetermined temporal order a combination of voltages supplied to an information processor
US20090160565A1 (en) * 2007-12-21 2009-06-25 Renesas Technology Corp. Semiconductor integrated circuit
TW201019090A (en) * 2008-11-14 2010-05-16 Darfon Electronics Corp Resetting method and electronic device system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
2001年公開文獻B. Razavi, "Design of Analog CMOS Integrated Circuits", McGraw-Hill, 2001 *

Also Published As

Publication number Publication date
TW201233062A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
JP2004139718A (en) Output driver and output driving method
JP4494390B2 (en) Chips and systems
CN106026990B (en) Semiconductor circuit having a plurality of transistors
US20180275713A1 (en) Adaptive read technique for multi-drop bus
KR20150069142A (en) Configurable clock mesh circuit, method thereof, and devices including the same
TWI731663B (en) Buffer system, buffer circuit and operating method thereof
US8928354B2 (en) Clock-delayed domino logic circuit and devices including the same
US9781372B2 (en) Driver and image sensing device including the same
TWI423587B (en) Pin sharing circuit
JP2003036674A5 (en)
KR20130130478A (en) Input buffer
JP7111695B2 (en) Image sensor and transmission system
JP2016514419A (en) Low retention register tray
US9991877B2 (en) Current break circuit, semiconductor device having the same and operating method thereof
JP4492852B2 (en) Semiconductor integrated circuit device
Wang et al. Process corner detection by skew inverters for 500 MHZ 2× VDD output buffer using 40-nm CMOS technology
TWI351661B (en) Driving apparatus
US20150008970A1 (en) Period signal generation circuit
CN102752561A (en) Pin shared circuit
TWI618355B (en) Method and apparatus for power gating hardware components in a chip device
US9317370B2 (en) Semiconductor apparatus and system including the same
US8502556B2 (en) System and method for reducing input current spike for drive circuitry
US11423851B2 (en) Image sensor driving circuit including power switch and image sensor including the same
TWI646781B (en) Power-on control circuit with state-recovery mechanism and operating circuit utilizing the same
TWI411988B (en) Register circuit anfd display driving circuit having the same