# US 2015/0145560 A1 · Integrated device with auto configuration

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0145560 A1
- Document ID: US20150145560A1
- Status: Published application
- Kind: A1
- Application number: 14/506,071
- Filed: 2014-10-03
- Published: 2015-05-28
- Earliest claimed: 2013-10-07
- Assignees: Microchip Technology Incorporated
- Inventors: Atish Ghosh
- Web page: https://patentgrep.com/patent/US20150145560A1

## CPC

- H03K 19/0002: {Multistate logic (H03K19/02 takes precedence)}
- G06F 13/4068: {Electrical coupling}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for controlling a configuration in an integrated circuit device with at least one controllable input/output port having a data output driver, a data input driver, a controllable pull-up resistor, a controllable pull-down resistor, each connected with an external pin of the integrated circuit device, has the steps of: enabling only the pull-up resistor and reading the associated input through the data input driver as a first bit; enabling only the pull-down resistor and reading the associated input through the data input driver as a second bit; tri-stating the first port and reading the associated input through the data input driver as another bit; encoding a value from the read bits; and determining a firmware operation form the encoded value.

## Claims

### Claim 1

Method for controlling a configuration in an integrated circuit device comprising at least one controllable input/output port having a data output driver, a data input driver, a controllable pull-up resistor, a controllable pull-down resistor, each connected with an external pin of the integrated circuit device, the method comprising;
enabling only the pull-up resistor and reading the associated input through the data input driver as a first bit;
enabling only the pull-down resistor and reading the associated input through the data input driver as a second bit;
tri-stating the first port and reading the associated input through the data input driver as another bit;
encoding a value from the read bits; and
determining a firmware operation form the encoded value.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising
disabling the pull-up and pull-down resistors and
driving the first port with a logic ‘0’ and reading the associated input through the data input driver as a third bit;
driving the first port with a logic ‘1’ and reading the associated input through the data input driver as a fourth bit.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising accessing an external peripheral device connected with the at least one controllable input/output port to verify its presence.

### Claim 4 (depends on 2)

The method according to claim 2, further comprising accessing an external peripheral device connected with the at least one controllable input/output port to verify its presence.

### Claim 5 (depends on 1)

The method according to claim 1, wherein an external pull-up resistor is connected with the external pin.

### Claim 6 (depends on 1)

The method according to claim 1, wherein an external pull-down resistor is connected with the external pin.

### Claim 7 (depends on 2)

The method according to claim 2, wherein an external pull-up resistor is connected with the external pin.

### Claim 8 (depends on 2)

The method according to claim 2, wherein an external pull-down resistor is connected with the external pin.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the steps are repeated for each port.

### Claim 10 (depends on 2)

The method according to claim 2, wherein the steps are repeated for each port.

### Claim 11 (depends on 2)

The method according to claim 2, wherein for encoding six values, the external pin is connected with one of a 200 k Ohm pull-down or pull up resistor, a 10k Ohm pull-down or pull up resistor, a 10 Ohm or 100 Ohm pull-up or pull-down resistor.

### Claim 12

An integrated circuit device comprising:
at least one controllable input/output port having a data output driver, a data input driver, a controllable pull-up resistor, a controllable pull-down resistor, each connected with an external pin of the integrated circuit device,
a digital processor coupled with the at least one controllable input/output port and configured to:
enable only the pull-up resistor and read the associated input through the data input driver as a first bit;
enable only the pull-down resistor and read the associated input through the data input driver as a second bit;
tri-state the first port and read the associated input through the data input driver as another bit;
encode a value from the read bits; and
determine a firmware operation form the encoded value.

### Claim 13 (depends on 12)

The integrated circuit device according to claim 12, wherein the digital processor is further configured to:
disable the pull-up and pull-down resistors and
drive the first port with a logic ‘0’ and read the associated input through the data input driver as a third bit;
drive the first port with a logic ‘1’ and read the associated input through the data input driver as a fourth bit.

### Claim 14 (depends on 12)

A system comprising the integrated circuit device according to claim 12, further comprising an external peripheral connected with input/output port, wherein the digital processor is configured to access the external peripheral device connected with the at least one controllable input/output port to verify its presence.

### Claim 15 (depends on 13)

A system comprising the integrated circuit device according to claim 13, further comprising an external peripheral connected with input/output port, wherein the digital processor is configured to access the external peripheral device connected with the at least one controllable input/output port to verify its presence.

### Claim 16 (depends on 12)

A system comprising the integrated circuit device according to claim 12, further comprising an external pull-up resistor connected with the external pin.

### Claim 17 (depends on 12)

A system comprising the integrated circuit device according to claim 12, further comprising an external pull-down resistor connected with the external pin.

### Claim 18 (depends on 13)

A system comprising the integrated circuit device according to claim 13, further comprising an external pull-up resistor connected with the external pin.

### Claim 19 (depends on 13)

A system comprising the integrated circuit device according to claim 13, further comprising an external pull-down resistor connected with the external pin.

### Claim 20 (depends on 12)

The integrated circuit device according to claim 12, wherein the digital processor repeats configuration for a plurality of external input/output ports.

### Claim 21 (depends on 13)

The integrated circuit device according to claim 13, wherein the digital processor repeats configuration for a plurality of external input/output ports.

### Claim 22 (depends on 13)

A system comprising an integrated circuit device according to claim 13, wherein for encoding six values, the external pin is connected with one of a 200 k Ohm pull-down or pull up resistor, a 10 k Ohm pull-down or pull up resistor, a 10 Ohm or 100 Ohm pull-up or pull-down resistor.

### Claim 23 (depends on 12)

The integrated circuit device according to claim 12, wherein the integrated circuit device is a microcontroller.

### Claim 24 (depends on 23)

A universal serial bus (USB) hub comprising a microcontroller according to claim 23, further comprising:
a plurality of input/output pins, each being configurable to support one of a plurality of functions.

### Claim 25 (depends on 24)

The USB hub according to claim 24, comprising at least one power port switches, each being directly connected with one of the plurality of input/output pins, wherein the connection is free of pull-up and pull-down resistors.

### Claim 26 (depends on 24)

The USB hub according to claim 24, comprising at least one peripheral device comprising a serial interface connected with configurable associated input/output ports of the microcontroller, wherein each connection comprises a pull-up resistor.

### Claim 27 (depends on 24)

The USB hub according to claim 24, comprising at least one fuse coupled between a power supply and a power output of the USB hub, and a voltage divider associated with the at least one fuse coupled between the power output and ground, wherein a voltage dividing node of the voltage divider is connected with one input/output port of the microcontroller.
