WO2020036481A1 - A circuit and method for operation mode selection - Google Patents

A circuit and method for operation mode selection Download PDF

Info

Publication number
WO2020036481A1
WO2020036481A1 PCT/MY2019/050038 MY2019050038W WO2020036481A1 WO 2020036481 A1 WO2020036481 A1 WO 2020036481A1 MY 2019050038 W MY2019050038 W MY 2019050038W WO 2020036481 A1 WO2020036481 A1 WO 2020036481A1
Authority
WO
WIPO (PCT)
Prior art keywords
pin
value
circuit
pull
reset
Prior art date
Application number
PCT/MY2019/050038
Other languages
French (fr)
Inventor
Rozita BORHAN
Leong Son Wee
Kien Sieng LAM
Muhamad Khairol AB RANI
Mohd Zubir KHALID
Original Assignee
Mimos Berhad
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 Mimos Berhad filed Critical Mimos Berhad
Publication of WO2020036481A1 publication Critical patent/WO2020036481A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means

Definitions

  • the present invention relates to a circuit and method for operation mode selection. More particularly, the present invention relates to a circuit and method for multiple operation modes selection using a minimum number of pin required for the mode selection.
  • An integrated circuit also known as chip or microchip is a semiconductor wafer made of thousands or millions of tiny resistors, capacitors, and transistors.
  • An integrated circuit may be configured to run in different modes or configurations. For example, the integrated circuit may be configured to run in different speed modes which are either low or high speed. Additionally, the integrated circuit may be configured to run in different configurations such as serial parallel interface or inter- integrated circuit mode. A circuit and method for operation mode selection are used to determine which operation mode is selected for the integrated circuit to run.
  • One of the multi-mode integrated circuit devices includes a controller which is configured to operate in two modes, a first plurality of input/output pads associated with operations in the first mode, a second plurality of input/output pads associated with operations in the second mode, and a mode detector circuit.
  • the mode detector circuit is coupled to at least one of the second plurality of input/output pads and is configured to detect connection of the second plurality of input/output pads to the controller. If the second plurality of input/output pads are connected to the controller, the controller operates in the second mode. Otherwise, the controller operates in the first mode.
  • WO 2006/065452 A2 Another example of the circuit and method for operation mode selection is disclosed in a PCT Patent Publication No. WO 2006/065452 A2 which relates to circuits and methods for mode selection in multiple-mode integrated circuits.
  • the mode selection circuitry In order for a mode selection circuitry to select one of a plurality operational modes supported by an integrated circuit, first, the mode selection circuitry has to detect a selected connection between an output pin of an integrated circuit and a mode control pin of the integrated circuit. The mode selection circuitry then decodes a code output from the output pin during power-up of the integrated circuit to identify the output pin from a plurality of output pins provided on the integrated circuit. Finally, the operational mode corresponding to the connection between the output pin and the mode control pin is selected.
  • the present invention relates to a circuit (100) and method for operation mode selection.
  • the circuit (100) comprising an input pin (11), a pad pin (15) and a mode detection module (40).
  • the input pin (11) is selectively coupled to a positive voltage output, VDD pin (55), a float pin (56) or a ground pin, GND pin (57).
  • the pad pin (15) is configured to select which of the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11).
  • the mode detection module (40) is configured to capture value of power output signal and determine an operation mode selected for an operative circuit of an integrated circuit to run.
  • the circuit (100) further comprising a voltage pull-up resistor (12), a ground pull-down resistor (13), and a driver module (20).
  • the voltage pull-up resistor (12) and ground pull-down resistor (13) are configured to provide the input pin (11) with pull-up enable, PUEN or pull-down enable PDEN capability by controlling the state of the input pin (11), wherein the input pin (11) is either connected to the positive power supply or to the ground.
  • the driver module (20) is configured to control timing and value of PUEN of the voltage pull-up resistor (12) and value of PDEN of the ground pull-down resistor (13).
  • the method for operation mode selection includes the steps of setting value of pull-up enable, PUEN to high and the value of pull-down enable, PDEN to low at the first period by a driver module (20), capturing a first value of power output, PO output signal received from an input pad (10) by a mode detection module (40), setting the value of PUEN to low and value of PDEN to high by the driver module (20), and capturing a second value of PO signal received from the input pad (10) by the mode detection module (40).
  • the operation mode for an operative circuit of an integrated circuit to run is determined based on a truth table, wherein the truth table comprises a list of operation modes of the operative circuit configured to run and the predetermined value for each operation mode.
  • FIG. 1 illustrates a schematic diagram of a circuit (100) for operation mode selection according to an embodiment of the present invention.
  • FIG. 2 illustrates a flowchart of a method for operation mode selection according to an embodiment of the present invention.
  • FIG. 1 illustrates a schematic diagram of a circuit (100) for operation mode selection according to an embodiment of the present invention.
  • the circuit (100) is connected to an operative circuit of an integrated circuit.
  • the circuit (100) may be integrated as an integrated circuit.
  • the circuit (100) comprises an input pad (10), a driver module (20), a reset module (30), and a mode detection module (40).
  • the input pad (10) comprises an input pin (11), a voltage pull-up resistor (12), a ground pull-down resistor (13), a buffer (14) and a pad pin (15).
  • the input pin (11) is selectively coupled to a positive voltage output, VDD pin (55), a float pin (56) or a ground pin, GND pin (57).
  • the VDD pin (55) is connected to a positive power supply, while the GND pin (57) is connected to the ground of the circuit (100).
  • the float pin (56) is said to be floating, whereby the float pin (56) is not connected to any power supply or ground.
  • the pad pin (15) which is connected to the input pin (11) is configured to select either the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11) based on a user selection.
  • the voltage pull-up resistor (12) and the ground pull-down resistor (13) are connected to the pad pin (15) in parallel.
  • the voltage pull-up resistor (12) is connected to the positive power supply and a first switch (12a) in series, while the ground pulldown resistor (13) is connected to a second switch (13a) in series and is grounded.
  • the voltage pull-up resistor (12) and ground pull-down resistor (13) are configured to provide the input pin (11) with pull-up enable, PUEN or pull-down enable PDEN capability by controlling the state of the input pin (11).
  • the state of the input pin (11) is controlled by connecting the input pin (11) to either the positive power supply or to the ground or floating.
  • the buffer (14) is connected to the pad pin (15) in series.
  • the buffer (14) is configured to generate power output, PO signals based on selection made by the pad pin (15).
  • the PO signals has two values, wherein the two values are binary values known as a first value and a second value.
  • the buffer (14) is further connected to the mode detection module (40) to send the PO signal to the mode detection module (40), wherein values of the PO signals are sent one after another.
  • the first value of PO signal is sent before the second value of PO signal
  • the driver module (20) is connected to the voltage pull-up resistor (12) at a PUEN pin of the driver module (20) and the ground pull-down resistor (13) at a PDEN pin of the driver module (20).
  • the driver module (20) is configured to control the timing of the operation mode selection process by dividing the operation mode selection process into a plurality of periods and ensuring each step of the mode detection process is performed within a predetermined period.
  • the driver module (20) is also configured to control value of PUEN or PDEN to ensure correct values of PO signals are captured at a correct predetermined period by the mode detection module (40). By ensuring the correct values of PO signals are captured at the correct predetermined period, the driver module (20) ensures that correct values of mode are determined, wherein the values of mode indicate the operational mode selected.
  • the driver module (20) sets the value of PUEN to high, the first switch (12a) is connected to the voltage pull-up resistor (12), whereas if the driver module (20) sets the value of PUEN to low, the first switch (12a) is disconnected from the voltage pull-up resistor (12). If the driver module (20) sets the value of PDEN to high, the second switch (13a) is connected to the ground pull-down resistor (13), whereas if the driver module (20) sets the value of PDEN to low, the second switch (13a) is disconnected from the ground pull-down resistor (13).
  • the reset module (30) is connected to the driver module (20) and the mode detection module (40).
  • the reset module (30) is configured to hold the logic of other modules or circuits of the integrated circuit in a reset state while the mode detection module (40) is in operation.
  • the reset module (30) comprises a power-on-reset, POR pin (31) and an internal reset, int_rst pin (32).
  • the POR pin (31) which is constantly kept at a high state, is triggered with a low signal to activate the driver module (20) and the mode detection module (40) to start the operation mode selection.
  • the int_rst pin (32) is kept at the high state when the mode detection module (40) is not in operation.
  • the int_rst pin (32) is kept at the low state when the mode detection module (40) is in operation to hold the logic of other modules or circuits of the integrated circuit in the reset state. For example, the logic the operative circuit of the integrated circuit is kept at the reset state, wherein during the reset state any pending errors or events are cleared from the operative circuit. Once the selected mode is determined by the mode detection module (40), the state of the int_rst pin (32) returns to the high state.
  • the mode detection module (40) is configured to capture the values of PO signals and determine an operation mode selected for the operative circuit to run.
  • the values of PO signals which determine the value of mode for each operation mode are suitably pre-determined, while the selected operation mode is determined by comparing the captured values of PO signals with a predetermined value in a truth table.
  • the truth table comprises a list of operation modes which the operative circuit may be configured to run.
  • the truth table also comprises the predetermined values of mode for each operation mode.
  • the values of mode which indicate the selected operation mode is sent to the operative circuit via two output mode pins (41 , 42) in the form of output signals. For each operation mode, there are two values of mode. For first output mode, M[0] pin (41) sends first value of mode, while second output mode, M[1] pin (42) sends second value of mode.
  • the two output mode pins (41 , 42) send the values of mode simultaneously.
  • FIG. 2 illustrates a flowchart of a method for operation mode selection according to an embodiment of the present invention.
  • the pad pin (15) selects either the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11) based on the user selection.
  • the buffer (14) generates the PO signals based on the pin that is connected to the input pin (11).
  • the reset module (30) detects de-assertion of POR pin (31) and activates the driver module (20) and the mode detection module (40) for mode selection as in step 1100. Simultaneously, the int_rst pin (32) is kept at a low state and consequently, the reset module (30) keeps logics of other module or circuit of the integrated circuit in the reset state. For example, the logic the operative circuit of the integrated circuit is kept at the reset state, wherein during the reset state any pending errors or events are cleared from the operative circuit.
  • the driver module (20) divides the operation mode selection into multiple periods. During the first period, the driver module (20) sets the value of PUEN to high and the value of PDEN to low as in step 1200. As the PUEN value is set to high, the first switch (12a) is connected to the voltage pull-up resistor (12) and causes the power supply to flow through the voltage pull-up resistor (12). Simultaneously, as the PDEN value is set to low, the second switch (13a) is disconnected from the ground pull-down resistor (13) and cuts off the power supply from flowing through the ground pull-down resistor (13). The mode detection module (40) then captures and stores the first value of PO signal received from the buffer (14) as in step 1300.
  • the driver module (20) sets the value of PUEN to low and value of PDEN to high as in step 1400.
  • the first switch (12a) is disconnected from the voltage pull-up resistor (12) and cuts off the power supply from flowing through the voltage pull-up resistor (12).
  • the second switch (13a) is connected to the ground pulldown resistor (13) and.
  • the mode detection module (40) captures and stores the second value of PO signal received from the buffer (14) as in step 1500.
  • the mode detection module (40) determines the operation mode selected for the operative circuit to run based on a truth table during the third period as in step 1600.
  • the mode detection module (40) compares the captured values of PO signals with the predetermined value of the truth table.
  • the captured values of PO signals include a combination of the first value of PO signal and the second value of the PO signal.
  • Table 1 illustrates an example of the truth table used to determine the selected operation mode.
  • the operation mode selected is mode 0.
  • the input pin (11) is connected to the VDD pin (55).
  • the first and second values PO signals are (1 ,1).
  • the operation mode selected is mode 1 .
  • the input pin (11) is said to be floating, whereby the input pin (11) is connected to the float pin (56) which is not connected to any power supply or ground, the first and second values of PO signals are (1 ,0).
  • the operation mode selected is mode 2.
  • the output mode pins (41 , 42) send the values of mode to the operative circuit in the form of output signals as in step 1700.
  • the M[0] pin (41) sends the first value of mode while the M[1 ] pin (42) sends the second value of mode.
  • both M[0] pin (41) and M[1 ] pin (42) send low output signals to the operative circuit.
  • both M[0] pin (41) and M[1 ] pin (42) send high output signals to the operative circuit.
  • the selected operation mode is mode 2
  • the M[0] pin (41) sends a high output signal while the M[1 ] pin (42) sends a low output signal.
  • the reset module (30) de-activates the driver module (20) and mode detection module (40) as in step 1800. Simultaneously, the int-rst pin (31) returns to the high state and consequently, the reset module (30) triggers other logic of the integrated circuit out of the reset state.

Abstract

The present invention relates to a circuit (100) and method for operation mode selection. The circuit (100) comprising an input pin (11) selectively coupled to a positive voltage output, VDD pin (55), a float pin (56) or a ground pin, GND pin (57), a pad pin (15), and a mode detection module (40). The mode detection module (40) is configured to capture value of power output signal and determine an operation mode selected for an operative circuit to run. The circuit (100) further comprising a voltage pull-up resistor (12) and a ground pull-down resistor (13) configured to provide the input pin (11) with pull-up enable, PUEN or pull-down enable PDEN capability by controlling the state of the input pin (11), and a driver module (20) configured to control timing and value of PUEN of the voltage pull-up resistor (12) and value of PDEN of the ground pull-down resistor (13).

Description

A CIRCUIT AND METHOD FOR OPERATION MODE SELECTION
FIELD OF INVENTION
The present invention relates to a circuit and method for operation mode selection. More particularly, the present invention relates to a circuit and method for multiple operation modes selection using a minimum number of pin required for the mode selection.
BACKGROUND OF THE INVENTION
An integrated circuit also known as chip or microchip is a semiconductor wafer made of thousands or millions of tiny resistors, capacitors, and transistors. An integrated circuit may be configured to run in different modes or configurations. For example, the integrated circuit may be configured to run in different speed modes which are either low or high speed. Additionally, the integrated circuit may be configured to run in different configurations such as serial parallel interface or inter- integrated circuit mode. A circuit and method for operation mode selection are used to determine which operation mode is selected for the integrated circuit to run.
An example of the circuit and method for operation mode selection is disclosed in a United States Patent Publication No. 2006/0000917 A1 which relates to multi-mode integrated circuit devices and methods of operating the multi-mode integrated circuit device. One of the multi-mode integrated circuit devices includes a controller which is configured to operate in two modes, a first plurality of input/output pads associated with operations in the first mode, a second plurality of input/output pads associated with operations in the second mode, and a mode detector circuit. The mode detector circuit is coupled to at least one of the second plurality of input/output pads and is configured to detect connection of the second plurality of input/output pads to the controller. If the second plurality of input/output pads are connected to the controller, the controller operates in the second mode. Otherwise, the controller operates in the first mode.
Another example of the circuit and method for operation mode selection is disclosed in a PCT Patent Publication No. WO 2006/065452 A2 which relates to circuits and methods for mode selection in multiple-mode integrated circuits. In order for a mode selection circuitry to select one of a plurality operational modes supported by an integrated circuit, first, the mode selection circuitry has to detect a selected connection between an output pin of an integrated circuit and a mode control pin of the integrated circuit. The mode selection circuitry then decodes a code output from the output pin during power-up of the integrated circuit to identify the output pin from a plurality of output pins provided on the integrated circuit. Finally, the operational mode corresponding to the connection between the output pin and the mode control pin is selected.
Although there are many circuits and methods for operation mode selection, most of the circuits and methods for mode selection can only detect two modes per input pin. If the circuits and methods want to detect more than two operation modes, more input pins are required. Therefore, there is a need for a circuit and method for operation mode selection which addresses the above-mentioned problem.
SUMMARY OF INVENTION
The present invention relates to a circuit (100) and method for operation mode selection. The circuit (100) comprising an input pin (11), a pad pin (15) and a mode detection module (40). The input pin (11) is selectively coupled to a positive voltage output, VDD pin (55), a float pin (56) or a ground pin, GND pin (57). The pad pin (15) is configured to select which of the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11). The mode detection module (40) is configured to capture value of power output signal and determine an operation mode selected for an operative circuit of an integrated circuit to run. The circuit (100) further comprising a voltage pull-up resistor (12), a ground pull-down resistor (13), and a driver module (20). The voltage pull-up resistor (12) and ground pull-down resistor (13) are configured to provide the input pin (11) with pull-up enable, PUEN or pull-down enable PDEN capability by controlling the state of the input pin (11), wherein the input pin (11) is either connected to the positive power supply or to the ground. The driver module (20) is configured to control timing and value of PUEN of the voltage pull-up resistor (12) and value of PDEN of the ground pull-down resistor (13).
The method for operation mode selection includes the steps of setting value of pull-up enable, PUEN to high and the value of pull-down enable, PDEN to low at the first period by a driver module (20), capturing a first value of power output, PO output signal received from an input pad (10) by a mode detection module (40), setting the value of PUEN to low and value of PDEN to high by the driver module (20), and capturing a second value of PO signal received from the input pad (10) by the mode detection module (40). Finally, the operation mode for an operative circuit of an integrated circuit to run is determined based on a truth table, wherein the truth table comprises a list of operation modes of the operative circuit configured to run and the predetermined value for each operation mode.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 illustrates a schematic diagram of a circuit (100) for operation mode selection according to an embodiment of the present invention.
FIG. 2 illustrates a flowchart of a method for operation mode selection according to an embodiment of the present invention.
DESCRIPTION OF THE PREFERRED EMBODIMENT
A preferred embodiment of the present invention will be described herein below with reference to the accompanying drawings. In the following description, well known functions or constructions are not described in detail since they would obscure the description with unnecessary detail.
Initial reference is made to FIG. 1 which illustrates a schematic diagram of a circuit (100) for operation mode selection according to an embodiment of the present invention. The circuit (100) is connected to an operative circuit of an integrated circuit. Preferably, the circuit (100) may be integrated as an integrated circuit. The circuit (100) comprises an input pad (10), a driver module (20), a reset module (30), and a mode detection module (40).
The input pad (10) comprises an input pin (11), a voltage pull-up resistor (12), a ground pull-down resistor (13), a buffer (14) and a pad pin (15). The input pin (11) is selectively coupled to a positive voltage output, VDD pin (55), a float pin (56) or a ground pin, GND pin (57). The VDD pin (55) is connected to a positive power supply, while the GND pin (57) is connected to the ground of the circuit (100). The float pin (56) is said to be floating, whereby the float pin (56) is not connected to any power supply or ground. The pad pin (15) which is connected to the input pin (11) is configured to select either the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11) based on a user selection.
The voltage pull-up resistor (12) and the ground pull-down resistor (13) are connected to the pad pin (15) in parallel. The voltage pull-up resistor (12) is connected to the positive power supply and a first switch (12a) in series, while the ground pulldown resistor (13) is connected to a second switch (13a) in series and is grounded. The voltage pull-up resistor (12) and ground pull-down resistor (13) are configured to provide the input pin (11) with pull-up enable, PUEN or pull-down enable PDEN capability by controlling the state of the input pin (11). The state of the input pin (11) is controlled by connecting the input pin (11) to either the positive power supply or to the ground or floating. When value of PUEN is set to high, the first switch (12a) is turned on and the input pin (11) is pulled to the positive power supply via the voltage pull-up resistor (12). On the other hand, when the value of PUEN is set to low, the first switch (12a) is turned off and the input pin (11) is disconnected from the positive power supply. When the value of PDEN is set to high, the second switch (13a) is turned on and the input pin (11) is pulled to the ground. On the other hand, when the value of PDEN is set to low, the second switch (13a) is turned off and the input pin (11) is disconnected from the ground.
The buffer (14) is connected to the pad pin (15) in series. The buffer (14) is configured to generate power output, PO signals based on selection made by the pad pin (15). Preferably, the PO signals has two values, wherein the two values are binary values known as a first value and a second value. The buffer (14) is further connected to the mode detection module (40) to send the PO signal to the mode detection module (40), wherein values of the PO signals are sent one after another. Preferably, the first value of PO signal is sent before the second value of PO signal
The driver module (20) is connected to the voltage pull-up resistor (12) at a PUEN pin of the driver module (20) and the ground pull-down resistor (13) at a PDEN pin of the driver module (20). The driver module (20) is configured to control the timing of the operation mode selection process by dividing the operation mode selection process into a plurality of periods and ensuring each step of the mode detection process is performed within a predetermined period. The driver module (20) is also configured to control value of PUEN or PDEN to ensure correct values of PO signals are captured at a correct predetermined period by the mode detection module (40). By ensuring the correct values of PO signals are captured at the correct predetermined period, the driver module (20) ensures that correct values of mode are determined, wherein the values of mode indicate the operational mode selected. If the driver module (20) sets the value of PUEN to high, the first switch (12a) is connected to the voltage pull-up resistor (12), whereas if the driver module (20) sets the value of PUEN to low, the first switch (12a) is disconnected from the voltage pull-up resistor (12). If the driver module (20) sets the value of PDEN to high, the second switch (13a) is connected to the ground pull-down resistor (13), whereas if the driver module (20) sets the value of PDEN to low, the second switch (13a) is disconnected from the ground pull-down resistor (13).
The reset module (30) is connected to the driver module (20) and the mode detection module (40). The reset module (30) is configured to hold the logic of other modules or circuits of the integrated circuit in a reset state while the mode detection module (40) is in operation. The reset module (30) comprises a power-on-reset, POR pin (31) and an internal reset, int_rst pin (32). The POR pin (31), which is constantly kept at a high state, is triggered with a low signal to activate the driver module (20) and the mode detection module (40) to start the operation mode selection. The int_rst pin (32) is kept at the high state when the mode detection module (40) is not in operation. The int_rst pin (32) is kept at the low state when the mode detection module (40) is in operation to hold the logic of other modules or circuits of the integrated circuit in the reset state. For example, the logic the operative circuit of the integrated circuit is kept at the reset state, wherein during the reset state any pending errors or events are cleared from the operative circuit. Once the selected mode is determined by the mode detection module (40), the state of the int_rst pin (32) returns to the high state.
The mode detection module (40) is configured to capture the values of PO signals and determine an operation mode selected for the operative circuit to run. The values of PO signals which determine the value of mode for each operation mode are suitably pre-determined, while the selected operation mode is determined by comparing the captured values of PO signals with a predetermined value in a truth table. The truth table comprises a list of operation modes which the operative circuit may be configured to run. The truth table also comprises the predetermined values of mode for each operation mode. The values of mode which indicate the selected operation mode is sent to the operative circuit via two output mode pins (41 , 42) in the form of output signals. For each operation mode, there are two values of mode. For first output mode, M[0] pin (41) sends first value of mode, while second output mode, M[1] pin (42) sends second value of mode. Preferably, the two output mode pins (41 , 42) send the values of mode simultaneously.
Reference is now made to FIG. 2 which illustrates a flowchart of a method for operation mode selection according to an embodiment of the present invention. Initially, the pad pin (15) selects either the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11) based on the user selection. Once the input pin (11) is connected to either VDD pin (55), float pin (56) or GND pin (57), the buffer (14) generates the PO signals based on the pin that is connected to the input pin (11).
Thereon, the reset module (30) detects de-assertion of POR pin (31) and activates the driver module (20) and the mode detection module (40) for mode selection as in step 1100. Simultaneously, the int_rst pin (32) is kept at a low state and consequently, the reset module (30) keeps logics of other module or circuit of the integrated circuit in the reset state. For example, the logic the operative circuit of the integrated circuit is kept at the reset state, wherein during the reset state any pending errors or events are cleared from the operative circuit.
Typically, the driver module (20) divides the operation mode selection into multiple periods. During the first period, the driver module (20) sets the value of PUEN to high and the value of PDEN to low as in step 1200. As the PUEN value is set to high, the first switch (12a) is connected to the voltage pull-up resistor (12) and causes the power supply to flow through the voltage pull-up resistor (12). Simultaneously, as the PDEN value is set to low, the second switch (13a) is disconnected from the ground pull-down resistor (13) and cuts off the power supply from flowing through the ground pull-down resistor (13). The mode detection module (40) then captures and stores the first value of PO signal received from the buffer (14) as in step 1300. During the second period, the driver module (20) sets the value of PUEN to low and value of PDEN to high as in step 1400. As the PUEN value is set to low, the first switch (12a) is disconnected from the voltage pull-up resistor (12) and cuts off the power supply from flowing through the voltage pull-up resistor (12). Concurrently, as the PDEN value is set to high, the second switch (13a) is connected to the ground pulldown resistor (13) and. The mode detection module (40) captures and stores the second value of PO signal received from the buffer (14) as in step 1500.
The mode detection module (40) then determines the operation mode selected for the operative circuit to run based on a truth table during the third period as in step 1600. The mode detection module (40) compares the captured values of PO signals with the predetermined value of the truth table. The captured values of PO signals include a combination of the first value of PO signal and the second value of the PO signal.
Table 1 illustrates an example of the truth table used to determine the selected operation mode. As shown in Table 1 , if the input pin (11) is connected to the GND pin (57), the first and second values of the PO signals are (0,0). Therefore, based on Table 1 , the operation mode selected is mode 0. Another example is when the input pin (11) is connected to the VDD pin (55). The first and second values PO signals are (1 ,1). Hence, the operation mode selected is mode 1 . When the input pin (11) is said to be floating, whereby the input pin (11) is connected to the float pin (56) which is not connected to any power supply or ground, the first and second values of PO signals are (1 ,0). Thus, the operation mode selected is mode 2.
Table 1
Figure imgf000010_0001
Once the selected operation mode is determined, the output mode pins (41 , 42) send the values of mode to the operative circuit in the form of output signals as in step 1700. The M[0] pin (41) sends the first value of mode while the M[1 ] pin (42) sends the second value of mode. Referring to the previous example in Table 1 , if the selected operation mode is mode 0, both M[0] pin (41) and M[1 ] pin (42) send low output signals to the operative circuit. If the selected operation mode is mode 1 , both M[0] pin (41) and M[1 ] pin (42) send high output signals to the operative circuit. If the selected operation mode is mode 2, the M[0] pin (41) sends a high output signal while the M[1 ] pin (42) sends a low output signal.
Finally, the reset module (30) de-activates the driver module (20) and mode detection module (40) as in step 1800. Simultaneously, the int-rst pin (31) returns to the high state and consequently, the reset module (30) triggers other logic of the integrated circuit out of the reset state.
While embodiments of the invention have been illustrated and described, it is not intended that these embodiments illustrate and describe all possible forms of the invention. Rather, the words used in the specifications are words of description rather than limitation and various changes may be made without departing from the scope of the invention.

Claims

1 . A circuit (100) for operation mode selection comprising:
a) an input pin (11) selectively coupled to a positive voltage output, VDD pin (55), a float pin (56) or a ground pin, GND pin (57); b) a pad pin (15) configured to select which of the VDD pin (55), float pin (56) or GND pin (57) to be connected to the input pin (11); and c) a mode detection module (40) configured to capture value of power output signal and determine an operation mode selected for an operative circuit of an integrated circuit to run;
characterised in that the circuit (100) further comprising:
d) a voltage pull-up resistor (12) configured to provide the input pin (11) with pull-up enable, PUEN capability by controlling the state of the input pin (11), wherein the input pin (11) is selectively connected to a positive power supply;
e) a ground pull-down resistor (13) configured to provide the input pin (11) with pull-down enable PDEN capability by controlling the state of the input pin (11), wherein the input pin (11) is selectively connected to a ground; and
f) a driver module (20) configured to control timing and value of PUEN of the voltage pull-up resistor (12) and value of PDEN of the ground pulldown resistor (13).
2. The circuit (100) as claimed in claim 1 , wherein the circuit (100) further comprising a buffer (14) configured to generate power output signals based on either VDD pin (55), float pin (56) or GND pin (57) is connected to the input pin (11).
3. The circuit (100) as claimed in claim 1 , wherein the circuit (100) further comprising a reset module (30) configured to hold logic of other modules or circuits of the integrated circuit in a reset state while the mode detection module
(40) is in operation.
4. The circuit (100) as claimed in claim 3 wherein the reset module (30) comprises: a) a power-on-reset pin (31) that is consistently kept at a high state configured to activate the driver module (20) and the mode detection module (40) to start the operation mode selection, wherein the power- on-reset pin (31) is triggered with a low signal; and
b) an internal reset pin (32) that is kept at a low state while the mode detection module (40) is in operation to hold logic of other modules or circuits of the integrated circuit in a reset state.
The circuit (100) as claimed in claim 1 , wherein the voltage pull-up resistor (12) is connected to a first switch (12a) and the positive power supply in series, wherein the first switch (12a) is turned on when the value of PUEN is set to high and is turned off when the value of PUEN is set to low.
The circuit (100) as claimed in claim 1 , wherein the ground pull-down resistor (13) is connected to a second switch (13a) and the ground in series, wherein the second switch (13a) is turned on when the value of PDEN is set to high and is turned off when the value of PDEN is set to low.
A method for operation mode selection is characterised by the steps of:
a) setting value of pull-up enable, PUEN to high and the value of pull-down enable, PDEN to low at a first period by a driver module (20);
b) capturing a first value of power output, PO signal received from an input pad (10) by a mode detection module (40);
c) setting the value of PUEN to low and value of PDEN to high at a second period by the driver module (20);
d) capturing a second value of PO signal received from the input pad (10) by the mode detection module (40); and
e) determining an operation mode selected for an operative circuit of an integrated circuit to run based on a truth table, wherein the truth table comprises a list of operation modes of the operative circuit configured to run and the predetermined value for each operation mode.
The method as claimed in claim 7, wherein the step of setting value of pull-up enable, PUEN to high and the value of pull-down enable, PDEN to low at the first period by a driver module (20) is done once a reset module (30) detects de-assertion of a power-on-reset pin (31).
9. The method as claimed in claim 8, wherein the step of detecting de-assertion of power-on-reset pin (31) includes the step of keeping an internal reset pin (32) at a low state to keep other logics of the integrated circuit in a reset state.
10. The method as claimed in claim 7, wherein the method further includes the steps of:
a) sending values of mode to an operative circuit in the form of output signals, wherein the values of mode indicate the operational mode selected;
b) de-activating the driver module (20) and the mode detection module (40); and
c) triggering other logic of the integrated circuit out of a reset state by returning an internal reset pin (32) to a high state.
PCT/MY2019/050038 2018-08-15 2019-07-24 A circuit and method for operation mode selection WO2020036481A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
MYPI2018001446 2018-08-15
MYPI2018001446 2018-08-15

Publications (1)

Publication Number Publication Date
WO2020036481A1 true WO2020036481A1 (en) 2020-02-20

Family

ID=69525744

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/MY2019/050038 WO2020036481A1 (en) 2018-08-15 2019-07-24 A circuit and method for operation mode selection

Country Status (1)

Country Link
WO (1) WO2020036481A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113219323A (en) * 2021-04-29 2021-08-06 深圳数马电子技术有限公司 Device and method for testing connectivity of chip pins and readable storage medium
IT202100003542A1 (en) * 2021-02-16 2022-08-16 St Microelectronics Srl SYSTEM AND METHOD FOR SELECTING AN OPERATING MODE, SUCH AS A START MODE, OF A MICRO-CONTROLLER UNIT
EP4064001A1 (en) * 2021-03-25 2022-09-28 STMicroelectronics Application GmbH Processing system, related integrated circuit, device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107303A1 (en) * 2002-11-29 2004-06-03 Daniel Mulligan Configurable integrated circuit for use in a multi-function handheld device
US20060125661A1 (en) * 2004-12-14 2006-06-15 Cirrus Logic, Inc. Circuits and methods for implementing mode selection in multiple-mode integrated circuits
US20110018522A1 (en) * 2009-07-22 2011-01-27 Chih-Hung Li Power supply device, portable electronic apparatus and related method for determining types of a power supply device
US8024630B2 (en) * 2009-05-23 2011-09-20 Shenzhen Futaihong Precision Industry Co., Ltd. Debugging module for electronic device and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107303A1 (en) * 2002-11-29 2004-06-03 Daniel Mulligan Configurable integrated circuit for use in a multi-function handheld device
US20060125661A1 (en) * 2004-12-14 2006-06-15 Cirrus Logic, Inc. Circuits and methods for implementing mode selection in multiple-mode integrated circuits
US8024630B2 (en) * 2009-05-23 2011-09-20 Shenzhen Futaihong Precision Industry Co., Ltd. Debugging module for electronic device and method thereof
US20110018522A1 (en) * 2009-07-22 2011-01-27 Chih-Hung Li Power supply device, portable electronic apparatus and related method for determining types of a power supply device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT202100003542A1 (en) * 2021-02-16 2022-08-16 St Microelectronics Srl SYSTEM AND METHOD FOR SELECTING AN OPERATING MODE, SUCH AS A START MODE, OF A MICRO-CONTROLLER UNIT
US11705904B2 (en) 2021-02-16 2023-07-18 Stmicroelectronics S.R.L. System and method for selecting an operating mode, such as a boot mode, of a micro-controller unit
EP4064001A1 (en) * 2021-03-25 2022-09-28 STMicroelectronics Application GmbH Processing system, related integrated circuit, device and method
CN113219323A (en) * 2021-04-29 2021-08-06 深圳数马电子技术有限公司 Device and method for testing connectivity of chip pins and readable storage medium

Similar Documents

Publication Publication Date Title
WO2020036481A1 (en) A circuit and method for operation mode selection
US10657088B2 (en) Integrated circuit, bus system and control method thereof
KR101536359B1 (en) Oob detection circuit and serial ata system
TWI437425B (en) Circuits and methods of hardware detecting and idendifying, hardware status processing system
US6691201B1 (en) Dual mode USB-PS/2 device
US8395424B2 (en) Semiconductor device and operation mode switch method
JP4988671B2 (en) Serial bus system and hang-up slave reset method
US8354857B1 (en) Method and apparatus for speed monitoring
US9819518B2 (en) Semiconductor device, semiconductor system including the same, and control method of semiconductor device
US7343512B2 (en) Controlling clock rates of an integrated circuit including generating a clock rate control parameter from integrated circuit configuration
KR101366768B1 (en) Integrated fault output/fault response delay circuit
US6621311B2 (en) Power noise prevention circuit in microcontroller unit
US10901935B2 (en) IC, bus system and control method thereof
US20120139605A1 (en) Integrated circuit and related controlling method
US6292409B1 (en) System for programmable chip initialization
JP2013062289A (en) Semiconductor chip
CN107844446B (en) Configuring default voltage levels for dual voltage input/output pad cells via voltage rail ramp up timing
US7504865B2 (en) Frequency sensor and semiconductor device
US20070205804A1 (en) Multi-bit configuration pins
TWI782339B (en) Testing system and method for in chip decoupling capacitor circuits
JP2003140779A (en) Watch dog timer diagnosing system
US11705169B2 (en) Trim/test interface for devices with low pin count or analog or no-connect pins
JP2004047720A (en) Semiconductor device
US9176802B2 (en) Integrated circuit device and method of identifying a presence of a broken connection within an external signal path
KR100415540B1 (en) Initialization Circuit of Mouse Controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19850620

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19850620

Country of ref document: EP

Kind code of ref document: A1