# US 2004/0017772 A1 · Data transfer control device, electronic equipment, and data transfer control method

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

- Number: US 2004/0017772 A1
- Document ID: US20040017772A1
- Status: Published application
- Kind: A1
- Application number: 10/377,764
- Filed: 2003-03-04
- Published: 2004-01-29
- Earliest claimed: 2002-04-19
- Assignees: Seiko Epson Corporation
- Inventors: Nobuyuki Saito; Shinsuke Kubota; Hironobu Kazama
- Web page: https://patentgrep.com/patent/US20040017772A1

## CPC

- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Pipe regions PIPE0 to PIPEe (or endpoint regions) are allocated in a packet buffer, registers in which are set page sizes MPS0 to MPe (maximum packet size) and numbers of pages BP0 to BPe for the pipe regions are provided, and data is transferred between pipe regions and endpoints, region sizes RS0 to RSe of the pipe regions being set by the page sizes and numbers of pages. The page sizes and numbers of pages are set in registers that are used in common during both host operation and peripheral operation in accordance with the USB on-the-go standard. Transfer condition information such as transfer types TT0 to TTe is set in the registers, transactions with respect to the endpoints are automatically issued, and data is automatically transferred. Pipe regions are allocated in the packet buffer during host operation whereas endpoint regions are allocated during peripheral operation.

## Claims

### Claim 1

A data transfer control device for data transfer over a bus, the data transfer control device comprising:
a buffer controller which controls access to a packet buffer including a plurality of pipe regions, each of the pipe regions being allocated to corresponding one of a plurality of endpoints, and data to be transferred to or from corresponding one of the endpoints being stored in the pipe regions;
a register section which includes a plurality of registers, a page size and a number of pages of each of the pipe regions being set in corresponding one of the registers; and
a transfer controller which transfers data between each of the pipe regions and corresponding one of the endpoints, a region size of each of the pipe regions being set by the page size and the number of pages.

### Claim 2 (depends on 1)

The data transfer control device as defined by claim 1, the data transfer control device further comprising:
a state controller which controls a plurality of states including a state of a host operation, in which the data transfer control device operates as a role of a host, and a state of a peripheral operation, in which the data transfer control device operates as a role of a peripheral,
wherein the page size and the number of pages are set in common registers that are used in common during the host operation and during the peripheral operation.

### Claim 3 (depends on 2)

The data transfer control device as defined by claim 2,
wherein during the host operation, a plurality of pipe regions is allocated in the packet buffer, each of the pipe regions storing data to be transferred to or from corresponding one of the endpoints, and a page size and a number of pages of each of the pipe regions are set in corresponding one of the common registers, and
wherein during the peripheral operation, a plurality of endpoint regions are allocated in the packet buffer, each of the endpoint regions storing data to be transferred between each of the endpoint regions and the host, and a page size and a number of pages of each of the endpoint regions are stored in corresponding one of the common registers.

### Claim 4 (depends on 1)

The data transfer control device as defined by claim 1,
wherein the register section comprises a plurality of transfer condition registers, transfer condition information for data transfer between the pipe regions and the respective endpoints being set in the transfer condition registers, respectively, and
wherein the page size and the number of pages are set in the transfer condition registers as the transfer condition information.

### Claim 5 (depends on 4)

The data transfer control device as defined by claim 4,
wherein transfer type of a data transfer is set in the transfer condition registers as the transfer condition information.

### Claim 6 (depends on 4)

The data transfer control device as defined by claim 4,
wherein the transfer controller automatically issues a transaction for each of the endpoints, based on the transfer condition information that has been set in the transfer condition registers, and automatically transfers data between each of the pipe regions and corresponding one of the endpoints, a region size of each of the pipe regions being set by the page size and the number of pages.

### Claim 7 (depends on 1)

The data transfer control device as defined by claim 1,
wherein when the processing section sets the page size and the number of pages in the registers in the register section and instructs the allocation of pipe regions, the buffer controller allocates the pipe regions in the packet buffer, the region size of the pipe regions being set by the page size and the number of pages.

### Claim 8

A data transfer control device for data transfer over a bus; the data transfer control device comprising:
a buffer controller which controls access to a packet buffer having a plurality of endpoint regions, data to be transferred to or from a host being stored in the endpoint regions;
a register section which includes a plurality of registers, a page size and a number of pages of each of the endpoint regions being set in corresponding one of the registers; and
a transfer controller which transfers data between the host and each of the endpoint regions, a region size of each of the endpoint regions being set by the page size and the number of pages.

### Claim 9 (depends on 8)

The data transfer control device as defined by claim 8,
wherein the register section comprises a plurality of transfer condition registers, transfer condition information for data transfer between the endpoint regions and the host being set in the transfer condition register, respectively, and
wherein the page size and the number of pages are set in the transfer condition registers as the transfer condition information.

### Claim 10 (depends on 9)

The data transfer control device as defined by claim 9,
wherein transfer type of a data transfer is set in the transfer condition registers as the transfer condition information.

### Claim 11 (depends on 9)

The data transfer control device as defined by claim 9,
wherein the transfer controller transfers data between the endpoint regions and the host, based on the transfer condition information that has been set in the transfer condition registers.

### Claim 12 (depends on 8)

The data transfer control device as defined by claim 8,
wherein when the processing section sets the page size and the number of pages in the registers in the register section and instructs the allocation of the endpoint regions, the buffer controller allocates the endpoint regions in the packet buffer, the region size of the endpoint regions being set by the page size and the number of pages.

### Claim 13 (depends on 1)

The data transfer control device as defined by claim 1,
wherein the page size that is set in the register is a maximum page size.

### Claim 14 (depends on 8)

The data transfer control device as defined by claim 8,
wherein the page size that is set in the register is a maximum page size.

### Claim 15 (depends on 1)

The data transfer control device as defined by claim 1,
wherein data transfer conforming to the universal serial bus (USB) on-the-go (OTG) standard is performed.

### Claim 16 (depends on 8)

The data transfer control device as defined by claim 8,
wherein data transfer conforming to the universal serial bus (USB) on-the-go (OTG) standard is performed.

### Claim 17 (depends on 1)

Electronic equipment comprising:
the data transfer control device as defined by claim 1;
a device which performs output processing, fetch processing, or storage processing on data to be transferred through the data transfer control device and bus; and
a processing section which controls data transfer of the data transfer control device.

### Claim 18 (depends on 8)

Electronic equipment comprising:
the data transfer control device as defined by claim 8;
a device which performs output processing, fetch processing, or storage processing on data to be transferred through the data transfer control device and bus; and
a processing section which controls data transfer of the data transfer control device.

### Claim 19

A data transfer control method for data transfer through a bus, the method comprising:
allocating pipe regions in a packet buffer, data to be transferred between each of the pipe regions and corresponding one of endpoints being stored in the pipe regions;
setting a page size and a number of pages of each of the pipe regions in corresponding one register among a plurality of registers; and
transferring data between each of the pipe regions and corresponding one of the endpoints, a region size of each of the pipe regions being set by the page size and the number of pages.

### Claim 20

A data transfer control method for data transfer through a bus, the method comprising:
allocating endpoint regions to a packet buffer, data to be transferred between each of the endpoint regions and a host being stored in the endpoint regions;
setting a page size and a number of pages of each of the endpoint regions in corresponding one register among a plurality of registers; and
transferring data between the host and each of the endpoint regions, a region size of each of the endpoint regions being set by the page size and the number of pages.
