# US 2018/0024953 A1 · Peripheral interface chip and data transmission method thereof

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

- Number: US 2018/0024953 A1
- Document ID: US20180024953A1
- Status: Published application
- Kind: A1
- Application number: 15/293,307
- Filed: 2016-10-14
- Published: 2018-01-25
- Earliest claimed: 2016-07-20
- Assignees: ITE Tech. Inc.
- Inventors: Shang-Heng Lin; Jiun-Shiue Huang; Yu-Hsiang Lee
- Web page: https://patentgrep.com/patent/US20180024953A1

## CPC

- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/102: {where the program performs an interfacing function, e.g. device driver (G06F13/105 takes precedence; contention policies within device drivers G06F9/4881; scheduling within device drivers G06F9/52)}
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/4295: {using an embedded synchronisation}
- A61B 5/7475: {User input or interface means, e.g. keyboard, pointing device, joystick}
- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)

## Abstract

A peripheral interface chip and a data transmission method thereof are provided. The peripheral interface chip includes a switching circuit, a universal serial bus (USB) host controller, a keyboard controller and a microprocessor. The switching circuit receives a device identification transmitted from a USB device, and the device identification is used for determining whether the USB device is a keyboard device. When the USB device is the keyboard device, input data of the USB device is transmitted to a controller hub through a first USB interface, the switching circuit, the USB host controller, the microprocessor, the keyboard controller and a low pin count (LPC) interface.

## Claims

### Claim 1

A peripheral interface chip, comprising:
a switching circuit, coupled to a universal serial bus (USB) device through a first USB interface and coupled to a controller hub through a second USB interface;
a USB host controller, coupled to the switching circuit;
a keyboard controller, coupled to the controller hub through a low pin count (LPC) interface; and
a microprocessor, coupled to the USB host controller and the keyboard controller,
wherein the switching circuit receives a device identification transmitted from the USB device, the device identification is used for determining whether the USB device is a keyboard device, and when the USB device is the keyboard device, the input data of the USB device is transmitted to the controller hub through the first USB interface, the switching circuit, the USB host controller, the microprocessor, the keyboard controller and the LPC interface.

### Claim 2 (depends on 1)

The peripheral interface chip according to claim 1, wherein when the USB device is the keyboard device, the switching circuit transmits the input data of the USB device to the USB host controller, so as to store the input data in a register set of the USB host controller, and after confirming that the register set is used, the microprocessor writes the input data stored in the register set into a first register corresponding to a data port and a second register corresponding to an instruction port in the keyboard controller, such that the controller hub reads the input data from the first register and the second register.

### Claim 3 (depends on 2)

The peripheral interface chip according to claim 2, wherein an address of the first register is 0x60, and an address of the second register is 0x64.

### Claim 4 (depends on 2)

The peripheral interface chip according to claim 2, wherein the keyboard controller notifies the controller hub through an interrupt request.

### Claim 5 (depends on 1)

The peripheral interface chip according to claim 1, wherein when the USB device is not the keyboard device, the input data of the USB device is transmitted to the controller hub through the first USB interface, the switching circuit and the second USB interface.

### Claim 6 (depends on 1)

The peripheral interface chip according to claim 1, wherein the controller hub is a platform controller hub (PCH).

### Claim 7 (depends on 1)

The peripheral interface chip according to claim 1, wherein the microprocessor reads the device identification from the USB host controller and determines whether the USB device is the keyboard device, wherein the microprocessor provides a switching signal to the switching circuit according to whether the USB device is the keyboard device.

### Claim 8 (depends on 1)

The peripheral interface chip according to claim 1, further comprising: a comparison circuit, wherein the device identification is transmitted to the comparison circuit through the switching circuit and the USB host controller, and the comparison circuit determines whether the USB device is the keyboard device, wherein the comparison circuit provides a switching signal to the switching circuit according to whether the USB device is the keyboard device.

### Claim 9

A data transmission method of a peripheral interface chip, comprising:
receiving a device identification transmitted from a universal serial bus (USB) device by a switching circuit, wherein the device identification is used for determining whether the USB device is a keyboard device;
when the USB device is the keyboard device, transmitting the input data of the USB device to the controller hub through a first USB interface, the switching circuit, a USB host controller, a microprocessor, a keyboard controller and a low pin count (LPC) interface; and
when the USB device is not the keyboard device, transmitting the input data of the USB device to the controller hub through the first USB interface, the switching circuit and a second USB interface.

### Claim 10 (depends on 9)

The data transmission method of the peripheral interface chip according to claim 9, further comprising:
when the USB device is the keyboard device, transmitting the input data of the USB device to the USB host controller by the switching circuit, so as to store the input data in a register set of the USB host controller, writing the input data stored in the register set into a first register corresponding to a data port and a second register corresponding to an instruction port in the keyboard controller by the microprocessor after confirming that the register set is used, such that the controller hub reads the input data from the first register and the second register.

### Claim 11 (depends on 10)

The data transmission method of the peripheral interface chip according to claim 10, wherein an address of the first register is 0x60, and an address of the second register s 0x64.

### Claim 12 (depends on 10)

The data transmission method of the peripheral interface chip according to claim 10, wherein the keyboard controller notifies the controller hub through an interrupt request.

### Claim 13 (depends on 9)

The data transmission method of the peripheral interface chip according to claim 9, wherein the controller hub is a platform controller hub (PCH).

### Claim 14 (depends on 9)

The data transmission method of the peripheral interface chip according to claim 9, further comprising:
reading the device identification from the USB host controller by the microprocessor, and determines whether the USB device is the keyboard device by the microprocessor, wherein the microprocessor provides a switching signal to the switching circuit according to whether the USB device is the keyboard device.

### Claim 15 (depends on 9)

The data transmission method of the peripheral interface chip according to claim 9, further comprising:
transmitting the device identification to a comparison circuit by the USB host controller, and determining whether the USB device is the keyboard device by the comparison circuit, wherein the comparison circuit provides a switching signal to the switching circuit according to whether the USB device is the keyboard device.
