CY7C63310, CY7C638xx

Table 21-7. Endpoint 2 Data (EP2DATA) [0x60-0x67] [R/W]

Bit #

7

6

5

4

3

2

1

0

Field

 

 

 

Endpoint 2 Data Buffer [7:0]

 

 

 

Read/Write

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Default

Unknown

Unknown

Unknown

Unknown

Unknown

Unknown

Unknown

Unknown

 

 

 

 

 

 

 

 

 

The Endpoint 2 buffer is comprised of 8 bytes located at address 0x60 to 0x67.

The three data buffers are used to hold data for both IN and OUT transactions. Each data buffer is 8 bytes long. The reset values of the Endpoint Data Registers are unknown.

Unlike past enCoRe parts the USB data buffers are only accessible in the IO space of the processor.

22. USB Mode Tables

Mode

Encoding

SETUP

IN

OUT

Comments

DISABLE

0000

Ignore

Ignore

Ignore

Ignore all USB traffic to this endpoint. Used by Data and

 

 

 

 

 

Control endpoints.

NAK IN/OUT

0001

Accept

NAK

NAK

NAK IN and OUT token. Control endpoint only.

 

 

 

 

 

 

STATUS OUT ONLY

0010

Accept

STALL

Check

STALL IN and ACK zero byte OUT. Control endpoint

 

 

 

 

 

only.

STALL IN/OUT

0011

Accept

STALL

STALL

STALL IN and OUT token. Control endpoint only.

 

 

 

 

 

 

STATUS IN ONLY

0110

Accept

TX0 byte

STALL

STALL OUT and send zero byte data for IN token. Con-

 

 

 

 

 

trol endpoint only.

ACK OUT – STATUS

1011

Accept

TX0 byte

ACK

ACK the OUT token or send zero byte data for IN token.

IN

 

 

 

 

Control endpoint only.

ACK IN – STATUS

1111

Accept

TX Count

Check

Respond to IN data or Status OUT. Control endpoint

OUT

 

 

 

 

only.

 

 

 

 

 

 

NAK OUT

1000

Ignore

Ignore

NAK

Send NAK handshake to OUT token. Data endpoint

 

 

 

 

 

only.

ACK OUT (STALL = 0)

1001

Ignore

Ignore

ACK

This mode is changed by the SIE to mode 1000 on is-

 

 

 

 

 

suance of ACK handshake to an OUT. Data endpoint

 

 

 

 

 

only.

ACK OUT (STALL = 1)

1001

Ignore

Ignore

STALL

STALL the OUT transfer.

 

 

 

 

 

 

NAK IN

1100

Ignore

NAK

Ignore

Send NAK handshake for IN token. Data endpoint only.

 

 

 

 

 

 

ACK IN (STALL = 0)

1101

Ignore

TX Count

Ignore

This mode is changed by the SIE to mode 1100 after

 

 

 

 

 

receiving ACK handshake to an IN data. Data endpoint

 

 

 

 

 

only.

ACK IN (STALL = 1)

1101

Ignore

STALL

Ignore

STALL the IN transfer. Data endpoint only.

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

0101

Ignore

Ignore

Ignore

These modes are not supported by SIE. Firmware must

 

 

 

 

 

not use this mode in Control and Data endpoints.

Reserved

0111

Ignore

Ignore

Ignore

 

 

 

 

 

 

 

Reserved

1010

Ignore

Ignore

Ignore

 

 

 

 

 

 

 

Reserved

0100

Ignore

Ignore

Ignore

 

 

 

 

 

 

 

Reserved

1110

Ignore

Ignore

Ignore

 

 

 

 

 

 

 

22.1 Mode Column

The 'Mode' column contains the mnemonic names given to the modes of the endpoint. The mode of the endpoint is determined by the 4-bit binaries in the 'Encoding' column as discussed in the following sections. The Status IN and Status OUT represent the status IN or OUT stage of the control transfer.

22.2 Encoding Column

The contents of the 'Encoding' column represent the Mode Bits [3:0] of the Endpoint Mode Registers (Table 21-3on page 59 and Table 21-4on page 60). The endpoint modes determine how the SIE responds to different tokens that the host sends to the endpoints. For example, if the Mode Bits [3:0] of the Endpoint 0 Mode Register are set to '0001', which is NAK IN/OUT mode, the SIE sends an ACK handshake in response to SETUP tokens and NAK any IN or OUT tokens.

Document 38-08035 Rev. *K

Page 61 of 83

[+] Feedback

Page 61
Image 61
Cypress CY7C638xx, CY7C63310 manual USB Mode Tables, Mode Column, Encoding Column, Endpoint 2 Data EP2DATA 0x60-0x67 R/W

CY7C638xx, CY7C63310 specifications

The Cypress CY7C63310 and CY7C638xx series are advanced USB microcontrollers designed for various applications requiring reliable performance and flexibility. These chips are notable for their integration of several key technologies, enabling developers to create innovative electronic designs effortlessly.

The CY7C63310 is a part of the Cypress USB microcontroller family that boasts a fully integrated 8051-compatible microprocessor core. This architecture allows for efficient execution of high-level programming languages like C, enhancing code development efforts. The microcontroller supports USB 2.0 full-speed operation, allowing for high data transfer rates of up to 12 Mbps, essential for applications involving data communication.

One of the standout features of the CY7C63310 is its programmable GPIO (General-Purpose Input/Output) pins, which provide developers with the versatility to configure these pins as inputs, outputs, or alternate functions. This flexibility is particularly advantageous in applications where custom interfaces are essential, such as human-machine interfaces, sensor control, and USB peripherals.

Moreover, the CY7C638xx series presents an even broader array of features. These devices typically support various memory configurations, enabling designers to select from different on-chip RAM and flash memory options. This variety empowers projects requiring a mix of program and data storage capabilities, all while ensuring that performance remains optimal.

Both the CY7C63310 and CY7C638xx series leverage Cypress's EZ-USB technology, which simplifies the process of USB interface implementation. The EZ-USB architecture minimizes the effort associated with USB protocol complexity, allowing developers to focus on the core functionality of their applications.

These microcontrollers also incorporate features such as low-power operation, making them ideal for battery-operated devices. With various power management modes, designers can optimize energy consumption according to the specific needs of their applications.

In terms of connectivity, these chips support multiple interface standards, including SPI, I2C, and UART. These capabilities ensure that developers can easily interface with other components and systems, enhancing the overall utility of the microcontroller.

In summary, the Cypress CY7C63310 and CY7C638xx microcontrollers stand out for their robust features, including integrated USB functionality, flexible GPIO options, and support for various communication protocols. These attributes make them suitable for a wide range of applications, from consumer electronics to industrial automation, making them an excellent choice for developers seeking reliable and adaptable microcontroller solutions.