Device, system and methods for a constant current mode in an input-output pad

WO2026206378A1PCT designated stage Publication Date: 2026-10-01MICROCHIP TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2025/045022
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-06-24
Filing Date
2025-09-05
Publication Date
2026-10-01

Smart Images

  • Figure US2025045022_01102026_PF_FP_ABST
    Figure US2025045022_01102026_PF_FP_ABST
Patent Text Reader

Abstract

A device may include an I / O pad, and the I / O pad may be coupled to an output driver, a current source and a current sink. In operation, the output driver may be disabled by an output driver enable signal and the current source may be enabled by a current source enable signal and may source a constant current to the I / O pad. In operation, the output driver may be disabled by the output driver enable signal and the current sink may be enabled by a current sink enable signal and may sink a constant current from the I / O pad.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] PCT Application

[0002] 68354.234136 / 25054W001

[0003] 1

[0004] DEVICE, SYSTEM AND METHODS FOR A CONSTANT CURRENT MODE IN AN INPUT-OUTPUT PAD

[0005] PRIORITY

[0006] This application claims priority to commonly owned US Provisional Patent Application 63 / 776,674 filed on March 24, 2025, the entire contents of which are hereby incorporated by reference for all purposes.

[0007] FIELD OF THE INVENTION

[0008] The present disclosure relates to pad structures in a semiconductor device, more specifically to a device, system, and method for a constant-current mode in an input-output (I / O) pad.

[0009] BACKGROUND

[0010] In a typical application, a microcontroller may produce a digital output drive at an I / O pad. This output may be a voltage output. There may be times where a current output is desired, such as when driving an LED. The intensity of the LED may be proportional to the current, not the forward voltage of the diode. Therefore it is preferable to drive LEDs with a current source as opposed to a voltage source. Other devices other than LEDs may benefit from a currentmode drive.

[0011] Providing reliable matched current sources between different I / O pads may present a challenging problem, as current mirrors and other current generating circuits do not provide reliable currents over long distances or driving heavy loads.

[0012] There is a need for devices and systems to provide a constant-current output in an I / O pad.

[0013] SUMMARY

[0014] The examples herein enable a device, system, and method for a constant-current mode in an input-output (I / O) pad.

[0015] According to one aspect, a device includes an output driver coupled to an I / O pad. The output driver is to be enabled by an output driver enable signal to drive a voltage onto the I / O pad. The device includes a current source coupled to the I / O pad. The current source is to be enabled by a current source enable signal to supply a current to the I / O pad. The device includes a current sink coupled to the I / O pad, wherein the current sink is to be enabled by a current sink enable signal to sink a current from the I / O pad.PCT Application

[0016] 68354.234136 / 25054W001

[0017] 2

[0018] Aspects as in the preceding paragraph provide a device including a pull-up resistor coupled to the I / O pad, wherein the pull-up resistor is to be enabled by a pull-up enable signal to selectively supply a voltage to the I / O pad.

[0019] Aspects as in one of the preceding two paragraphs provide a device, wherein the device is to be configured as one of a digital input, a digital output, a current source and a current sink.

[0020] Aspects as in one of the preceding three paragraphs provide a device, the device including a current source value register, wherein the value of the current supplied by the current source is to be based on a content of the current source value register.

[0021] Aspects as in one of the preceding four paragraphs provide a device, the device including a current sink value register, wherein the value of current sink by the current sink is to be based on a content of the current sink value register.

[0022] Aspects as in one of the preceding five paragraphs provide a device, the device including an input driver coupled to the I / O pad and a Schmitt trigger coupled to the I / O pad.

[0023] Aspects as in the preceding paragraph provide a device, the device including a hysteresis register, wherein the Schmitt trigger is to provide hysteresis to a signal at the I / O pad, an amount of hysteresis to be based on a content of the hysteresis register.

[0024] Aspects as in one of the preceding two paragraphs provide a device, the device including an internal circuit, wherein the input driver is to provide an input signal to the internal circuit.

[0025] Aspects as in one of the preceding seven paragraphs provide a device, wherein the current source comprises a current mirror.

[0026] Aspects as in one of the preceding eight paragraphs provide a device, wherein the current sink comprises a current mirror.

[0027] Aspects as in one of the preceding nine paragraphs provide a device, wherein the current source comprises an amplifier.

[0028] Aspects as in one of the preceding ten paragraphs provide a device, wherein the current sink comprises an amplifier.

[0029] According to another aspect, a system includes a microcontroller comprising an I / O circuit. The I / O circuit includes an output driver coupled to an I / O pad. The I / O pad includes a current source coupled to the I / O pad, the current source to be enabled based onPCT Application

[0030] 68354.234136 / 25054W001

[0031] 3

[0032] a current source enable signal. The I / O pad includes a current sink coupled to the I / O pad, the current sink to be enabled based on a current sink enable signal. The I / O pad includes a load coupled to the I / O pad. The microcontroller is to configure the I / O pad and to enable the current source and the current sink based on a predetermined condition.

[0033] Aspects as in the preceding paragraphs provide for a system, wherein the load comprises at least one light emitting diode (LED), and the current source is to provide a current to drive the LED.

[0034] Aspects as in the preceding two paragraphs provide for a system, wherein the load comprises a communication receiver and the microcontroller is to enable the current source and the current sink in a predetermined sequence to transmit one or more data bits to the communication receiver.

[0035] Aspects as in the preceding three paragraphs provide for a system, the system comprising an internal circuit and comprising an input driver coupled to the I / O pad, wherein the input driver is to provide an input signal to the internal circuit.

[0036] Aspects as in the preceding four paragraphs provide for a system, the system comprising a Schmitt trigger coupled to the I / O pad, wherein the Schmitt trigger is to provide hysteresis to a signal at the I / O pad.

[0037] Aspects as in the preceding five paragraphs provide for a system, the system comprising a hysteresis register, wherein the Schmitt trigger is to provide an amount of hysteresis to a signal at the I / O pad based on a content of the hysteresis register.

[0038] According to another aspect, a method includes steps of: disabling an output driver, an input driver and a Schmitt trigger, wherein the output driver, the input driver and the Schmitt trigger part of an I / O pad, and enabling one of a current source and a current sink, wherein the current source and current sink are part of the I / O pad. Enabling the current source is to source current at the I / O pad. Enabling the current sink it to sink current at the I / O pad.

[0039] Aspects as in the preceding paragraph provide for a method, wherein the enabling one of a current source and a current sink comprises enabling one of a current source enable signal and a current sink enable signal.

[0040] BRIEF DESCRIPTION OF THE DRAWINGS FIGURE 1 illustrates one of various examples of a device for a constant current output in an I / O pad.PCT Application

[0041] 68354.234136 / 25054W001

[0042] 4

[0043] FIGURE 2 illustrates one of various examples of a system for a constant current output in an I / O circuit.

[0044] FIGURE 3 illustrates a method of providing a DC current source and current sink at an I / O pad.

[0045] DETAILED DESCRIPTION FIGURE 1 illustrates one of various examples of a device 100 for a constant current output in an I / O pad. Device 100 may be an I / O pad. Portions of device 100 may be in an I / O pad, and portions of device 100 may be outside the I / O pad.

[0046] Device 100 may include pull-up enable signal 110. Pull-up enable signal 110 may be input to pull-up device 112. When pull-up enable signal 110 is in the active state, pull-up enable signal 110 may drive a voltage at the gate of pull-up device 112 to enable pull-up device 112 and pull-up device 112 may drive a voltage onto I / O pad 190. Resistor 113 may control the current pulled through pull-up device 112 when pull-up device 112 is enabled.

[0047] Device 100 may include output driver 170. Output driver 170 may drive a voltage onto I / O pad 190 based on one or more inputs to output driver 170. Output driver 170 is illustrated as an amplifier, but this is not intended to be limiting.

[0048] As one of various examples, data output enable signal 120 may be input to output driver 170. Data output enable signal 120 may enable data output from output driver 170. As one of various examples, driver enable signal 122 may be input to output driver 170. Driver enable signal 122 may enable output driver 170. As one of various examples, data output signal 124 may be input to output driver 170. Data output signal 124 may control a data output level from output driver 170. A logic high level at data output signal 124 may enable a high voltage output at I / O pad 190, and a logic low level at data output signal 124 may enable a low voltage output at I / O pad 190. As one of various examples, slew enable signal 126 may be input to output driver 170. Slew enable signal 126 may enable one or more slew rates in output driver 170 and may control a rate of change of voltage at I / O pad 190.

[0049] Device 100 may include high voltage analog input signal 130. High voltage analog input signal 130 may provide a connection between I / O pad 190 and internal circuitry when device 100 is configured as an input pad. A voltage on I / O pad 190 may be coupled to high voltage analog input 130 via isolation resistor 138. High voltage analog input 130 may be coupled to Transistor-Transistor Logic (TTL) driver 131. TTL driver 131 may be enabled by TTL enable signal 133. An output of TTL driver 131 may be coupled to external circuitry viaPCT Application

[0050] 68354.234136 / 25054W001

[0051] 5

[0052] TTL output 135. The example illustrated in FIGURE 1 utilizes a TTL-level driver, but this is not intended to be limiting. Other logic levels may be output at TTL output 135. TTL driver 131 may be termed an input driver.

[0053] High voltage analog input 130 may be coupled to Schmitt trigger 141. Schmitt trigger 141 may be enabled by Schmitt trigger enable signal 140. Schmitt trigger 141 may implement hysteresis at high voltage analog input 130. An output of Schmitt trigger 141 may be coupled to external circuitry via Schmitt trigger output 145. Hysteresis register 142 may control an amount of hysteresis to be provided by Schmitt trigger 141.

[0054] Device 100 may include current source 151. Current source 151 may be coupled to supply 125. Current source enable signal 150 may enable current source 151. Current source 151 may be based on a current mirror, a bandgap reference, a voltage reference across an impedance, or another type of current source not specifically mentioned. In operation, a microcontroller or software algorithm may assert current source enable signal 150. Current source 151 may be activated and may source a Direct Current (DC) current at I / O pad 190. I / O pad 190 may be coupled to external circuits not shown in FIGURE 1.

[0055] Current source 151 may include current source value register 152. Current source value register 152 may control the level of current sourced by current source 151. In one of various examples, current source value register 152 may be a register setting and may provide 16 different current settings. In one of various examples, the contents of current source value register 152 may provide current source values from a minimum of 0.5mA to a maximum of 8mA in 0.5mA steps.

[0056] Device 100 may include current sink 161. Current sink 161 may be coupled to ground connection 195. Current sink enable signal 160 may enable current sink 161. Current sink 161 may be based on a current mirror, a bandgap reference, a voltage reference across an impedance, or another type of current sink not specifically mentioned. In operation, a microcontroller or software algorithm may assert current sink enable signal 160.

[0057] Current sink 161 may be activated and may sink a Direct Current (DC) current from I / O pad 190. Current sink 161 may include current sink value register 162. Current sink value register 162 may control the level of current sunk by current sink 161. In one of various examples, current sink value register 162 may be a register setting and may provide 16 different current sink settings. In one of various examples, current sink value register 162 may provide current sink values from a minimum of 0.5mA to a maximum of 8mA in 0.5mA steps.PCT Application

[0058] 68354.234136 / 25054W001

[0059] 6

[0060] I / O pad 190 may be coupled to external circuits not shown in FIGURE 1. In one of various examples, I / O pad 190 may be coupled to one or more light emitting diodes (LEDs), and current source 151 may drive the LEDs. Current source value register 152 may control the brightness of LEDs driven by current source 151.

[0061] In operation, output driver 170 may be disabled by data output enable signal 120 and driver enable signal 122. With the output driver disabled, current source 151 may be enabled by current source enable signal 152 and device 100 may operate as a current source, or current sink 161 may be enabled by current sink enable signal 162 and device 100 may operate as a current sink. With the output driver disabled, and neither of current source 151 and current sink 161 are enabled, device 100 may operate as in input and high voltage analog input 130, TTL output 135 and Schmitt trigger output 145 may be coupled to internal circuitry. Current source 151 may provide a constant value of current. Current sink 161 may sink a constant value of current.

[0062] FIGURE 2 illustrates one of various examples of a system 200 to enable a constant current output.

[0063] System 200 may include device 201. Device 201 may be a semiconductor device manufactured on a single silicon substrate. Device 201 may be a microcontroller including a central processing unit (CPU), one or more peripherals, and other components not explicitly shown.

[0064] Device 201 may include pull-up enable signal 210. Pull-up enable signal 210 may be input to pull-up device 212. When pull-up enable signal 210 is in the active state, pull-up enable signal 210 may drive a voltage at the gate of pull-up device 212 to enable pull-up device 212 and pull-up device 212 may drive a voltage onto I / O pad 290. Resistor 213 may control the current pulled through pull-up device 212 when pull-up device 212 is enabled. I / O pad 290 may be coupled to a load. The load may be an external circuit.

[0065] System 200 may include output driver . Output driver 270 may drive a voltage onto I / O pad 290 based on one or more inputs to output driver 270. Output driver 270 is illustrated as an amplifier, but this is not intended to be limiting.

[0066] As one of various examples, data output enable signal 220 may be input to output driver 270. Data output enable signal 220 may enable data output from output driver 270. As one of various examples, driver enable signal 222 may be input to output driver 270. Driver enable signal 222 may enable output driver 270. As one of various examples, data output signal 224PCT Application

[0067] 68354.234136 / 25054W001

[0068] 7

[0069] may be input to output driver 270. Data output signal 224 may control a data output level from output driver 270. A logic high level at data output signal 224 may enable a high voltage output at I / O pad 290, and a logic low level at data output signal 224 may enable a low voltage output at I / O pad 290. As one of various examples, slew enable signal 226 may be input to output driver 270. Slew enable signal 226 may enable one or more slew rates in output driver 270 and may control a rate of change of voltage at I / O pad 290.

[0070] System 200 may include high voltage analog input signal 230. High voltage analog input signal 230 may provide a connection between I / O pad 290 and internal circuitry 299 when system 200 is configured as an input pad. A voltage on I / O pad 290 may be coupled to high voltage analog input 230 via isolation resistor 238. High voltage analog input 230 may be coupled to Transistor-Transistor Logic (TTL) driver 231. TTL driver 231 may be enabled by TTL enable signal 233. An output of TTL driver 231 may be coupled to external circuitry via TTL output 235. The example illustrated in FIGURE 1 utilizes a TTL-level driver, but this is not intended to be limiting. Other logic levels may be output at TTL output 235, and TTL output 235 may enable system 200 to operate as a digital input pad. TTL driver 231 may be termed an input driver.

[0071] High voltage analog input 230 may be coupled to Schmitt trigger 241. Schmitt trigger 241 may be enabled by Schmitt trigger enable signal 240. Schmitt trigger 241 may implement hysteresis at high voltage analog input 230. An output of Schmitt trigger 241 may, via level shifter 242, be coupled to external circuitry via Schmitt trigger output 245.

[0072] High voltage analog input 230 may be coupled to internal circuitry 299. Internal circuitry 299 may include level shifters or other circuitry to change the voltage of high voltage analog input 230 and to otherwise interface high voltage analog input 230 to internal circuitry 299. TTL output 235 may be coupled to internal circuitry 299. Internal circuitry 299 may include level shifters or other circuitry to change the voltage of TTL output 235 and to otherwise interface TTL output 235 to internal circuitry 299. Schmitt trigger output 245 may be coupled to internal circuitry 299. Internal circuitry 299 may include level shifters or other circuitry to change the voltage of Schmitt trigger output 245 and to otherwise interface Schmitt trigger output 245 to internal circuitry 299. Internal circuitry 299 may be termed an internal circuit.

[0073] System 200 may include current source 251. Current source 251 may be coupled to supply 225. Current source enable signal 250 may enable current source 251. Current sourcePCT Application

[0074] 68354.234136 / 25054W001

[0075] 8

[0076] 251 may be based on a current mirror, a bandgap reference, a voltage reference across an impedance, or another type of current source not specifically mentioned. In operation, a microcontroller or software algorithm may assert current source enable signal 250. Current source 251 may be activated and may source a Direct Current (DC) current at I / O pad 290. Current source 251 may include current source value register 252. Current source value register 252 may control the level of current sourced by current source 251. I / O pad 290 may be coupled to external circuits not shown in FIGURE 2.

[0077] System 200 may include current sink 261. Current sink 261 may be coupled to ground connection 295. Current sink enable signal 260 may enable current sink 261. Current sink 261 may be based on a current mirror, a bandgap reference, a voltage reference across an impedance, or another type of current sink not specifically mentioned. In operation, a microcontroller or software algorithm may assert current sink enable signal 260. Current sink 261 may be activated and may sink a Direct Current (DC) current from I / O pad 290. Current sink 261 may include current sink value register 262. Current sink value register 262 may control the level of current sunk by current sink 261.

[0078] I / O pad 290 may be coupled to one or more load devices . In one of various examples, I / O pad 290 may be coupled to one or more light-emitting diodes (LEDs), and current source 251 may drive the LEDs. Current source value register 252 may control the brightness of LEDs driven by current source 251. In another example, I / O pad 290 may be coupled to a communication receiver, the current source and current sink to transmit one or more data bits to the communication receiver. The current source and current sink may be enabled and disabled in sequence, based on a predetermined condition, to transmit one or more data bits to the communication receiver.

[0079] FIGURE 2 illustrates a system 200 which may enable an I / O pad 290 which may support the following interfaces to internal circuitry 299: (1) a high voltage input, via high voltage analog input 230, (2) a low-voltage input, via TTL output 235, and (3) a Schmitt trigger, via Schmitt trigger output 245. System 200 may additionally support current source 251 and current sink 261 and may drive LEDs and other loads with a constant current. In this manner, system 200 may include I / O pad 290 which may be configured as an input, an output, a current source or a current sink.

[0080] In operation, output driver 270 may be disabled by data output enable signal 220 and driver enable signal 222. With output driver 270 disabled, current source 251 may be enabledPCT Application

[0081] 68354.234136 / 25054W001

[0082] 9

[0083] by current source enable signal 252 and system 200 may operate as a current source, or current sink 261 may be enabled by current sink enable signal 262 and system 200 may operate as a current sink. With output driver 270 disabled, and neither of current source 251 and current sink 261 enabled, system 200 may operate as in input and high voltage analog input 230, TTL output 235 and Schmitt trigger output 245 may drive one or more circuits within internal circuitry 299.

[0084] FIGURE 3 illustrates a method of providing a DC current source and current sink at an I / O pad. The I / O pad may be coupled to an external circuit.

[0085] At operation 310, an output driver within the I / O pad may be disabled. The output driver may be output driver 170 as described and illustrated in reference to FIGURE 1. The output driver may be output driver 270 as described and illustrated in reference to FIGURE 2. Additionally, an input driver and a Schmitt trigger may be disabled.

[0086] At operation 320, one of a current source and a current sink may be enabled. The current source may be current source 151 as described and illustrated in reference to FIGURE 1. The current sink may be current sink 160 as described and illustrated in reference to FIGURE 1.

[0087] At operation 330, the I / O pad may source or sink current at an external circuit based on operation 320.

Claims

PCT Application68354.234136 / 25054W00110CLAIMS1. A device comprising:an output driver coupled to an Input-Output (I / O) pad, wherein the output driver is to be enabled by an output driver enable signal to drive a voltage onto the I / O pad;a current source coupled to the I / O pad, wherein the current source is to be enabled by a current source enable signal to supply a current to the I / O pad; anda current sink coupled to the I / O pad, wherein the current sink is to be enabled by a current sink enable signal to sink a current from the I / O pad.

2. The device as claimed in claim 1, comprising a pull-up resistor coupled to the I / O pad, wherein the pull-up resistor is to be enabled by a pull-up enable signal to selectively supply a voltage to the I / O pad.

3. The device as claimed in one of claims 1 to 2, wherein the device is to be configured as one of a digital input, a digital output, a current source and a current sink.

4. The device as claimed in claim 1, comprising a current source value register, wherein the value of the current supplied by the current source is to be based on a content of the current source value register.

5. The device as claimed in claim 1, comprising a current sink value register, wherein the value of current sunk by the current sink is to be based on a content of the current sink value register.

6. The device as claimed in claim 1, comprising:an input driver coupled to the I / O pad;a Schmitt trigger coupled to the I / O pad;PCT Application68354.234136 / 25054W00111a hysteresis register, wherein the Schmitt trigger is to provide hysteresis to a signal at the I / O pad, an amount of hysteresis to be based on a content of the hysteresis register; andan internal circuit, wherein the input driver is to provide an input signal to the internal circuit.

7. The device as claimed in one of claims 2, 4, 5, or 6, wherein the current source comprises a current mirror.

8. The device as claimed in one of claims 2, 4, 5, or 6, wherein the current sink comprises a current mirror.

9. The device as claimed in one of claims 2, 4, 5, or 6, wherein the current source comprises an amplifier.

10. The device as claimed in one of claims 2, 4, 5, or 6, wherein the current sink comprises an amplifier.

11. A system comprising:a microcontroller comprising an I / O circuit, the I / O circuit comprising:an output driver coupled to an I / O pad;a current source coupled to the I / O pad, the current source to be enabled based on a current source enable signal;a current sink coupled to the I / O pad, the current sink to be enabled based on a current sink enable signal; anda load coupled to the I / O pad,wherein the microcontroller is to configure the I / O pad and to enable the current source and the current sink based on a predetermined condition.

12. The system as claimed in claim 11, wherein the load comprises at least onePCT Application68354.234136 / 25054W00112light emitting diode (LED), and the current source is to provide a current to drive the LED.

13. The system as claimed in one of claims 11 to 12, wherein the load comprises a communication receiver and the microcontroller is to enable the current source and the current sink in a predetermined sequence to transmit one or more data bits to the communication receiver.

14. The system as claimed in one of claims 11 to 12, comprising an internal circuit and comprising an input driver coupled to the I / O pad, wherein the input driver is to provide an input signal to the internal circuit.

15. The system as claimed in one of claims 11 to 12, comprising a Schmitt trigger coupled to the I / O pad, wherein the Schmitt trigger is to provide hysteresis to a signal at the I / O pad.

16. The system as claimed in one of claims 11 to 12, comprising a hysteresis register, wherein the Schmitt trigger is to provide an amount of hysteresis to a signal at the I / O pad based on a content of the hysteresis register.

17. A method comprising:disabling an output driver, an input driver and a Schmitt trigger, wherein the output driver, the input driver and the Schmitt trigger part of an I / O pad; andenabling one of a current source and a current sink, wherein the current source and current sink are part of the I / O pad,wherein enabling the current source is to source current at an external circuit, andwherein enabling the current sink is to sink current at the external circuit.PCT Application68354.234136 / 25054W0011318. The method as claimed in claim 17, wherein the enabling one of a current source and a current sink comprises enabling one of a current source enable signal and a current sink enable signal.