WO2010012236A1 - 一种实现管脚分时复用的方法及片上*** - Google Patents

一种实现管脚分时复用的方法及片上*** Download PDF

Info

Publication number
WO2010012236A1
WO2010012236A1 PCT/CN2009/073005 CN2009073005W WO2010012236A1 WO 2010012236 A1 WO2010012236 A1 WO 2010012236A1 CN 2009073005 W CN2009073005 W CN 2009073005W WO 2010012236 A1 WO2010012236 A1 WO 2010012236A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
interface
signal
pin
output
Prior art date
Application number
PCT/CN2009/073005
Other languages
English (en)
French (fr)
Inventor
王惠刚
Original Assignee
炬力集成电路设计有限公司
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 炬力集成电路设计有限公司 filed Critical 炬力集成电路设计有限公司
Priority to US13/000,485 priority Critical patent/US8232820B2/en
Priority to EP09802429.2A priority patent/EP2309395B1/en
Publication of WO2010012236A1 publication Critical patent/WO2010012236A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3172Optimisation aspects, e.g. using functional pin as test pin, pin multiplexing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0038System on Chip

Definitions

  • the invention relates to a data transmission technology of a system-on-a-chip (SOC), in particular to a method and a system on chip for realizing time division multiplexing of pins.
  • SOC system-on-a-chip
  • I2C Inter-Integrated Circuit
  • GPIO General Purpose Input/Output
  • I2C bus interface uses the I2C bus data transmission protocol, which is clocked by the clock.
  • the serial bus interface formed by the SCL (Slave Clock) interface and the data signal (SDA, Serial Data) interface transfers data between the integrated circuits, and is realized by two pins of the SOC when implemented; the GPIO interface is usually used for
  • the SOC transmits some of the control logic of the device to the external device or transmits the status of some of the cartridges from the external device, such as a chip select signal for the external storage device, an enable signal of the external display device, etc., and is generally implemented by one pin.
  • the microprocessor controls the I2C bus configuration register to perform the interface through the bidirectional PAD unit.
  • I2C bus configuration transfer data.
  • the I2C bus interface can be configured according to the I2C bus protocol.
  • the timing diagram of the I2C bus protocol is shown in Figure 2. It can be seen that the I2C bus has three status information characterization transmission processes during the transmission of data, respectively. Start, end of transfer, and completion of one byte transfer, SCL and SDA in the I2C bus cooperate to implement these three status messages. Start of transmission: When SCL is high, SDA transitions from high level to low level and starts to transfer data. End of transmission: When SCL is high level, SDA transitions from low level to high level, and the number of transmission ends.
  • the microprocessor controls the GPIO configuration register to configure the interface as GPIO, and then use the high or low level to transfer data.
  • an embodiment of the present invention provides a system-on-chip capable of saving pins, the system-on-chip capable of time-multiplexing at least one pin into a first interface mode or a second interface mode, the system on a chip.
  • the first interface circuit, the first pin, the second interface circuit and the second pin are included;
  • the first interface circuit includes a first bidirectional pad unit and a first signal interface unit of the first interface mode, and an output side port of the first bidirectional pad unit is connected to the first pin;
  • the second interface circuit includes a second bidirectional pad unit and a second signal interface unit of the first interface mode, and the second signal interface unit is coupled to the second pin via the second bidirectional pad unit;
  • the first interface circuit further includes a selection unit and an interface unit of the second interface mode, and the selection unit is configured to time-select an output end of the first signal interface unit or an interface unit of the second interface mode The output end is in communication with the input side port of the first bi-directional pad welding unit.
  • Another embodiment of the present invention provides a method for implementing time-division multiplexing of a pin, which can time-multiplex the at least one pin of the system on a chip into a first interface mode or a second interface mode, where
  • the system on chip includes a first interface circuit, a first pin, a second interface circuit, and a second pin;
  • the first interface circuit includes a first bidirectional pad unit, a first signal interface unit of the first interface mode, and The interface unit of the second interface mode;
  • the second interface circuit includes a second two-way pad unit, and the second signal interface unit of the first interface mode; wherein the method includes:
  • the output of the first signal interface unit or the output of the interface unit of the second interface mode is connected to the first pin via the first bidirectional pad welding unit.
  • Embodiments of the present invention enable the use of pins as different interface modes for different time periods, thereby saving SOC pin resources.
  • FIG. 1 is a schematic structural diagram of an I2C bus interface implemented in an SOC in the prior art
  • FIG. 2 is a timing diagram of a prior art I2C bus protocol
  • FIG. 3 is a schematic structural diagram of implementing GPIO in a SOC in the prior art
  • FIG. 4 is a schematic structural diagram of a system on a chip according to an embodiment of the present invention.
  • Figure 5 is a schematic structural view of a system on chip according to the present invention.
  • FIG. 6 is a schematic structural diagram of a circuit embodiment for implementing a time division multiplexing of a pin having an I2C bus interface mode to a GPIO in an SOC according to the present invention
  • FIG. 7 is a schematic structural diagram of a bidirectional PAD unit 10 shown in FIG. 6 according to the present invention
  • FIG. 8 is a flowchart of a method for time-division multiplexing an SOC pin having an I2C bus interface mode into a GPIO according to an embodiment of the present invention
  • FIG. 9 is a flowchart of a method for time-multiplexing SOC pins having an I2C bus interface mode into GPIOs according to another embodiment of the present invention. Mode for carrying out the invention
  • the SOC capable of time-multiplexing at least one of the pins into a first interface mode or a second interface mode, the SOC comprising: a first interface circuit, a second interface circuit, a first pin and a second pin, wherein
  • the first interface circuit includes a first bidirectional pad unit and a first signal interface unit of the first interface mode, and an output side port of the first bidirectional pad unit is connected to the first pin;
  • the second interface circuit includes a second bidirectional pad unit and a second signal interface unit of the first interface mode, and the second signal interface unit is coupled to the second pin via the second bidirectional pad unit;
  • the first interface circuit further includes a selection unit and an interface unit of the second interface mode, and the selection unit is configured to time-select an output end of the first signal interface unit or an interface unit of the second interface mode The output end is in communication with the input side port of the first bi-directional pad welding unit.
  • the output end of the interface unit refers to the connection end of the interface unit that connects the two-way pad welding unit, and may include both the output end of the signal output unit and the input end of the signal input unit; the input side of the bidirectional pad welding unit
  • the port refers to a port that is connected to the internal circuit of the chip, and the output side port refers to a port that is connected to the pin of the chip.
  • the pins in an application scheme of an SOC, can be time-multiplexed into two different interface modes, and the SOC pins are time-multiplexed into a GPIO interface mode or an I2C bus interface mode.
  • the SOC pins are time-multiplexed into a GPIO interface mode or an I2C bus interface mode.
  • the GPIO interface can use one SOC pin.
  • the present invention may be to time-multiplex the pins transmitting the SDA signal into a GPIO interface, or to time-multiplex the pins transmitting the SCL signal into a GPIO interface.
  • the system on chip of the present invention includes a first interface circuit, a second interface circuit, a first pin connected to the first interface circuit, and a second pin connected to the second interface circuit.
  • the first interface circuit and the second interface circuit both have the structure as shown in FIGS. 6 and 7, and each of the first and second interface circuits includes: a bidirectional PAD unit 10.
  • the I2C bus output unit 14 is an SDA signal output unit
  • the I2C bus input unit 16 is an SDA signal input unit
  • the I2C bus output unit is an SCL signal output unit
  • the I2C bus The input unit 16 is an SCL signal input unit.
  • the bidirectional PAD unit 10 includes a first port 24, a second port 25, a third port 26, a fourth port 27, and a fifth port 28, wherein the first port to the fourth port are input side ports, and the fifth port is an output. Side port.
  • the output end of the GPIO output enable unit 12 is connected to one input end of the first selector 110, and the output end of the I2C bus output unit 14 is inverted by the inverter 19 and the other input end of the first selector 110. Connected, the output of the first selector 110 is connected to the second port 25 of the bidirectional PAD unit 10, and the control end is connected to the first pin mode selection unit 11;
  • the output of the GPIO signal output unit 17 is connected to one input of the second selector 111, the other input of the second selector 111 is grounded, and the output of the second selector 111 and the third port 26 of the bidirectional PAD unit 10 are provided.
  • the control terminal is connected to the second pin mode selection unit 13;
  • An input end of the I2C bus input unit 16 and an input end of the GPIO signal input unit 15 are both connected to the fourth port 27 of the bidirectional PAD unit 10;
  • the output of the I2C bus interface pin pull-up resistor enable unit 18 is coupled to the first port 24 of the bidirectional PAD unit 10.
  • the bidirectional PDA unit 10 further includes a buffer 20, a tristate buffer 21, a pullup resistor 22, and a switch 23; the input of the buffer 20 is connected to the fifth port 28, and the output is connected to the fourth port 27; The input end of the device 21 is connected to the third port 26, the control terminal is connected to the second port 25, and the output terminal is connected to the fifth port 28; one end of the pull-up resistor 22 is connected to the fifth port 28, and the other end is connected to the output of the switch 23.
  • the terminal is connected; the input of the switch 23 is connected to the power source, and the control terminal is connected to the first port 24; the fifth port 28 is connected to SCL or / and SDA in the I2C bus interface as the SOC, or as a pin of the GPIO mode.
  • the I2C bus interface pin pull-up resistor enable unit 18 is used to open or close the switch unit 23.
  • the pull-up resistor acts, that is, it is connected to the power supply.
  • the pull-up resistor does not work, that is, the pull-up resistor is used. Disconnected from the power supply.
  • the I2C bus interface pin pull-up resistor enable unit 18 When the pin is configured for use in the I2C bus interface mode, the I2C bus interface pin pull-up resistor enable unit 18 outputs a signal to cause the switch 23 to close, and the pull-up resistor 23 is connected to the power supply, so that the pull-up resistor 22 will be the fifth port.
  • the level of 28 is pulled high, the first pin mode selection unit 11 outputs a signal to control the first selector 110 to output a signal through the inverter 19, and the second pin mode selection unit 13 outputs a signal to control the second selector 111 to output a ground signal. .
  • the pin when the I2C bus output unit 14 outputs a high level, the second port 25 is at a low level, the tristate buffer 21 is blocked, and the fifth port 28 is pulled high by the pull-up resistor 22, Thus, the pin also outputs a high level; when the I2C bus output unit 14 outputs a low level, the second port 25 is at a high level, and the tristate buffer 21 sends the ground signal output by the second selector 111 to the first Five ports 28, so the pin also outputs a low level, thus achieving the I2C output function.
  • the input signal of the pin can be input to the I2C input unit 16 through the buffer 20 to implement the input function of the I2C.
  • the I2C bus interface pin pull-up resistor enable unit 18 When the pin is used as the GPIO interface, the I2C bus interface pin pull-up resistor enable unit 18 outputs a signal to turn off the switch 23, and the first pin mode selection unit 11 outputs a signal to control the first selector 110 to output the GPIO output enable.
  • the output signal of the unit 12, the second pin mode selection unit 13 output signal controls the second selector 111 to output the output signal of the GPIO output unit 17. In this mode, when the GPIO output enable unit 12 outputs a high level, the second port 25 is at a high level, and the tristate buffer 21 sends the output signal of the GPIO signal output unit 17 output from the second selector 111.
  • the fifth port 28 causes the pin to output the output signal of the GPIO output unit 17, thereby implementing the GPO function; when the GPIO output enable unit 14 outputs a low level, the second port 25 is at a low level, and the tristate buffer 21 is blocked.
  • the input signal of the pin can be input to the GPIO signal input unit 15 through the buffer 20 to implement the GPI function.
  • the I2C bus interface pin pull-up resistor enable unit 18, the GPIO output enable unit 12, the I2C bus output unit 14, the GPIO signal output unit 17, the I2C bus input unit 16, and the GPIO signal output unit 17 The first pin mode selection unit 11 and the second pin mode selection unit 13 may be implemented by using a register, and the input signals of the respective units may be provided by other internal circuits of the SOC.
  • control signals output by the I2C bus interface pin pull-up resistor enable unit 18, the first pin mode selection unit 11, and the second pin mode selection unit 13 may be micro-processes in the SOC. Provided.
  • Table 1 is a logical truth table of the bidirectional PAD unit 10. 0 1 0 Output low logic with the same GPO of 28
  • Output low level Logic is the same as 28 I2C bus interface
  • the first interface circuit has a structure as shown in FIGS. 6 and 7, wherein the I2C bus input unit 16 is an SDA signal input unit; and the I2C bus output unit is an SDA signal output unit.
  • the second interface circuit can be a conventional I2C bus interface circuit corresponding to the SCL signal. This embodiment can time-multiplex the first pin into an I2C bus interface mode or a GPIO interface mode.
  • the first interface circuit has a structure as shown in FIGS. 6 and 7, wherein the I2C bus input unit 16 is an SCL signal input unit; and the I2C bus output unit is an SCL signal output unit.
  • the second interface circuit can be a conventional I2C bus interface circuit corresponding to the SDA signal. This embodiment can also time-multiplex the first pin into an I2C bus interface mode or a GPIO interface mode.
  • the present invention also provides an embodiment of a method of implementing time division multiplexing of pins.
  • the method for implementing the time division multiplexing of the pin can time-multiplex the at least one pin of the system-on-chip SOC into a first interface mode or a second interface mode, where the SOC includes a first interface circuit, a first pin, a second interface circuit, and a second pin; the first interface circuit includes a first two-way pad unit, a first signal interface unit in a first interface mode, and an interface unit in the second interface mode; The second interface circuit includes a second two-way pad unit and a second signal interface unit of the first interface mode, and the method includes:
  • An output end of the interface unit is coupled to the first pin via the first bi-directional pad bonding unit.
  • the first two-way pad unit includes a pull-up resistor and a switch unit, one end of the pull-up resistor is connected to the first pin, and the other end is connected to the power source through the switch unit;
  • the input end of a signal interface unit or the output end of the interface unit of the second interface mode is connected to the first pin via the first bidirectional pad welding unit, and one of SA, SB is executed in a time division manner:
  • FIG. 8 is a flowchart showing a method for time-multiplexing SOC pins having an I2C bus interface mode into GPIOs according to a fourth embodiment of the present invention.
  • the SOC of this embodiment may have the first embodiment of the present invention.
  • the features of the system on chip, the method of this embodiment includes:
  • Step 801 According to the process of using the SOC pin as the I2C bus interface, the pin corresponding to the SDA signal and the pin corresponding to the SCL signal are configured to be in the I2C interface mode, so that the two pins are in an idle state, that is, a high level. State
  • Step 802 According to the process of using the SOC pin as the GPIO, configure the SOC pin corresponding to the SCL signal to be a GPIO interface mode, and output the pin to a low level;
  • the GPIO output output unit can be enabled to enable the GPIO output enable unit (select the GPO function), and the I2C bus interface pin pull-up resistor is disabled (the pull-up resistor and the power supply are disabled).
  • the order of opening) is performed in sequence;
  • Step 803 According to the process of using the SOC pin as the GPIO, configure the SOC pin corresponding to the SDA signal to be a GPIO interface mode;
  • the SOC pin corresponding to the SCL signal when the SOC pin corresponding to the SCL signal is at a low level, the high and low level changes of the SOC pin corresponding to the SDA signal are not Causes the I2C bus interface device to malfunction. Therefore, when the SOC pin corresponding to the SDA signal is set to the GPIO interface mode in the process of the SOC pin corresponding to the SCL signal, the pin corresponding to the SDA signal can be Perform GPIO signal transmission on the GPIO function;
  • Step 804 After the SOC pin corresponding to the SDA signal is used as the GPIO, according to the process of using the SOC pin as the I2C bus interface, configure it as the I2C interface mode, and configure the SOC pin corresponding to the SCL signal as the I2C interface mode. Perform the next I2C bus operation.
  • FIG. 9 is a flowchart showing a method for time-multiplexing SOC pins having an I2C bus interface mode into GPIOs according to a fifth embodiment of the present invention.
  • the SOC of this embodiment may have the first embodiment of the present invention.
  • the features of the system on chip, the method of this embodiment includes:
  • Step 901 According to the process of using the SOC pin as the I2C bus interface, after the SOC pin corresponding to the SDA signal and the SOC pin corresponding to the SCL signal are configured to be used in the I2C interface mode, the two pins are in an idle state, that is, high. Level state
  • Step 902 According to the process of using the SOC pin as the GPIO, configure the SOC pin corresponding to the SDA signal into a GPIO interface mode, and enable the pin to output a high level;
  • the GPIO signal output unit can be enabled to output a high level, and the GPIO output enable unit 12 can be enabled (the GPO function is selected) to enable the I2C bus interface pin pull-up resistor enable unit 18 (on the upper side).
  • the sequence of the pull-resistor and the power-on is sequentially performed; Step 903: According to the process of using the SOC pin as the GPIO, the SOC pin corresponding to the SCL signal is configured into the GPIO interface mode;
  • the SOC pin corresponding to the SDA signal when the SOC pin corresponding to the SDA signal is at a high level, the high and low level changes of the SOC pin corresponding to the SCL signal do not cause malfunction of the I2C bus interface device. Therefore, in the process that the SOC pin corresponding to the SDA signal is at a high level, the SOC pin corresponding to the SCL signal is configured as a GPIO interface mode. After the formula, the GPIO signal transmission can be performed on the pin corresponding to the SCL signal to realize the GPIO function;
  • Step 904 After the SOC pin corresponding to the SCL signal is used as the GPIO, according to the process of using the SOC pin as the I2C bus interface, configure it as the I2C interface mode, and configure the SOC pin corresponding to the SDA signal as the I2C bus interface. Mode for the next I2C bus operation;
  • the I2C bus interface pin pull-up resistor enable unit 18 can be enabled (connecting the pull-up resistor to the power supply) to enable the GPIO output.
  • the order in which the enable cells are not enabled is sequentially performed.
  • the SOC may have the features of the system on chip of the second embodiment of the present invention.
  • the method of this embodiment includes:
  • the two pins are in an idle state, that is, a high state
  • the SOC pin corresponding to the SDA signal is configured into a GPIO interface mode to implement the GPIO function
  • the SOC pin corresponding to the SDA signal is used as the GPIO
  • the SOC pin is used as the I2C bus interface, and is configured as the I2C interface mode, and the SOC pin corresponding to the SCL signal is restored to the signal transmission state for the next time. I2C bus operation.
  • the SOC may have the features of the system on chip of the third embodiment of the present invention.
  • the method of this embodiment includes:
  • the two pins are in an idle state, that is, a high state
  • the SOC pin corresponding to the SCL signal is configured into a GPIO interface mode to implement the GPIO function;
  • the SOC pin corresponding to the SCL signal is used as the GPIO, according to the process of using the SOC pin as the I2C bus interface, it is configured as the I2C interface mode, and the SOC pin corresponding to the SDA signal is restored to the I2C signal transmission state.
  • the data transmission of the I2C bus interface may also affect the malfunction of the GPIO, since the GPIO is usually used as the chip select signal of the external storage device and the enable signal of the display device in the SOC, it must be shared with other signals. The cooperation can cause the external device of the corresponding GPIO to malfunction, so the possibility of causing misoperation is not large, and the present invention will not be discussed.
  • the number of interface modes of the SOC pin is also increasing. How to reduce the number of SOC pins as much as possible while implementing the same interface function, the design of the SOC Also more and more important.
  • the circuit and method provided by the invention enable multiple SOC pins to implement multiple interface modes and realize different interface mode functions at different times, so as to reduce the number of SOC pins, making SOC smaller package possible, thereby enabling The design of the SOC is more convenient and convenient.
  • the circuit and method provided by the present invention not only effectively reduce the production cost and increase the production yield, but also provide a more convenient SOC and its application.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Logic Circuits (AREA)
  • Information Transfer Systems (AREA)

Description

一种实现管脚分时复用的方法及片上*** 技术领域
本发明涉及片上***(SOC, System-On-a-Chip ) 的数据传输技术, 特别涉及一种实现管脚分时复用的方法及片上***。 发明背景
目前, 很多 SOC同时支持 I2C ( Inter-Integrated Circuit, 内部集成电 路)总线接口和通用输入输出 ( GPIO, General Purpose Input/Output )接 口, 其中 I2C总线接口应用 I2C总线数据传输协议, 该接口是由时钟信 号(SCL, Serial Clock )接口和数据信号( SDA, Serial Data )接口构成 的串行总线接口,在集成电路之间传输数据,在实现时采用 SOC的两个 管脚实现; GPIO接口通常用于 SOC传输一些筒单的控制逻辑给外部设 备或者从外部设备传输一些筒单的状态, 比如用于外部存储设备的片选 信号、 外部显示设备的使能信号等, 一般采用一个管脚实现。
在 SOC中实现 I2C总线接口时, 如图 1所示, 包括微处理器、 I2C 总线配置寄存器和双向焊垫(PAD )单元, 其中, 微处理器控制 I2C总 线配置寄存器通过双向 PAD单元对接口进行 I2C总线配置, 传输数据。 双向 PAD单元中有满足 I2C总线协议的上拉电阻。
在具体实现时, 可以根据 I2C总线协议对 I2C总线接口进行配置, I2C总线协议时序图如图 2所示, 可以看出, I2C总线在传输数据过程 中有三种状态信息表征传输过程, 分别为传输开始、 传输结束和一个字 节传输完成, I2C总线中的 SCL和 SDA配合实现这三种状态信息。 传 输开始: SCL为高电平时, SDA由高电平向低电平跳变,开始传输数据; 传输结束: SCL为高电平时, SDA由低电平向高电平跳变, 结束传输数 据; 应答信号 (ACK ): 接收数据的集成电路(IC )在接收到 8位数据 后, 向发送数据的 IC发出特定的低电平脉沖, 表示已经接收到数据。
在 SOC中实现 GPIO时, 如图 3所示, 包括微处理器, GPIO配置 寄存器, 微处理器控制 GPIO配置寄存器将接口配置为 GPIO后, 采用 高电平或低电平传输数据即可。
在 SOC中通常采用不同的管脚实现 I2C总线接口和 GPIO接口,这 使得 SOC的接口管脚数目较多, SOC应用的复杂性和成本较高。 发明内容
有鉴于此, 本发明的一个实施例提供一种能够节省管脚的片上系 统, 所述片上***能将至少一个管脚分时复用为第一接口模式或第二接 口模式, 所述片上***包括第一接口电路、 第一管脚、 第二接口电路及 第二管脚;
所述第一接口电路包括第一双向焊垫单元、 以及第一接口模式的第 一信号接口单元, 第一双向焊垫单元的输出侧端口与所述第一管脚连 接;
所述第二接口电路包括第二双向焊垫单元、 以及第一接口模式的第 二信号接口单元, 所述第二信号接口单元经第二双向焊垫单元与所述第 二管脚连接;
所述第一接口电路还包括选择单元和所述第二接口模式的接口单 元, 所述选择单元用于分时选择所述第一信号接口单元的输出端或所述 第二接口模式的接口单元的输出端与所述第一双向垫焊单元的输入侧 端口连通。
本发明的另一实施例提供一种实现管脚分时复用的方法, 能将片上 ***的至少一个管脚分时复用为第一接口模式或第二接口模式, 其中所 述片上***包括第一接口电路、 第一管脚、 第二接口电路及第二管脚; 所述第一接口电路包括第一双向焊垫单元、 第一接口模式的第一信号接 口单元以及所述第二接口模式的接口单元; 所述第二接口电路包括第二 双向焊垫单元、 以及所述第一接口模式的第二信号接口单元; 其中, 所 述方法包括:
分时选择所述第一信号接口单元的输出端或所述第二接口模式的接 口单元的输出端经所述第一双向垫焊单元与所述第一管脚连接。
本发明的实施例能够实现将管脚在不同时间段内作为不同接口模式 使用, 因此能够节约 SOC的管脚资源。 附图简要说明
图 1为现有技术在 SOC中实现 I2C总线接口的结构示意图; 图 2为现有技术 I2C总线协议时序图;
图 3为现有技术在 SOC中实现 GPIO的结构示意图;
图 4为本发明一实施例的片上***结构示意图;
图 5为本发明片上***的结构示意图;
图 6为本发明提供的在 SOC中实现具有 I2C总线接口模式的管脚分 时复用为 GPIO使用的电路实施例结构示意图;
图 7为本发明提供的图 6所示的双向 PAD单元 10的结构示意图; 图 8为本发明一个实施例提供的将具有 I2C总线接口模式的 SOC管 脚分时复用为 GPIO使用的方法流程图;
图 9为本发明另一个实施例提供的将具有 I2C总线接口模式的 SOC 管脚分时复用为 GPIO使用的方法流程图。 实施本发明的方式
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例, 并参照附图, 对本发明进一步详细说明。
图 4示出本发明一个实施例的片上***,该 SOC能将至少一个管脚 分时复用为第一接口模式或第二接口模式,该 SOC包括:第一接口电路、 第二接口电路、 第一管脚及第二管脚, 其中,
所述第一接口电路包括第一双向焊垫单元、 以及第一接口模式的第 一信号接口单元, 第一双向焊垫单元的输出侧端口与所述第一管脚连 接;
所述第二接口电路包括第二双向焊垫单元、 以及第一接口模式的第 二信号接口单元, 所述第二信号接口单元经第二双向焊垫单元与所述第 二管脚连接;
所述第一接口电路还包括选择单元和所述第二接口模式的接口单 元, 所述选择单元用于分时选择所述第一信号接口单元的输出端或所述 第二接口模式的接口单元的输出端与所述第一双向垫焊单元的输入侧 端口连通。
在本发明中, 接口单元的输出端是指接口单元中连接双向垫焊单元 的连接端, 可以既包括信号输出单元的输出端, 也包括信号输入单元的 输入端; 双向垫焊单元的输入侧端口是指与芯片的内部电路连接的端 口, 输出侧端口是指与芯片的管脚连接的端口。
根据本发明的实施例,在一个 SOC的应用方案中,可以将管脚分时 复用为两种不同的接口模式,下面以将 SOC管脚分时复用为 GPIO接口 模式或 I2C总线接口模式为例进行详细说明。
由于 I2C总线接口需要使用两个 SOC管脚也就是传输 SDA信号的 管脚和传输 SCL的管脚来实现, 而 GPIO接口使用一个 SOC管脚就可 以实现,所以本发明可以是将传输 SDA信号的管脚分时复用为 GPIO接 口, 也可以将传输 SCL信号的管脚分时复用为 GPIO接口。
参考图 5, 本发明的片上***包括第一接口电路、 第二接口电路、 与第一接口电路连接的第一管脚、 以及与第二接口电路连接的第二管 脚。
在本发明的第一实施例的片上***中, 第一接口电路和第二接口电 路都具有如图 6和图 7所示的结构,第一、第二接口电路每一个均包括: 双向 PAD单元 10、 第一选择器 110和第二选择器 111、 GPIO输出 使能单元 12、 第一管脚模式选择单元 11和第二管脚模式选择单元 13、 I2C总线输出单元 14、 GPIO信号输入单元 15、 I2C总线输入单元 16、 GPIO信号输出单元 17及 I2C总线接口管脚上拉电阻使能单元 18和反 向器 19。 其中, 在第一接口电路中, I2C总线输出单元 14为 SDA信号 输出单元, I2C总线输入单元 16为 SDA信号输入单元; 在第二接口电 路中, I2C总线输出单元为 SCL信号输出单元, I2C总线输入单元 16为 SCL信号输入单元。 其中, 双向 PAD单元 10包括第一端口 24、 第二端 口 25、 第三端口 26、 第四端口 27及第五端口 28, 其中第一端口至第四 端口为输入侧端口, 第五端口为输出侧端口。
其中, GPIO输出使能单元 12的输出端与第一选择器 110的一个输 入端连接, I2C总线输出单元 14的输出端经反向器 19反向后与第一选 择器 110的另一个输入端连接,第一选择器 110的输出端与双向 PAD单 元 10的第二端口 25连接, 控制端与第一管脚模式选择单元 11连接;
GPIO信号输出单元 17的输出端与第二选择器 111的一个输入端连 接, 第二选择器 111的另一个输入端接地, 第二选择器 111的输出端与 双向 PAD单元 10的第三端口 26连接,控制端与第二管脚模式选择单元 13连接; I2C总线输入单元 16的输入端和 GPIO信号输入单元 15的输入端 均与双向 PAD单元 10的第四端口 27连接;
I2C总线接口管脚上拉电阻使能单元 18的输出端与双向 PAD单元 10的第一端口 24连接。
双向 PDA单元 10还包括緩沖器 20、 三态緩沖器 21、 上拉电阻 22、 以及开关 23; 緩沖器 20的输入端与第五端口 28连接, 输出端与第四端 口 27连接; 三态緩沖器 21的输入端与第三端口 26连接, 控制端与第 二端口 25连接, 输出端与第五端口 28连接; 上拉电阻 22的一端与第 五端口 28连接, 另一端与开关 23的输出端连接; 开关 23的输入端与 电源连接, 控制端与第一端口 24连接; 第五端口 28与作为 SOC的 I2C 总线接口中的 SCL或 /和 SDA、 或者作为 GPIO模式的管脚连接。
I2C总线接口管脚上拉电阻使能单元 18用于开关单元 23闭合或断 开。
双向 PAD单元为管脚配置相应的 I2C总线模式时,上拉电阻起作用, 即与电源连通, 当为管脚配置相应的 GPIO模式时, 使上拉电阻不起作 用, 也就是将上拉电阻与电源断开。
将管脚配置为 I2C总线接口模式使用时, I2C总线接口管脚上拉电 阻使能单元 18输出信号使开关 23闭合, 将上拉电阻 23连接到电源, 从而使上拉电阻 22将第五端口 28的电平拉高, 第一管脚模式选择单元 11输出信号控制第一选择器 110通过反相器 19输出信号, 第二管脚模 式选择单元 13输出信号控制第二选择器 111输出接地信号。在这一模式 下, 当 I2C总线输出单元 14输出高电平时, 第二端口 25为低电平, 三 态緩沖器 21被阻止, 第五端口 28被上拉电阻 22拉高为高电平, 这样 管脚也输出高电平; 当 I2C总线输出单元 14输出低电平时, 第二端口 25为高电平, 三态緩沖器 21将第二选择器 111输出的接地信号送到第 五端口 28, 这样管脚也输出低电平, 从而实现 I2C的输出功能。 此外, 管脚的输入信号可以通过緩沖器 20输入到 I2C输入单元 16, 实现 I2C 的输入功能。
将管脚作为 GPIO接口使用时, I2C总线接口管脚上拉电阻使能单 元 18输出信号使开关 23断开, 第一管脚模式选择单元 11输出信号控 制第一选择器 110输出 GPIO输出使能单元 12的输出信号,第二管脚模 式选择单元 13输出信号控制第二选择器 111输出 GPIO输出单元 17的 输出信号。 在这一模式下, 当 GPIO输出使能单元 12输出高电平时, 第 二端口 25为高电平, 三态緩沖器 21将第二选择器 111输出的 GPIO信 号输出单元 17的输出信号送到第五端口 28, 使管脚输出 GPIO输出单 元 17的输出信号,从而实现 GPO功能; 当 GPIO输出使能单元 14输出 低电平时, 第二端口 25为低电平, 三态緩沖器 21被阻止, 管脚的输入 信号可以通过緩沖器 20输入到 GPIO信号输入单元 15, 实现 GPI功能。
在本发明实施例中, I2C总线接口管脚上拉电阻使能单元 18、 GPIO 输出使能单元 12、 I2C总线输出单元 14、 GPIO信号输出单元 17、 I2C 总线输入单元 16、 GPIO信号输出单元 17、 第一管脚模式选择单元 11、 以及第二管脚模式选择单元 13 可以是采用寄存器实现, 各个单元的输 入信号可以是由 SOC的其他内部电路提供。
例如, 在具体实现时, I2C总线接口管脚上拉电阻使能单元 18、 第 一管脚模式选择单元 11、 第二管脚模式选择单元 13所输出的控制信号 可以是由 SOC内的微处理器提供。
表 1为双向 PAD单元 10的逻辑真值表。
Figure imgf000009_0001
0 1 0 输出低电平 逻辑与 28相同 GPO
0 1 1 输出高电平 逻辑与 28相同 GPO
1 0 0 上拉高电平 逻辑与 28相同 I2C总线接口
1 0 1 上拉高电平 逻辑与 28相同 应用中应避免
1 1 0 输出低电平 逻辑与 28相同 I2C总线接口
1 1 1 输出高电平 逻辑与 28相同 应用中应避免 表 1
在本发明第二实施例的片上***中, 第一接口电路具有如图 6和图 7所示的结构, 其中的 I2C总线输入单元 16为 SDA信号输入单元; I2C 总线输出单元为 SDA信号输出单元,而第二接口电路可以是常规的 I2C 总线接口电路,对应于 SCL信号。本实施例能够将第一管脚分时复用为 I2C总线接口模式或 GPIO接口模式。
在本发明第三实施例的片上***中, 第一接口电路具有如图 6和图 7所示的结构, 其中的 I2C总线输入单元 16为 SCL信号输入单元; I2C 总线输出单元为 SCL信号输出单元, 而第二接口电路可以是常规的 I2C 总线接口电路, 对应于 SDA信号。 本实施例同样能够将第一管脚分时 复用为 I2C总线接口模式或 GPIO接口模式。
本发明还提供实现管脚分时复用的方法的实施例。
本发明一实施例的实现管脚分时复用的方法能将片上*** SOC 的 至少一个管脚分时复用为第一接口模式或第二接口模式,其中所述 SOC 包括第一接口电路、 第一管脚、 第二接口电路及第二管脚; 所述第一接 口电路包括第一双向焊垫单元、 第一接口模式的第一信号接口单元以及 所述第二接口模式的接口单元; 所述第二接口电路包括第二双向焊垫单 元、 以及所述第一接口模式的第二信号接口单元, 所述方法包括:
分时选择所述第一信号接口单元的输出端或所述第二接口模式的 接口单元的输出端经所述第一双向垫焊单元与所述第一管脚连接。
可选的, 第一双向焊垫单元包括上拉电阻和开关单元, 该上拉电阻 的一端与所述第一管脚连接, 另一端通过所述开关单元与电源连接; 分 时选择所述第一信号接口单元的输入端或所述第二接口模式的接口单 元的输出端经所述第一双向垫焊单元与所述第一管脚连接包括分时执 行 SA、 SB其中之一:
SA、控制所述开关单元闭合, 并选择所述第一信号接口单元的输出 端通过所述第一双向垫焊单元与所述第一管脚连接;
SB、 控制所述开关单元断开, 并选择所述第二接口模式的接口单元 的输出端通过所述第一双向垫焊单元与所述第一管脚连接。
图 8 示出本发明第四实施例提供一种将具有 I2C 总线接口模式的 SOC管脚分时复用为 GPIO使用的方法的流程图, 本实施例的 SOC可 以具有本发明第一实施例的片上***的特征, 本实施例方法包括:
步骤 801、按照 SOC管脚作为 I2C总线接口使用的过程将对应 SDA 信号的管脚和对应 SCL信号的管脚配置为 I2C接口模式使用后,使这两 个管脚处于空闲状态, 即高电平状态;
步骤 802、按照 SOC管脚作为 GPIO使用的过程,将对应 SCL信号 的 SOC管脚配置成 GPIO接口模式, 并使该管脚输出低电平;
在具体配置时,可以按照使 GPIO信号输出单元输出低电平使 GPIO 输出使能单元使能(选择 GPO功能)、 使 I2C总线接口管脚上拉电阻非 使能(使上拉电阻与电源断开) 的顺序依次进行;
步骤 803、 按照 SOC管脚作为 GPIO使用的过程, 将对应 SDA信 号的 SOC管脚配置成 GPIO接口模式;
根据图 所示的 I2C总线协议时序图可以得知,在对应 SCL信号的 SOC管脚为低电平时,对应 SDA信号的 SOC管脚的高低电平变化不会 引起 I2C总线接口器件的误动作, 因此在对应 SCL信号的 SOC管脚为 低电平的过程中, 将对应 SDA信号的 SOC管脚配置成 GPIO接口模式 后,就可以在对应 SDA信号的管脚上进行 GPIO的信号传输,实现 GPIO 功能;
步骤 804、 对应 SDA信号的 SOC管脚作为 GPIO使用完成后, 按 照 SOC管脚作为 I2C总线接口使用的过程, 将其配置为 I2C接口模式, 并将对应 SCL信号的 SOC管脚配置为 I2C接口模式进行下一次 I2C总 线操作。
图 9 示出本发明第五实施例提供一种将具有 I2C 总线接口模式的 SOC管脚分时复用为 GPIO使用的方法的流程图, 本实施例的 SOC可 以具有本发明第一实施例的片上***的特征, 本实施例方法包括:
步骤 901、按照 SOC管脚作为 I2C总线接口使用的过程使对应 SDA 信号的 SOC管脚和对应 SCL信号的 SOC管脚配置为 I2C接口模式使用 后, 使这两个管脚处于空闲状态, 即高电平状态;
步骤 902、 按照 SOC管脚作为 GPIO使用的过程, 将对应 SDA信 号的 SOC管脚配置成 GPIO接口模式, 并使该管脚输出高电平;
在具体配置时, 可以按照使将 GPIO信号输出单元输出高电平、 将 GPIO输出使能单元 12使能(选择 GPO功能 )使 I2C总线接口管脚上 拉电阻使能单元 18使能(使上拉电阻与电源导通) 的顺序依次进行; 步骤 903、按照 SOC管脚作为 GPIO使用的过程,将对应 SCL信号 的 SOC管脚配置成 GPIO接口模式;
根据图 2所示的 I2C总线协议时序图可以得知, 在对应 SDA信号 的 SOC管脚为高电平时,对应 SCL信号的 SOC管脚的高低电平变化不 会引起 I2C总线接口器件的误动作, 因此在对应 SDA信号的 SOC管脚 为高电平的过程中, 将对应 SCL信号的 SOC管脚配置成 GPIO接口模 式后, 就可以在对应 SCL信号的管脚上进行 GPIO 的信号传输, 实现 GPIO功能;
步骤 904、对应 SCL信号的 SOC管脚作为 GPIO使用完成后,按照 SOC管脚作为 I2C总线接口使用的过程, 将其配置为 I2C接口模式, 并 将对应 SDA信号的 SOC管脚配置为 I2C总线接口模式,进行下一次 I2C 总线操作;
在本步骤中,将对应 SDA信号的 SOC管脚恢复为 I2C接口使用时, 可以按照使 I2C总线接口管脚上拉电阻使能单元 18使能(使上拉电阻 与电源连通)、 使 GPIO输出使能单元非使能(也就是输出低电平 )的顺 序依次进行。
在本发明管脚分时复用方法的另一实施例中, SOC可以具有本发明 第二实施例的片上***的特征, 本实施例方法包括:
将对应 SDA信号的管脚和对应 SCL信号的管脚作为 I2C接口模式 使用后, 使这两个管脚处于空闲状态, 即高电平状态;
使对应 SCL信号的 SOC管脚输出低电平;
按照 SOC管脚作为 GPIO使用的过程,将对应 SDA信号的 SOC管 脚配置成 GPIO接口模式, 实现 GPIO功能;
对应 SDA信号的 SOC管脚作为 GPIO使用完成后,按照 SOC管脚 作为 I2C总线接口使用的过程,将其配置为 I2C接口模式,并将对应 SCL 信号的 SOC管脚恢复为信号传输状态进行下一次 I2C总线操作。
在本发明管脚分时复用方法的再一实施例中, SOC可以具有本发明 第三实施例的片上***的特征, 本实施例方法包括:
将对应 SDA信号的管脚和对应 SCL信号的管脚作为 I2C接口模式 使用后, 使这两个管脚处于空闲状态, 即高电平状态;
使对应 SDA信号的管脚输出高电平; 按照 SOC管脚作为 GPIO使用的过程, 将对应 SCL信号的 SOC管 脚配置成 GPIO接口模式, 实现 GPIO功能;
对应 SCL信号的 SOC管脚作为 GPIO使用完成后, 按照 SOC管脚 作为 I2C总线接口使用的过程,将其配置为 I2C接口模式,并将对应 SDA 信号的 SOC管脚恢复为 I2C信号传输状态进行下一次 I2C总线操作。
I2C总线接口的数据传输虽然也可能会影响 GPIO的误动作, 但是 由于 GPIO通常在 SOC中用作外部存储设备的片选信号、显示设备的使 能信号等, 所以其必须和其他多个信号共同配合才能引起相应 GPIO的 外部设备误动作, 所以引起误操作的可能性不大, 本发明不再讨论。
综上, 随着 SOC的功能越来越复杂, 其 SOC管脚的接口模式的数 量也越来越多,如何在实现同样的接口功能情况下尽可能减少 SOC管脚 的数目,对 SOC的设计也越来越重要。本发明提供的电路及方法就是使 一个 SOC管脚实现多种接口模式,在不同的时间实现不同接口模式的功 能, 以达到减少 SOC管脚数目的目的, 使得 SOC更小封装成为可能, 从而使 SOC的设计更为筒易和方便。
因此, 本发明提供的电路及方法不仅有效降低了生产成本和提高生 产良率, 而且可以提供更加便捷的 SOC及其应用。
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进 行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施 例而已, 并不用于限制本发明, 凡在本发明的精神和原则之内, 所做的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种片上***, 其特征在于, 所述片上***能将至少一个管脚 分时复用为第一接口模式或第二接口模式, 所述片上***包括第一接口 电路、 第一管脚、 第二接口电路及第二管脚;
所述第一接口电路包括第一双向焊垫单元、 以及第一接口模式的第 一信号接口单元, 第一双向焊垫单元的输出侧端口与所述第一管脚连 接;
所述第二接口电路包括第二双向焊垫单元、 以及第一接口模式的第 二信号接口单元, 所述第二信号接口单元经第二双向焊垫单元与所述第 二管脚连接;
所述第一接口电路还包括选择单元和所述第二接口模式的接口单 元, 所述选择单元用于分时选择所述第一信号接口单元的输出端或所述 第二接口模式的接口单元的输出端与所述第一双向垫焊单元的输入侧 端口连通。
2、 如权利要求 1 所述的片上***, 其特征在于, 所述第一双向焊 垫单元包括上拉电阻和开关单元, 该上拉电阻的一端与第一双向焊垫单 元的输出侧端口连接, 另一端通过所述开关单元与电源连接;
当所述开关单元闭合时, 所述选择单元选择所述第一信号接口单元 的输出端与所述第一双向焊垫单元的输入侧端口连通;
当所述开关单元断开时, 所述选择单元选择所述第二接口模式的接 口单元的输出端与所述第一双向垫焊单元的输入侧端口连通。
3、 如权利要求 2所述的片上***, 其特征在于, 所述第一信号接 口单元包括第一信号输出单元和第一信号输入单元; 所述第二接口模式 的接口单元包括第二接口模式输出使能单元、 第二接口模式信号输出单 元和第二接口模式信号输入单元; 所述选择单元包括第一选择器和第二 选择器; 所述第一双向焊垫单元的输入侧端口包括第二端口、 第三端口 和第四端口;
所述第二接口模式输出使能单元的输出端与第一选择器的一个输 入端连接, 所述第一信号输出单元的输出端经一个反向器与第一选择器 的另一个输入端连接, 第一选择器的输出端与所述第二端口连接; 所述第二接口模式信号输出单元的输出端与第二选择器的一个输 入端连接, 第二选择器的另一个输入端接地, 第二选择器的输出端与所 述第三端口连接;
所述第二接口模式信号输入单元的输入端和第一信号输入单元的 输入端分别与所述第四端口连接。
4、 如权利要求 3 所述的片上***, 其特征在于, 所述第一双向焊 垫单元包括緩沖器和三态緩沖器;
所述緩沖器的输入端与第一双向焊垫单元的输出侧端口连接, 输出 端与所述第四端口连接;
所述三态緩沖器的输入端与所述第三端口连接, 控制端与所述第二 端口连接, 输出端与所述第一双向焊垫单元的输出侧端口连接。
5、 如权利要求 1 所述的片上***, 其特征在于, 所述第二信号接 口单元经第二双向焊垫单元与所述第二管脚连接为:
所述第二信号接口单元的输出端与第二双向焊垫单元的输入侧端 口相连接, 所述第二双向焊垫单元的输出侧端口与所述第二管脚连接。
6、 如权利要求 1 所述的片上***, 其特征在于, 所述第二信号接 口单元与第二双向焊垫单元之间包括选择单元; 所述第二信号接口单元 经第二双向焊垫单元与所述第二管脚连接具体是:
所述第二信号接口单元的输出端与该选择单元的输入端连接, 该选 择单元的输出端与第二双向焊垫单元的输入侧端口相连接, 第二双向焊 垫单元的输出侧端口与所述第二管脚连接。
7、 如权利要求 2所述的片上***, 其特征在于, 所述第一接口模 式为内部集成电路总线模式, 第二接口模式为通用输入输出模式。
8、 如权利要求 7 所述的片上***, 其特征在于, 所述第一信号为 数据信号, 第二信号为时钟信号。
9、 如权利要求 7 所述的片上***, 其特征在于, 所述第一信号为 时钟信号, 第二信号为数据信号。
10、 一种实现管脚分时复用的方法, 能将片上***的至少一个管脚 分时复用为第一接口模式或第二接口模式, 其特征在于, 其中所述片上 ***包括第一接口电路、 第一管脚、 第二接口电路及第二管脚; 所述第 一接口电路包括第一双向焊垫单元、 第一接口模式的第一信号接口单元 以及所述第二接口模式的接口单元; 所述第二接口电路包括第二双向焊 垫单元、 以及所述第一接口模式的第二信号接口单元; 其中, 所述方法 包括:
分时选择所述第一信号接口单元的输出端或所述第二接口模式的 接口单元的输出端经所述第一双向垫焊单元与所述第一管脚连接。
11、 如权利要求 10 所述的方法, 其特征在于, 所述第一双向焊垫 单元包括上拉电阻和开关单元, 该上拉电阻的一端与所述第一管脚连 接, 另一端通过所述开关单元与电源连接;
所述分时选择所述第一信号接口单元的输入端或所述第二接口模 式的接口单元的输出端经所述第一双向垫焊单元与所述第一管脚连接 包括分时执行 SA、 SB其中之一:
SA、控制所述开关单元闭合, 并选择所述第一信号接口单元的输出 端经所述第一双向垫焊单元与所述第一管脚连接; SB、 控制所述开关单元断开, 并选择所述第二接口模式的接口单元 的输出端经所述第一双向垫焊单元与所述第一管脚连接。
12、 如权利要求 11 所述的方法, 其特征在于, 所述第一信号为数 据信号, 所述第二信号为时钟信号;
所述方法在控制所述开关单元闭合, 并选择所述第一信号接口单元 的输出端经所述第一双向垫焊单元与所述第一管脚连接之后包括: 使所述第二管脚输出低电平;
控制所述开关单元断开, 并选择所述第二接口模式的接口单元的输 出端经所述第一双向垫焊单元与所述第一管脚连接。
13、 如权利要求 11 所述的方法, 其特征在于, 所述第一信号为时 钟信号, 所述第二信号为数据信号;
所述方法在控制所述开关单元闭合, 并选择所述第一信号接口单元 的输出端经所述第一双向垫焊单元与所述第一管脚连接之后包括: 使所述第二管脚输出高电平;
控制所述开关单元断开, 并选择所述第二接口模式的接口单元的输 出端经所述第一双向垫焊单元与所述第一管脚连接。
14、 如权利要求 11 所述的方法, 其特征在于, 所述第一接口模式 为内部集成电路总线模式, 第二接口模式为通用输入输出模式。
PCT/CN2009/073005 2008-07-31 2009-07-30 一种实现管脚分时复用的方法及片上*** WO2010012236A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/000,485 US8232820B2 (en) 2008-07-31 2009-07-30 Method and SOC for implementing time division multiplex of pin
EP09802429.2A EP2309395B1 (en) 2008-07-31 2009-07-30 Method for realizing pins time share multiplexing and a system-on-a-chip

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810134905.2 2008-07-31
CN2008101349052A CN101329663B (zh) 2008-07-31 2008-07-31 一种实现片上***管脚分时复用的装置及方法

Publications (1)

Publication Number Publication Date
WO2010012236A1 true WO2010012236A1 (zh) 2010-02-04

Family

ID=40205477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073005 WO2010012236A1 (zh) 2008-07-31 2009-07-30 一种实现管脚分时复用的方法及片上***

Country Status (4)

Country Link
US (1) US8232820B2 (zh)
EP (1) EP2309395B1 (zh)
CN (1) CN101329663B (zh)
WO (1) WO2010012236A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072645A1 (en) * 2010-11-29 2012-06-07 Nxp B.V Communication bus with shared pin set
CN105223492A (zh) * 2015-10-23 2016-01-06 英特格灵芯片(天津)有限公司 一种芯片管脚配置***及其方法

Families Citing this family (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329663B (zh) * 2008-07-31 2010-04-21 炬力集成电路设计有限公司 一种实现片上***管脚分时复用的装置及方法
FR2939926B1 (fr) * 2008-12-17 2010-12-10 St Microelectronics Rousset Transmission sur bus i2c
US8667204B2 (en) * 2011-01-24 2014-03-04 Rpx Corporation Method to differentiate identical devices on a two-wire interface
US9904646B2 (en) * 2011-09-27 2018-02-27 Microchip Technology Incorporated Virtual general purpose input/output for a microcontroller
CN103136138B (zh) * 2011-11-24 2015-07-01 炬力集成电路设计有限公司 一种芯片、芯片调试方法以及芯片与外部设备通信的方法
CN102809930B (zh) * 2012-07-27 2015-09-02 三一重工股份有限公司 输入与输出复用端口及控制器
US9129072B2 (en) * 2012-10-15 2015-09-08 Qualcomm Incorporated Virtual GPIO
CN102937945B (zh) * 2012-10-24 2015-10-28 上海新储集成电路有限公司 一种上下堆叠多颗芯片时减少芯片间互连线的方法
CN103051322B (zh) * 2012-12-03 2015-12-23 广州润芯信息技术有限公司 一种芯片管脚复用电路
CN103853221B (zh) * 2012-12-06 2015-12-16 艾尔瓦特集成电路科技(天津)有限公司 禁止信号发生电路、集成电路及开关电源
CN103218336B (zh) * 2013-02-27 2016-04-06 珠海市杰理科技有限公司 Sd/mmc卡和iic从机的控制设备,其控制方法及控制***
TWI524751B (zh) * 2013-08-09 2016-03-01 晨星半導體股份有限公司 影像處理裝置、影像處理晶片及影像處理方法
CN103747335B (zh) * 2013-11-29 2017-03-08 乐视致新电子科技(天津)有限公司 一种智能电视模式的切换方法及装置
CN103699504B (zh) * 2013-12-30 2018-10-30 龙芯中科技术有限公司 Ddr物理层数据处理方法、装置及ddr物理层
CN104270127A (zh) * 2014-09-16 2015-01-07 四川和芯微电子股份有限公司 Soc芯片的管脚复用电路
CN104281067A (zh) * 2014-09-26 2015-01-14 金学成 一种电机控制与驱动芯片的管脚复用控制方法及装置
CN104270027B (zh) * 2014-10-23 2017-06-13 阳光电源股份有限公司 一种多电平逆变器pwm脉冲生成方法及装置
US10282340B2 (en) * 2014-12-17 2019-05-07 The Boeing Company Pin-configurable internal bus termination system
CN104714454B (zh) * 2015-03-12 2017-08-18 深圳市华星光电技术有限公司 一种芯片引脚复用的方法及***
US10146727B2 (en) * 2015-04-14 2018-12-04 Qualcomm Incorporated Enhanced virtual GPIO with multi-mode modulation
US9419618B1 (en) * 2015-05-28 2016-08-16 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Interface circuit and electronic system using the same
CN105024680A (zh) * 2015-07-20 2015-11-04 广东格兰仕集团有限公司 数据发送与按键检测复用的电路及其程序的处理方法
WO2017067842A1 (en) * 2015-10-19 2017-04-27 Philips Lighting Holding B.V. Control system for communicating with devices connected to a bus, and communication method
CN105717829A (zh) * 2015-11-16 2016-06-29 深圳市芯海科技有限公司 一种解决芯片引脚兼容问题的方法
SG10201702885PA (en) * 2016-04-20 2017-11-29 Lam Res Corp Apparatus for measuring condition of electroplating cell components and associated methods
CN106326156B (zh) * 2016-08-30 2024-04-05 西安翔腾微电子科技有限公司 基于自适应波特率的单端口通信处理电路和方法
CN107885681B (zh) * 2016-09-29 2020-10-23 比亚迪股份有限公司 管脚控制装置和方法
CN106603219A (zh) * 2016-11-25 2017-04-26 上海华虹集成电路有限责任公司 采集***运行功耗信息的装置
CN108664365A (zh) * 2017-03-27 2018-10-16 翌朵网络科技(上海)有限公司 一种电子设备外置附属配件的检测方法
JP6946773B2 (ja) * 2017-06-20 2021-10-06 セイコーエプソン株式会社 リアルタイムクロックモジュール、電子機器、移動体及び情報処理システム
CN108536637B (zh) * 2018-04-24 2021-07-02 杭州芯声智能科技有限公司 一种用于变送器调理芯片的通信***及方法
CN108712165B (zh) * 2018-05-31 2021-08-31 西安微电子技术研究所 一种用于异步交互接口监测的管脚复用电路
CN109067454B (zh) * 2018-06-29 2020-04-28 烽火通信科技股份有限公司 一种实现光模块支持保护倒换功能的方法及***
CN108959139A (zh) * 2018-07-11 2018-12-07 郑州云海信息技术有限公司 一种cpld管脚复用方法与装置
CN108983666B (zh) * 2018-07-27 2019-11-08 青岛海信日立空调***有限公司 控制电路及控制方法
CN109213716A (zh) * 2018-08-29 2019-01-15 郑州云海信息技术有限公司 一种i2c总线装置及一种i2c信号保护方法
CN109491946A (zh) * 2018-11-12 2019-03-19 郑州云海信息技术有限公司 一种用于i2c总线扩展的芯片和方法
CN109683836B (zh) * 2018-12-04 2022-04-19 珠海妙存科技有限公司 一种兼容多种显示协议硬件接口的驱动装置
CN111367203B (zh) * 2018-12-26 2021-12-28 圣邦微电子(北京)股份有限公司 控制芯片、驱动芯片及通信接口复用方法
CN110825667B (zh) * 2019-11-12 2022-03-11 飞腾信息技术有限公司 一种低速io设备控制器的设计方法和结构
CN111669035B (zh) * 2020-06-24 2022-02-15 上海晶丰明源半导体股份有限公司 多相功率处理电路及其控制方法
CN111766505B (zh) * 2020-06-30 2023-04-25 山东云海国创云计算装备产业创新中心有限公司 一种集成电路的扫描测试装置
CN112149368A (zh) * 2020-09-16 2020-12-29 北京中电华大电子设计有限责任公司 一种时钟自校准的电路及方法
CN112667548B (zh) * 2020-12-25 2022-08-12 海宁奕斯伟集成电路设计有限公司 支持双向二线制同步串行总线的通信接口、设备和方法
TWI761008B (zh) * 2020-12-30 2022-04-11 新唐科技股份有限公司 可編程串列輸入輸出控制器、操作系統及方法
CN113157634B (zh) * 2021-01-28 2023-07-04 厦门智多晶科技有限公司 一种基于fpga的管脚复用配置方法、装置及fpga
CN116917991A (zh) * 2021-05-20 2023-10-20 华为技术有限公司 存储器芯片及其控制方法
CN113630186B (zh) * 2021-09-15 2022-09-16 青岛海信宽带多媒体技术有限公司 一种光模块及通信方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503146A (zh) * 2002-11-25 2004-06-09 杭州士兰微电子股份有限公司 一种基于pci总线的管脚复用的方法
CN1979685A (zh) * 2005-12-06 2007-06-13 上海华虹Nec电子有限公司 测试内嵌多块非易失存储器的***整合芯片的方法
CN101329663A (zh) * 2008-07-31 2008-12-24 炬力集成电路设计有限公司 一种实现管脚分时复用的装置及方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57109025A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Interface controlling system
CA1183246A (en) * 1982-09-29 1985-02-26 Frank Paul Meijer Three-way data switch for use in a control system for an automated work station
US5254940A (en) * 1990-12-13 1993-10-19 Lsi Logic Corporation Testable embedded microprocessor and method of testing same
US5602848A (en) * 1995-06-05 1997-02-11 International Business Machines Corporation Multi-mode TDM interface circuit
US6243776B1 (en) * 1998-07-13 2001-06-05 International Business Machines Corporation Selectable differential or single-ended mode bus
US7096303B1 (en) * 2000-06-05 2006-08-22 Ati International Srl Method and apparatus for configuring an integrated bus
US6886052B2 (en) * 2002-01-16 2005-04-26 Elan Microelectronics Corporation Apparatus and method for automatically identifying between USB and PS/2 interface
TWM276282U (en) * 2004-12-03 2005-09-21 C One Technology Corp USB accessing device with mode-switching function
US7991296B1 (en) * 2006-11-10 2011-08-02 Marvell International Ltd. Method and apparatus for data frame synchronization and delineation
US7983308B1 (en) * 2006-11-28 2011-07-19 Marvell International Ltd. Method and apparatus for data frame synchronization
CN101145169A (zh) * 2007-06-14 2008-03-19 上海芯域微电子有限公司 SoC 集成电路自动布局设计中的模组、宏单元、标准单元同步布局的收敛方法和***

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503146A (zh) * 2002-11-25 2004-06-09 杭州士兰微电子股份有限公司 一种基于pci总线的管脚复用的方法
CN1979685A (zh) * 2005-12-06 2007-06-13 上海华虹Nec电子有限公司 测试内嵌多块非易失存储器的***整合芯片的方法
CN101329663A (zh) * 2008-07-31 2008-12-24 炬力集成电路设计有限公司 一种实现管脚分时复用的装置及方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2309395A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072645A1 (en) * 2010-11-29 2012-06-07 Nxp B.V Communication bus with shared pin set
CN105223492A (zh) * 2015-10-23 2016-01-06 英特格灵芯片(天津)有限公司 一种芯片管脚配置***及其方法

Also Published As

Publication number Publication date
CN101329663A (zh) 2008-12-24
US20110102053A1 (en) 2011-05-05
US8232820B2 (en) 2012-07-31
CN101329663B (zh) 2010-04-21
EP2309395A4 (en) 2011-08-31
EP2309395B1 (en) 2014-04-09
EP2309395A1 (en) 2011-04-13

Similar Documents

Publication Publication Date Title
WO2010012236A1 (zh) 一种实现管脚分时复用的方法及片上***
TWI733752B (zh) 用於旁波帶通訊之系統及方法、以及實體非暫時性計算機可讀媒體
JP5055489B2 (ja) 通信バス用双方向単線式割り込みライン
TWI406134B (zh) 管腳共享裝置及管腳共享方法
US20060106962A1 (en) USB On-The-Go implementation
US6339806B1 (en) Primary bus to secondary bus multiplexing for I2C and other serial buses
CN107341124A (zh) 用于支持SRIS的PCIe装置
EP1213657A2 (en) Dual interface serial bus
WO2012068997A1 (zh) 一种usb设备及其检测方法
US7755412B2 (en) Bi-directional level shifted interrupt control
AU2016230022A1 (en) Impedance-based flow control for a two-wire interface system with variable frame length
CN104834620A (zh) 串行外设接口spi总线电路、实现方法以及电子设备
CN106919529A (zh) 支持usb和uart串口兼容的无线通信模块设计方法
CN107643993B (zh) 总线转换接口、总线转换接口的工作方法和通信设备
TW201716924A (zh) 具有位元級確認及錯誤校正之串列介面
WO2007030978A1 (fr) Procede, appareil de reinitialisation et equipement pour effectuer la reinitialisation d'un dispositif maitre dans un bus i2c
CN114911743A (zh) Spi从机设备、spi主机设备和相关的通信方法
CN113626359A (zh) 一种服务器的闪存芯片的信号切换装置及方法
CN101163308B (zh) 智能平台管理控制器
US7418528B2 (en) Multimode, multiline data transfer system and method of operating the same
TWI528161B (zh) 資料傳輸系統以及資料傳輸方法
CN218413459U (zh) 采用双串行外设接口和io中断替换ssi多从机的通信装置
CN113342726B (zh) 一种i2c总线***、具有外加电压工作模式的芯片和方法
CN115344105A (zh) 接口复用的芯片和芯片的调试***
CN108874166B (zh) 一种基于fpga和ps2协议的kvm控制器

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: 09802429

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13000485

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2009802429

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE