CY7C63310, CY7C638xx

19. USB/PS2 Transceiver

Although the USB transceiver has features to assist in interfacing to PS/2, these features are not controlled using these registers. The registers only control the USB interfacing features. PS/2 interfacing options are controlled by the D+ and D– GPIO Configuration register (See Table 14-2on page 34).

19.1 USB Transceiver Configuration

Table 19-1. USB Transceiver Configure Register (USBXCR) [0x74] [R/W]

Bit #

7

6

5

4

 

3

2

1

0

Field

USB Pull up

 

 

 

Reserved

 

 

USB Force State

 

Enable

 

 

 

 

 

 

 

 

Read/Write

R/W

 

R/W

Default

0

0

0

0

 

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Bit 7: USB Pull up Enable

0 = Disable the pull up resistor on D–

1 = Enable the pull up resistor on D–. This pull up is to VCC if the PHY’s internal voltage regulator is not enabled or to the internally generated 3.3V when VREG is enabled.

Bit [6:1]: Reserved

Bit 0: USB Force State

This bit allows the state of the USB IO pins D– and D+ to be forced to a state when USB is enabled.

0 = Disable USB Force State

1 = Enable USB Force State. Allows the D– and D+ pins to be controlled by P1.1 and P1.0 respectively when the USBIO is in USB mode. Refer to Table 14-2on page 34 for more information.

Note The USB transceiver has a dedicated 3.3V regulator for USB signalling purposes and to provide for the 1.5K D– pull up. Unlike the other 3.3V regulator, this regulator cannot be controlled or accessed by firmware. When the device is suspended, this regulator is disabled along with the bandgap (which provides the reference voltage to the regulator) and the D– line is pulled up to 5V through an alternate 6.5K resistor. During wake up following a suspend, the band gap and the regulator are switched on in any order. Under an extremely rare case when the device wakes up following a bus reset condition and the volt- age regulator and the band gap turn on in that particular order, there is possibility of a glitch or low pulse occurring on the D– line. The host can misinterpret this as a deattach condition. This condition, although rare, is avoided by keeping the bandgap circuitry enabled during sleep. This is achieved by setting the ‘No Buzz’ bit, bit[5] in the OSC_CR0 register. This is an issue only if the device is put to sleep during a bus reset condition.

20. USB Serial Interface Engine (SIE)

The SIE allows the microcontroller to communicate with the USB host at low speed data rates (1.5 Mbps). The SIE simplifies the interface between the microcontroller and the USB by incorpo- rating hardware that handles the following USB bus activity independently of the microcontroller.

Translate the encoded received data and format the data to be transmitted on the bus.

CRC checking and generation. Flag the microcontroller if errors exist during transmission.

Address checking. Ignore the transactions not addressed to the device.

Send appropriate ACK/NAK/STALL handshakes.

Token type identification (SETUP, IN, or OUT). Set the appropriate token bit after a valid token is received.

Place valid received data in the appropriate endpoint FIFOs.

Send and update the data toggle bit (Data1/0).

Bit stuffing and unstuffing.

Firmware is required to handle the rest of the USB interface with the following tasks:

Coordinate enumeration by decoding USB device requests.

Fill and empty the FIFOs.

Suspend and Resume coordination.

Verify and select Data toggle values.

Document 38-08035 Rev. *K

Page 57 of 83

[+] Feedback

Page 57
Image 57
Cypress CY7C638xx USB/PS2 Transceiver, USB Serial Interface Engine SIE, USB Transceiver Configuration, Bit 61 Reserved

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.