CY7C63101A-QC [CYPRESS]

Universal Serial Bus Microcontroller; 通用串行总线的微控制器
CY7C63101A-QC
型号: CY7C63101A-QC
厂家: CYPRESS    CYPRESS
描述:

Universal Serial Bus Microcontroller
通用串行总线的微控制器

微控制器
文件: 总31页 (文件大小:295K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
3000A  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
CY7C63000A  
CY7C63001A  
CY7C63100A  
CY7C63101A  
Universal Serial Bus Microcontroller  
Cypress Semiconductor Corporation  
Document #: 38-08026 Rev. **  
3901 North First Street  
San Jose  
CA 95134  
408-943-2600  
Revised June 3, 2002  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
TABLE OF CONTENTS  
1.0 FEATURES ......................................................................................................................................4  
2.0 FUNCTIONAL OVERVIEW ..............................................................................................................4  
3.0 PIN DEFINITIONS ............................................................................................................................6  
4.0 PIN DESCRIPTION ..........................................................................................................................6  
5.0 FUNCTIONAL DESCRIPTION .........................................................................................................7  
5.1 Memory Organization .....................................................................................................................7  
5.1.1 Program Memory Organization ............................................................................................................7  
5.1.2 Security Fuse Bit ...................................................................................................................................7  
5.1.3 Data Memory Organization ...................................................................................................................8  
5.2 I/O Register Summary ....................................................................................................................9  
5.3 Reset ................................................................................................................................................9  
5.3.1 Power-On Reset (POR) ........................................................................................................................10  
5.3.2 Watch Dog Reset (WDR) .....................................................................................................................10  
5.3.3 USB Bus Reset ....................................................................................................................................10  
5.4 Instant-on Feature (Suspend Mode) ...........................................................................................10  
5.5 On-Chip Timer ...............................................................................................................................11  
5.6 General Purpose I/O Ports ...........................................................................................................12  
5.7 XTALIN/XTALOUT .........................................................................................................................13  
5.8 Interrupts .......................................................................................................................................14  
5.8.1 Interrupt Latency .................................................................................................................................15  
5.8.2 GPIO Interrupt ......................................................................................................................................15  
5.8.3 USB Interrupt .......................................................................................................................................16  
5.8.4 Timer Interrupt .....................................................................................................................................16  
5.8.5 Wake-Up Interrupt ...............................................................................................................................16  
5.9 USB Engine ...................................................................................................................................16  
5.9.1 USB Enumeration Process .................................................................................................................17  
5.9.2 Endpoint 0 ............................................................................................................................................17  
5.9.2.1 Endpoint 0 Receive ...................................................................................................................................... 17  
5.9.2.2 Endpoint 0 Transmit ..................................................................................................................................... 18  
5.9.3 Endpoint 1 ............................................................................................................................................19  
5.9.3.1 Endpoint 1 Transmit ..................................................................................................................................... 19  
5.9.4 USB Status and Control ......................................................................................................................19  
5.10 USB Physical Layer Characteristics .........................................................................................20  
5.10.1 Low-Speed Driver Characteristics ...................................................................................................20  
5.10.2 Receiver Characteristics ...................................................................................................................20  
5.11 External USB Pull-Up Resistor ..................................................................................................21  
5.12 Instruction Set Summary ...........................................................................................................21  
6.0 ABSOLUTE MAXIMUM RATINGS ................................................................................................22  
7.0 ELECTRICAL CHARACTERISTICS ..............................................................................................23  
8.0 SWITCHING CHARACTERISTICS ................................................................................................25  
9.0 ORDERING INFORMATION ..........................................................................................................27  
10.0 PACKAGE DIAGRAMS ...............................................................................................................28  
Document #: 38-08026 Rev. **  
Page 2 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
LIST OF FIGURES  
Figure 5-1. Program Memory Space .................................................................................................... 7  
Figure 5-2. Data Memory Space ........................................................................................................... 8  
Figure 5-4. Watch Dog Reset (WDR).................................................................................................. 10  
Figure 5-3. Status and Control Register (SCR - Address 0xFF) ......................................................10  
Figure 5-5. The Cext Register (Address 0x22) .................................................................................. 11  
Figure 5-6. Timer Register (Address 0x23)........................................................................................ 11  
Figure 5-7. Timer Block Diagram........................................................................................................ 11  
Figure 5-8. Port 0 Data Register (Address 0x00) .............................................................................. 12  
Figure 5-9. Port 1 Data Register (Address 0x01) .............................................................................. 12  
Figure 5-10. Block Diagram of an I/O Line......................................................................................... 12  
Figure 5-11. Port 0 Pull-up Register (Address 0x08)........................................................................ 13  
Figure 5-12. Port 1 Pull-up Register (Address 0x09)........................................................................ 13  
Figure 5-13. Port Isink Register for One GPIO Line.......................................................................... 13  
Figure 5-14. Clock Oscillator On-chip Circuit ................................................................................... 14  
Figure 5-16. Interrupt Controller Logic Block Diagram.................................................................... 14  
Figure 5-15. Global Interrupt Enable Register (GIER - Address 0x20)............................................ 14  
Figure 5-17. Port 0 Interrupt Enable Register (P0 IE - Address 0x04)............................................. 15  
Figure 5-18. Port 1 Interrupt Enable Register (P1 IE - Address 0x05)............................................. 15  
Figure 5-19. GPIO Interrupt Logic Block Diagram............................................................................16  
Figure 5-20. USB Device Address Register (USB DA - Address 0x12)...........................................17  
Figure 5-21. USB Endpoint 0 RX Register (Address 0x14) .............................................................. 17  
Figure 5-22. USB Endpoint 0 TX Configuration Register (Address 0x10) ...................................... 18  
Figure 5-23. USB Endpoint 1 TX Configuration Register (Address 0x11) ...................................... 19  
Figure 5-24. USB Status and Control Register (USB SCR - Address 0x13) ................................... 19  
Figure 5-25. Low-speed Driver Signal Waveforms ........................................................................... 20  
Figure 5-26. Differential Input Sensitivity Over Entire Common Mode Range............................... 20  
Figure 5-27. Application Showing 7.5kW±1% Pull-Up Resistor....................................................... 21  
Figure 5-28. Application Showing 1.5-kW±5% Pull-Up Resistor ..................................................... 21  
Figure 8-1. Clock Timing..................................................................................................................... 26  
Figure 8-2. USB Data Signal Timing and Voltage Levels .................................................................26  
Figure 8-3. Receiver Jitter Tolerance................................................................................................. 26  
Figure 8-4. Differential to EOP Transition Skew and EOP Width .................................................... 27  
Figure 8-5. Differential Data Jitter ...................................................................................................... 27  
LIST OF TABLES  
Table 5-1. I/O Register Summary .........................................................................................................9  
Table 5-2. Output Control Truth Table ..............................................................................................13  
Table 5-3. Interrupt Vector Assignments ..........................................................................................15  
Table 5-4. USB Engine Response to SETUP and OUT Transactions on Endpoint 0 ....................18  
Table 5-5. Instruction Set Map ...........................................................................................................21  
2
Document #: 38-08026 Rev. **  
Page 3 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
1.0  
Features  
• Low-cost solution for low-speed USB peripherals such as mouse, joystick, and gamepad  
• USB Specification Compliance  
— Conforms to USB 1.5 Mbps Specification, Version 1.1  
— Supports 1 device address and 2 endpoints (1 control endpoint and 1 data endpoint)  
• 8-bit RISC microcontroller  
— Harvard architecture  
— 6-MHz external ceramic resonator  
— 12-MHz internal operation  
— USB optimized instruction set  
• Internal memory  
— 128 bytes of RAM  
— 2 Kbytes of EPROM (CY7C63000A, CY7C63100A)  
— 4 Kbytes of EPROM (CY7C63001A, CY7C63101A)  
• I/O ports  
— Integrated USB transceiver  
— Up to 16 Schmitt trigger I/O pins with internal pull-up  
— Up to 8 I/O pins with LED drive capability  
— Special purpose I/O mode supports optimization of photo transistor and LED in mouse application  
— Maskable Interrupts on all I/O pins  
• 8-bit free-running timer  
• Watch dog timer (WDT)  
• Internal power-on reset (POR)  
• Instant-On Now™ for Suspend and Periodic Wake-up Modes  
• Improved output drivers to reduce EMI  
• Operating voltage from 4.0V to 5.25 VDC  
• Operating temperature from 0 to 70 degree Celsius  
• Available in space saving and low cost 20-pin PDIP, 20-pin SOIC, 24-pin SOIC and 24-pin QSOP packages  
• Industry standard programmer support  
2.0  
Functional Overview  
The CY7C630/1XXA is a family of 8-bit RISC One Time Programmable (OTP) microcontrollers with a built-in 1.5-Mbps USB Serial  
Interface Engine (SIE). The microcontroller features 35 instructions that are optimized for USB applications. In addition, the  
microcontroller features 128 bytes of internal RAM and either 2 or 4 Kbytes of program memory space. The Cypress USB  
Controller accepts a 6-MHz ceramic resonator as its clock source. This clock signal is doubled within the chip to provide a 12-  
MHz clock for the microprocessor.  
The microcontroller features two ports of up to sixteen general purpose I/Os (GPIOs). Each GPIO pin can be used to generate  
an interrupt to the microcontroller. Additionally, all pins in Port 1 are equipped with programmable drivers strong enough to drive  
LEDs. The GPIO ports feature low EMI emissions as a result of controlled rise and fall times and unique output driver circuits.  
The Cypress microcontrollers have a range of GPIOs to fit various applications; the CY7C6300XA has twelve GPIOs and the  
CY7C6310XA has sixteen GPIOs. Notice that each part has eight low-currentports (Port 0) with the remaining ports (Port 1)  
being high-currentports.  
The 12-GPIO CY7C6300XA is available in 20-pin PDIP (-PC) and 20-pin SOIC (-SC) packages. The 26-GPIO CY7C6310XA is  
available in 24-pin SOIC (-SC) and 24-pin QSOP (-QC) packages.  
Document #: 38-08026 Rev. **  
Page 4 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
Logic Block Diagram  
6-MHz  
CERAMIC RESONATOR  
R/CEXT  
OSC  
INSTANT-ON  
RAM  
128-Byte  
8-bit  
Timer  
NOW™  
8-bit  
RISC  
core  
EPROM  
2/4 KByte  
Power-  
on Reset  
USB  
Engine  
PORT  
PORT  
Interrupt  
Controller  
0
1
Watch  
Dog  
Timer  
D+,D–  
P0.0P0.7  
P1.0P1.7  
VCC/VSS  
PinConfigurations (Top View)  
20-pin  
24-pin  
SOIC/QSOP  
DIP/SOIC  
P0.4  
P0.5  
P0.6  
P0.0  
P0.1  
P0.2  
P0.3  
P1.0  
P1.2  
P1.4  
P1.6  
1
2
3
4
5
6
7
8
24  
23  
22  
21  
20  
19  
18  
17  
16  
15  
P0.4  
P0.0  
P0.1  
P0.2  
P0.3  
P1.0  
P1.2  
20  
19  
18  
17  
16  
15  
14  
13  
1
2
3
4
5
6
7
8
9
P0.5  
P0.6  
P0.7  
P1.1  
P1.3  
D+  
P0.7  
P1.1  
P1.3  
P1.5  
P1.7  
D+  
V
SS  
D–  
V
PP  
V
12  
11  
CEXT  
XTALIN 10  
V
9
CC  
SS  
XTALOUT  
D–  
V
10  
11  
12  
PP  
V
14  
13  
CC  
CEXT  
XTALIN  
XTALOUT  
Document #: 38-08026 Rev. **  
Page 5 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
3.0  
Pin Definitions  
Name  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I
20-Pin  
1
24-pin  
1
Description  
Port 0 bit 0  
P0.0  
P0.1  
P0.2  
P0.3  
P0.4  
P0.5  
P0.6  
P0.7  
P1.0  
P1.1  
P1.2  
P1.3  
P1.4  
P1.5  
P1.6  
P1.7  
XTALIN  
2
2
Port 0 bit 1  
3
3
Port 0 bit 2  
4
4
Port 0 bit 3  
20  
19  
18  
17  
5
24  
23  
22  
21  
5
Port 0 bit 4  
Port 0 bit 5  
Port 0 bit 6  
Port 0 bit 7  
Port 1 bit 0  
16  
6
20  
6
Port 1 bit 1  
Port 1 bit 2  
15  
19  
7
Port 1 bit 3  
Port 1 bit 4  
18  
8
Port 1 bit 5  
Port 1 bit 6  
17  
12  
13  
11  
16  
15  
10  
14  
9
Port 1 bit 7  
10  
11  
9
Ceramic resonator in  
Ceramic resonator out  
XTALOUT  
CEXT  
D+  
O
I/O  
I/O  
I/O  
Connects to external R/C timing circuit for optional suspendwakeup  
14  
13  
8
USB data+  
D–  
USB data–  
VPP  
Programming voltage supply, tie to ground during normal operation  
VCC  
12  
7
Voltage supply  
Ground  
VSS  
4.0  
Pin Description  
Name  
Description  
VCC  
1 pin. Connects to the USB power source or to a nominal 5V power supply. Actual VCC range can vary  
between 4.0V and 5.25V.  
VSS  
VPP  
1 pin. Connects to ground.  
1 pin. Used in programming the on-chip EPROM. This pin should be tied to ground during normal operations.  
1 pin. Input from an external ceramic resonator.  
XTALIN  
XTALOUT  
1 pin. Return path for the ceramic resonator (leave unconnected if driving XTALIN from an external oscilla-  
tor).  
P0.0P0.7,  
P1.0P1.7  
16 pins. P0.0P0.7 are the 8 I/O lines in Port 0. P1.0P1.7 are the 8 I/O lines in Port 1. P1.0P1.3 are  
supported in the CY7C6300XA. All I/O pins include bit-programmable pull-up resistors. However, the sink  
current of each pin can be programmed to one of sixteen levels. Besides functioning as GPIO lines, each  
pin can be programmed as an interrupt input. The interrupt is edge-triggered, with programmable polarity.  
D+, D–  
2 pins. Bidirectional USB data lines. An external pull-up resistor must be connected between the D pin and  
VCC to select low-speed USB operation.  
CEXT  
1pin. Open-drain output with Schmitt trigger input. The input is connected to a rising edge-triggered interrupt.  
CEXT may be connected to an external RC to generate a wake-up from Suspend mode. See Section 5.4.  
Document #: 38-08026 Rev. **  
Page 6 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
5.0  
Functional Description  
The Cypress CY7C630/1XXA USB microcontrollers are optimized for human-interface computer peripherals such as a mouse,  
joystick, and gamepad. These USB microcontrollers conform to the low-speed (1.5 Mbps) requirements of the USB Specification  
version 1.1. Each microcontroller is a self-contained unit with: a USB interface engine, USB transceivers, an 8-bit RISC micro-  
controller, a clock oscillator, timers, and program memory. Each microcontroller supports one USB device address and two  
endpoints.  
The 6-MHz clock is doubled to 12 MHz to drive the microcontroller. A RISC architecture with 35 instructions provides the best  
balance between performance and product cost.  
5.1  
Memory Organization  
The memory in the USB Controller is organized into user program memory in EPROM space and data memory in SRAM space.  
5.1.1  
Program Memory Organization  
The program space of the CY7C63000A and CY7C63100A is 2 Kbytes each. For applications requiring more program space,  
the CY7C63001A and CY7C63101A each offer 4 Kbytes of EPROM. The program memory space is divided into two functional  
groups: interrupt vectors and program code.  
The interrupt vectors occupy the first 16 bytes of the program space. Each vector is 2 bytes long. After a reset, the Program  
Counter points to location zero of the program space. Figure 5-1 shows the organization of the Program Memory Space.  
5.1.2  
Security Fuse Bit  
The Cypress USB microcontroller includes a security fuse bit. When the security fuse is programmed, the EPROM program  
memory outputs 0xFF to the EPROM programmer, thus protecting the users code.  
after reset  
PC  
Address  
0x0000  
Reset Vector  
0x0002  
0x0004  
0x0006  
0x0008  
0x000A  
0x000C  
0x000E  
0x0010  
Interrupt Vector - 128 µs  
Interrupt Vector - 1.024 ms  
Interrupt Vector - USB Endpoint 0  
Interrupt Vector - USB Endpoint 1  
Reserved  
Interrupt Vector - GPIO  
Interrupt Vector - Cext  
On-chip program Memory  
0x07FF  
2K ROM (CY7C63000A, CY7C63100A)  
0x0FFF  
4K ROM (CY7C63001A, CY7C63101A)  
Figure 5-1. Program Memory Space  
Document #: 38-08026 Rev. **  
Page 7 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
5.1.3  
Data Memory Organization  
The USB Controller includes 128 bytes of data RAM. The upper 16 bytes of the data memory are used as USB FIFOs for Endpoint  
0 and Endpoint 1. Each endpoint is associated with an 8-byte FIFO.  
The USB controller includes two pointers into data RAM, the Program Stack Pointer (PSP) and the Data Stack Pointer (DSP).  
The value of PSP after reset is 0x00. The PSP increments by 2 whenever a CALL instruction is executed and it decrements by  
2 whenever a RET instruction is used.  
The DSP pre-decrements by 1 whenever a PUSH instruction is executed and it increments by 1 after a POP instruction is used.  
The default value of the DSP after reset is 0x00, which would cause the first PUSH to write into USB FIFO space for Endpoint 1.  
Therefore, the DSP should be mapped to a location such as 0x70 before initiating any data stack operations. Refer to the Reset  
section for more information about DSP remapping after reset. Figure 5-2 illustrates the Data Memory Space.  
after reset  
DSP  
Address  
0x00  
PSP  
0x02  
0x04  
user  
firmware  
0x70  
USB FIFO - Endpoint 0  
USB FIFO - Endpoint 1  
DSP  
0x77  
0x78  
0x7F  
Figure 5-2. Data Memory Space  
Document #: 38-08026 Rev. **  
Page 8 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
5.2  
I/O Register Summary  
I/O registers are accessed via the I/O Read (IORD) and I/O Write (IOWR, IOWX) instructions.  
Table 5-1. I/O Register Summary  
Register Name  
P0 Data  
I/O Address  
0x00  
Read/Write  
R/W  
R/W  
W
Function  
General purpose I/O Port (low current)  
General purpose I/O Port (high current)  
Interrupt enable for Port 0 pins  
Interrupt enable for Port 1 pins  
Pull-up resistor control for Port 0 pins  
Pull-up resistor control for Port 1 pins  
USB Endpoint 0 transmit configuration  
USB Endpoint 1 transmit configuration  
USB device address  
Page  
12  
12  
15  
15  
13  
13  
18  
19  
17  
19  
17  
14  
10  
11  
P1 Data  
P0 IE  
0x01  
0x04  
P1 IE  
0x05  
W
P0 Pull-up  
P1 Pull-up  
EP0 TX Config.  
EP1 TX Config.  
USB DA  
USB SCR  
EP0 RX Status  
GIE  
0x08  
W
0x09  
W
0x10  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
W
0x11  
0x12  
0x13  
USB status and control  
0x14  
USB Endpoint 0 receive status  
Global Interrupt Enable  
0x20  
WDT  
0x21  
Watch Dog Timer clear  
Cext  
0x22  
R/W  
R
External R-C Timing circuit control  
Free-running timer  
Timer  
0x23  
11  
P0 Isink  
0x30-0x37  
W
Input sink current control for Port 0 pins. There is  
one Isink register for each pin. Address of the Isink  
register for pin 0 is located at 0x30 and the register  
address for pin 7 is located at 0x37.  
13  
P1 Isink  
SCR  
0x38-0x3F  
0xFF  
W
Input sink current control for Port 1 pins. There is  
one Isink register for each pin. Address of the Isink  
register for pin 0 is located at 0x38 and the register  
address for pin 7 is located at 0x3F. The number  
of Port 1 pins depends on package type.  
13  
10  
R/W  
Processor status and control register  
5.3  
Reset  
The USB Controller supports three types of resets. All registers are restored to their default states during a reset. The USB Device  
Address is set to 0 and all interrupts are disabled. In addition, the Program Stack Pointer (PSP) is set to 0x00 and the Data Stack  
Pointer (DSP) is set to 0x00. The user should set the DSP to a location such as 0x70 to reserve 16 bytes of USB FIFO space.  
The assembly instructions to do so are:  
MOV A, 70h  
; Move 70 hex into Accumulator, use 70 instead of 6F because the dsp is  
; always decremented by 1 before the data transfer of the PUSH instruction occurs  
; Move Accumulator value into dsp  
SWAP A, DSP  
The three reset types are:  
1. Power-On Reset (POR)  
2. Watch Dog Reset (WDR)  
3. USB Reset  
The occurrence of a reset is recorded in the Status and Control Register located at I/O address 0xFF (Figure 5-3). Reading and  
writing this register are supported by the IORD and IOWR instructions. Bits 1, 2, and 7 are reserved and must be written as zeros  
during a write. During a read, reserved bit positions should be ignored. Bits 4, 5, and 6 are used to record the occurrence of POR,  
USB, and WDR Reset respectively. The firmware can interrogate these bits to determine the cause of a reset. If a Watch Dog  
Reset occurs, firmware must clear the WDR bit (bit 6) in the Status and Control Register to re-enable the USB transmitter (please  
refer to the Watch Dog Reset section for further details). Bit 0, the Runcontrol, is set to 1 at POR. Clearing this bit stops the  
microcontroller (firmware normally should not clear this bit). Once this bit is set to LOW, only a reset can set this bit HIGH.  
The microcontroller resumes execution from ROM address 0x00 after a reset unless the Suspend bit (bit 3) of the Status and  
Control Register is set. Setting the Suspend bit stops the clock oscillator and the interrupt timers and powers down the microcon-  
Document #: 38-08026 Rev. **  
Page 9 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
troller. The detection of any USB activity, the occurrence of a GPIO Interrupt, or the occurrence of the Cext Interrupt terminates  
the suspend condition.  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
Reserved  
WDR  
USBR  
POR  
SUSPEND  
Reserved  
Reserved  
RUN  
R/W  
0
R/W  
0
R/W  
1
R/W  
0
R/W  
1
0
0
0
Figure 5-3. Status and Control Register (SCR - Address 0xFF)  
5.3.1  
Power-On Reset (POR)  
Power-On Reset (POR) occurs every time the power to the device is switched on. Bit 4 of the Status and Control Register is set  
to record this event (the register contents are set to 00011001 by the POR). The USB Controller is placed in suspended mode at  
the end of POR to conserve power (the clock oscillator, the timers, and the interrupt logic are turned off in suspend mode). After  
POR, only a non-idle USB Bus state terminates the suspend mode. The microcontroller then begins execution from ROM address  
0x00.  
5.3.2  
Watch Dog Reset (WDR)  
The Watch Dog Timer Reset (WDR) occurs when the Most Significant Bit of the 4-bit Watch Dog Timer Register transitions from  
LOW to HIGH. Writing any value to the write-only Watch Dog Restart Register at 0x21 clears the timer (firmware should period-  
ically write to the Watch Dog Restart Register in the main loopof firmware). The Watch Dog timer is clocked by a 1.024-ms clock  
from the free-running timer. If 8 clocks occur between writes to the timer, a WDR occurs and bit 6 of the Status and Control  
Register is set to record the event. A Watch Dog Timer Reset lasts for 8.192 ms, at which time the microcontroller begins execution  
at ROM address 0x00. The USB transmitter is disabled by a Watch Dog Reset because the USB Device Address Register is  
cleared (otherwise, the USB Controller would respond to all address 0 transactions). The transmitter remains disabled until the  
WDR bit (bit 6) in the Status and Control Register is reset to 0 by firmware.  
7.168 to  
8.192 ms  
8.192 ms  
Last write to  
Watchdog Timer  
Register  
No write to WDT  
register, so WDR  
goes HIGH  
Execution begins at  
Reset Vector 0x00  
Figure 5-4. Watch Dog Reset (WDR)  
5.3.3  
USB Bus Reset  
The USB Controller recognizes a USB Reset when a Single Ended Zero (SE0) condition persists for at least 816 µs (the Reset  
may be recognized for an SE0 as short as 8 µs, but it is always recognized for an SE0 longer than 16 µs). SE0 is the condition  
in which both the D+ line and the Dline are LOW. Bit 5 of the Status and Control Register is set to record this event. If the USB  
reset happens while the device is suspended, the suspend condition is cleared and the clock oscillator is restarted. However, the  
microcontroller is not released until the USB reset is removed.  
5.4  
Instant-on Feature (Suspend Mode)  
The USB Controller can be placed in a low-power state by setting the Suspend bit (bit 3) of the Status and Control register. All  
logic blocks in the device are turned off except the USB receiver, the GPIO interrupt logic, and the Cext interrupt logic. The clock  
oscillator and the free-running and watch dog timers are shut down.  
The suspend mode is terminated when one of the following three conditions occur:  
1. USB activity  
2. A GPIO interrupt  
3. Cext interrupt  
Document #: 38-08026 Rev. **  
Page 10 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
The clock oscillator, GPIO, and timers restart immediately upon exiting suspend mode. The USB engine and microcontroller return  
to a fully functional state no more than 256 µs later. Before servicing any interrupt requests, the microcontroller executes the  
instruction following the I/O write that placed the device into suspend mode.  
Both the GPIO interrupt and the Cext interrupt allow the USB Controller to wake-up periodically and poll potentiometers, optics,  
and other system components while maintaining a very low average power consumption. The Cext Interrupt is preferred for lowest  
power consumption.  
For Cext to generate an Instant-oninterrupt, the pin must be connected to ground with an external capacitor and connected to  
VCC with an external resistor. A 0is written to the Cext register located at I/O address 0x22 to discharge the capacitor. Then, a  
1is written to disable the open-drain output driver. A Schmitt trigger input circuit monitors the input and generates a wake-up  
interrupt when the input voltage rises above the input threshold. By changing the values of the external resistor and capacitor,  
the user can fine tune the charge rate of the R-C timing circuit. The format of the Cext register is shown in Figure 5-5. Reading  
the register returns the value of the Cext pin. During a reset, the Cext pin is HIGH.  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
CEXT  
R/W  
1
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
0
0
0
0
0
0
0
Figure 5-5. The Cext Register (Address 0x22)  
5.5  
On-Chip Timer  
The USB Controller is equipped with a free-running timer driven by a clock one-sixth the resonator frequency. Bits 0 through 7 of  
the counter are readable from the read-only Timer Register located at I/O address 0x23. The Timer Register is cleared during a  
Power-On Reset and whenever Suspend mode is entered. Figure 5-6 illustrates the format of this register and Figure 5-7 is its  
block diagram.  
With a 6 MHz resonator, the timer resolution is 1 µs.  
The timer generates two interrupts: the 128-µs interrupt and the 1.024-ms interrupt.  
b7  
T.7  
R
b6  
T.6  
R
b5  
T.5  
R
b4  
T.4  
R
b3  
T.3  
R
b2  
T.2  
R
b1  
T.1  
R
b0  
T.0  
R
0
0
0
0
0
0
0
0
Figure 5-6. Timer Register (Address 0x23)  
1.024-ms interrupt  
128- s interrupt  
m
9
7
8
1
0
6
3
5
4
2
Resonator Clock/6  
8
To Timer Register  
Figure 5-7. Timer Block Diagram  
Document #: 38-08026 Rev. **  
Page 11 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
5.6  
General Purpose I/O Ports  
Interface with peripherals is conducted via as many as 16 GPIO signals. These signals are divided into two ports: Port 0 and Port  
1. Port 0 contains eight lines (P0.0P0.7) and Port 1 contains up to eight lines (P1.0P1.7). The number of external I/O pins  
depends on the package type. Both ports can be accessed by the IORD, IOWR, and IOWX instructions. The Port 0 data register  
is located at I/O address 0x00 while the Port 1 data register is located at I/O address 0x01. The contents of both registers are set  
HIGH during a reset. Refer to Figures 5-8 and 5-9 for the formats of the data registers. In addition to supporting general input/out-  
put functions, each I/O line can trigger an interrupt to the microcontroller. Please refer to the interrupt section for more details.  
b7  
P0.7  
R/W  
1
b6  
P0.6  
R/W  
1
b5  
P0.5  
R/W  
1
b4  
P0.4  
R/W  
1
b3  
P0.3  
R/W  
1
b2  
P0.2  
R/W  
1
b1  
P0.1  
R/W  
1
b0  
P0.0  
R/W  
1
Figure 5-8. Port 0 Data Register (Address 0x00)  
b7  
P1.7  
R/W  
1
b6  
P1.6  
R/W  
1
b5  
P1.5  
R/W  
1
b4  
P1.4  
R/W  
1
b3  
P1.3  
R/W  
1
b2  
P1.2  
R/W  
1
b1  
P1.1  
R/W  
1
b0  
P1.0  
R/W  
1
Figure 5-9. Port 1 Data Register (Address 0x01)  
Each GPIO line includes an internal Rup resistor. This resistor provides both the pull-up function and slew control. Two factors  
govern the enabling and disabling of each resistor: the state of its associated Port Pull-up register bit and the state of the Data  
Register bit. NOTE: The control bits in the Port Pull-up register are active LOW.  
A GPIO line is HIGH when a 1is written to the Data Register and a 0is written to the respective Port Pull-up register. Writing  
a 0to the port Data Register disables the ports Pull-up resistor and outputs a LOW on the GPIO line regardless of the setting  
in the Port Pull-up Register. The output goes to a high-Z state if the Data Register bit and the Port Pull-up Register bit are both  
1. Figure 5-10 illustrates the block diagram of one I/O line. The Port Isink Register is used to control the output current level and  
it is described later in this section. NOTE: The Isink logic block is turned off during suspend mode (please refer to the Instant-on  
Feature section for more details). Therefore, to prevent higher ICC currents during USB suspend mode, firmware must set ALL  
Port 0 and Port 1 Data Register bits (which are not externally driven to a known state), including those that are not bonded  
out on a particular package, to 1and all Port 0 and Port 1 Pull-Up Register data bits to 0to enable port pull-ups before  
setting the Suspend bit (bit 3 of the Status and Control Register).Table 5-2 is the Output Control truth table.  
VCC  
Port Pull-Up  
Register  
Rup  
Port Data  
Register  
GPIO  
Pin  
Port Isink  
Isink  
Register  
DAC  
Disable  
Suspend  
Bit  
Schmitt  
Trigger  
Data Bus  
Figure 5-10. Block Diagram of an I/O Line  
Document #: 38-08026 Rev. **  
Page 12 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
Table 5-2. Output Control Truth Table  
Data Register  
Port Pull-up Register  
Output at I/O Pin  
Interrupt Polarity  
High to Low  
0
0
1
1
0
1
0
1
Sink Current (0)  
Sink Current (0)  
Pull-up Resistor (1)  
Hi-Z  
Low to High  
High to Low  
Low to High  
To configure a GPIO pin as an input, a 1should be written to the Port Data Register bit associated with that pin to disable the  
pull-down function of the Isink DAC (see Figure 5-10).When the Port Data Register is read, the bit value is a 1if the voltage on  
the pin is greater than the Schmitt trigger threshold, or 0if it is below the threshold. In applications where an internal pull-up is  
required, the Rup pull-up resistor can be engaged by writing a 0to the appropriate bit in the Port Pull-up Register.  
Both Port 0 and Port 1 Pull-up Registers are write only (see Figures 5-11 and 5-12). The Port 0 Pull-up Register is located at I/O  
address 0x08 and Port 1 Pull-up Register is mapped to address 0x09. The contents of the Port Pull-up Registers are cleared  
during reset, allowing the outputs to be controlled by the state of the Data Registers. The Port Pull-up Registers also select the  
polarity of transition that generates a GPIO interrupt. A 0selects a HIGH to LOW transition while a 1selects a LOW to HIGH  
transition.  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
PULL0.7  
PULL0.6  
PULL0.5  
PULL0.4  
PULL0.3  
PULL0.2  
PULL0.1  
PULL0.0  
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
Figure 5-11. Port 0 Pull-up Register (Address 0x08)  
b7  
PULL1.7  
W
b6  
b5  
b4  
b3  
b2  
b1  
b0  
PULL1.6  
PULL1.5  
PULL1.4  
PULL1.3  
PULL1.2  
PULL1.1  
PULL1.0  
W
0
W
0
W
0
W
0
W
0
W
0
W
0
0x  
Figure 5-12. Port 1 Pull-up Register (Address 0x09)  
Writing a 0to the Data Register drives the output LOW. Instead of providing a fixed output drive, the USB Controller allows the  
user to select an output sink current level for each I/O pin. The sink current of each output is controlled by a dedicated Port Isink  
Register. The lower four bits of this register contain a code selecting one of sixteen sink current levels. The upper four bits of the  
register are ignored. The format of the Port Isink Register is shown in Figure 5-13.  
b7  
b6  
b5  
b4  
b3  
ISINK3  
W
b2  
ISINK2  
W
b1  
ISINK1  
W
b0  
ISINK0  
W
Reserved  
Reserved  
Reserved  
UNUSED  
W
x
W
x
W
x
W
x
x
x
x
x
Figure 5-13. Port Isink Register for One GPIO Line  
Port 0 is a low-current port suitable for connecting photo transistors. Port 1 is a high current port capable of driving LEDs. See  
section 7.0 for current ranges. 0000 is the lowest drive strength. 1111 is the highest.  
The write-only sink current control registers for Port 0 outputs are assigned from I/O address 0x30 to 0x37 with the control bits  
for P00 starting at 0x30. Port 1 sink current control registers are assigned from I/O address 0x38 to 0x3F with the control bits for  
P10 starting at 0x38. All sink current control registers are cleared during a reset, resulting in the minimum current sink setting.  
5.7  
XTALIN/XTALOUT  
The XTALIN and XTALOUT pins support connection of a 6-MHz ceramic resonator. The feedback capacitors and bias resistor  
are internal to the IC, as shown in Figure 5-14 Leave XTALOUT unconnected when driving XTALIN from an external oscillator.  
Document #: 38-08026 Rev. **  
Page 13 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
XTALOUT  
clk1x  
(to USB SIE)  
Clock  
Doubler  
clk2x  
(to Microcontroller)  
XTALIN  
30 pF  
30 pF  
Figure 5-14. Clock Oscillator On-chip Circuit  
5.8  
Interrupts  
Interrupts are generated by the General Purpose I/O lines, the Cext pin, the internal timer, and the USB engine. All interrupts are  
maskable by the Global Interrupt Enable Register. Access to this register is accomplished via IORD, IOWR, and IOWX instruc-  
tions to address 0x20. Writing a 1to a bit position enables the interrupt associated with that position. During a reset, the contents  
of the Interrupt Enable Register are cleared, disabling all interrupts. Figure 5-15 illustrates the format of the Global Interrupt Enable  
Register.  
b7  
CEXTIE  
R/W  
0
b6  
GPIOIE  
R/W  
0
b5  
b4  
EP1IE  
R/W  
0
b3  
EP0IE  
R/W  
0
b2  
1024IE  
R/W  
0
b1  
128IE  
R/W  
0
b0  
Reserved  
Reserved  
0
0
Figure 5-15. Global Interrupt Enable Register (GIER - Address 0x20)  
The interrupt controller contains a separate latch for each interrupt. See Figure 5-16 for the logic block diagram for the interrupt  
controller. When an interrupt is generated, it is latched as a pending interrupt. It stays as a pending interrupt until it is serviced or  
a reset occurs. A pending interrupt only generates an interrupt request if it is enabled in the Global Interrupt Enable Register. The  
highest priority interrupt request is serviced following the execution of the current instruction.  
When servicing an interrupt, the hardware first disables all interrupts by clearing the Global Interrupt Enable Register. Next, the  
interrupt latch of the current interrupt is cleared. This is followed by a CALL instruction to the ROM address associated with the  
interrupt being serviced (i.e., the interrupt vector). The instruction in the interrupt table is typically a JMP instruction to the address  
of the Interrupt Service Routine (ISR). The user can re-enable interrupts in the interrupt service routine by writing to the appro-  
priate bits in the Global Interrupt Enable Register. Interrupts can be nested to a level limited only by the available stack space.  
128-  
m
s CLR  
s IRQ  
CLR  
Logic 1  
128-  
D
Q
128-m  
Enable [1]  
1-ms CLR  
1-ms IRQ  
m
s
CLK  
Interrupt  
IRQ  
End P0 CLR  
End P0 IRQ  
End P1 CLR  
End P1 IRQ  
Global  
Interrupt  
Enable  
Interrupt  
Vector  
Enable [7:0]  
GPIO CLR  
GPIO IRQ  
Register  
CLR  
CLR  
Logic 1  
D
Q
Q
Enable [6]  
Enable [7]  
GPIO  
Interrupt  
Interrupt  
Acknowledge  
CLK  
Wake-up CLR  
Wake-up IRQ  
CLR  
Logic 1  
CEXT  
D
Interrupt  
Priority  
CLK  
Encoder  
Figure 5-16. Interrupt Controller Logic Block Diagram  
Document #: 38-08026 Rev. **  
Page 14 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
The Program Counter (PC) value and the Carry and Zero flags (CF, ZF) are automatically stored onto the Program Stack by the  
CALL instruction as part of the interrupt acknowledge process. The user firmware is responsible for ensuring that the processor  
state is preserved and restored during an interrupt. For example the PUSH A instruction should be used as the first command in  
the ISR to save the accumulator value. And, the IPRET instruction should be used to exit the ISR with the accumulator value  
restored and interrupts enabled. The PC, CF, and ZF are restored when the IPRET or RET instructions are executed.  
The Interrupt Vectors supported by the USB Controller are listed in Table 5-3. Interrupt Vector 0 (Reset) has the highest priority,  
Interrupt Vector 7 has the lowest priority. Because the JMP instruction is 2 bytes long, the interrupt vectors occupy 2 bytes.  
Table 5-3. Interrupt Vector Assignments  
Interrupt Priority  
ROM Address  
0x00  
Function  
0 (Highest)  
Reset  
1
0x02  
128-µs timer interrupt  
1.024-ms timer interrupt  
USB endpoint 0 interrupt  
USB endpoint 1 interrupt  
Reserved  
2
0x04  
3
0x06  
4
0x08  
5
6
0x0A  
0x0C  
GPIO interrupt  
7 (Lowest)  
0x0E  
Wake-up interrupt  
5.8.1  
Interrupt Latency  
Interrupt latency can be calculated from the following equation:  
Interrupt Latency = (Number of clock cycles remaining in the current instruction) + (10 clock cycles for the CALL instruction) +  
(5 clock cycles for the JMP instruction)  
For example, if a 5-clock-cycle instruction such as JC is being executed when an interrupt occurs, the first instruction of the  
Interrupt Service Routine executes a minimum of 16 clock cycles (1+10+5) or a maximum of 20 clock cycles (5+10+5) after the  
interrupt is issued. Therefore, the interrupt latency in this example will be = 20 clock periods = 20 / (12 MHz) = 1.667 µs. The  
interrupt latches are sampled at the rising edge of the last clock cycle in the current instruction.  
5.8.2  
GPIO Interrupt  
The General Purpose I/O interrupts are generated by signal transitions at the Port 0 and Port 1 I/O pins. GPIO interrupts are edge  
sensitive with programmable interrupt polarities. Setting a bit HIGH in the Port Pull-up Register (see Figure 5-11 and 5-12) selects  
a LOW to HIGH interrupt trigger for the corresponding port pin. Setting a bit LOW activates a HIGH to LOW interrupt trigger. Each  
GPIO interrupt is maskable on a per-pin basis by a dedicated bit in the Port Interrupt Enable Register. Writing a 1enables the  
interrupt. Figure 5-17 and Figure 5-18 illustrate the format of the Port Interrupt Enable Registers for Port 0 and Port 1 located at  
I/O address 0x04 and 0x05 respectively. These write only registers are cleared during reset, thus disabling all GPIO interrupts.  
b7  
IE0.7  
W
b6  
IE0.6  
W
b5  
IE0.5  
W
b4  
IE0.4  
W
b3  
IE0.3  
W
b2  
IE0.2  
W
b1  
IE0.1  
W
b0  
IE0.0  
W
0
0
0
0
0
0
0
0
Figure 5-17. Port 0 Interrupt Enable Register (P0 IE - Address 0x04)  
b7  
IE1.7  
W
b6  
IE1.6  
W
b5  
IE1.5  
W
b4  
IE1.4  
W
b3  
IE1.3  
W
b2  
IE1.2  
W
b1  
IE1.1  
W
b0  
IE1.0  
W
0
0
0
0
0
0
0
0
Figure 5-18. Port 1 Interrupt Enable Register (P1 IE - Address 0x05)  
A block diagram of the GPIO interrupt logic is shown in Figure 5-19. The bit setting in the Port Pull-up Register selects the interrupt  
polarity. If the selected signal polarity is detected on the I/O pin, a HIGH signal is generated. If the Port Interrupt Enable bit for  
this pin is HIGH and no other port pins are requesting interrupts, the OR gate issues a LOW to HIGH signal to clock the GPIO  
interrupt flip-flop. The output of the flip-flop is further qualified by the Global GPIO Interrupt Enable bit before it is processed by  
Document #: 38-08026 Rev. **  
Page 15 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
the Interrupt Priority Encoder. Both the GPIO interrupt flip-flop and the Global GPIO Enable bit are cleared by on-chip hardware  
during GPIO interrupt acknowledge.  
Port  
Pull-Up  
Register  
1=LH  
GPIO Interrupt  
Flip-Flop  
0=HÆL  
OR Gate  
(1 input per  
GPIO pin)  
I
D
Q
M
U
X
GPIO  
Pin  
CLR  
Port Interrupt  
Enable Register  
1 = Enable  
0 = Disable  
Interrupt  
Acknowledge  
CLR  
IRQ  
Interrupt  
Priority  
Encoder  
Global  
GPIO Interrupt  
1 = Enable  
0 = Disable  
Interrupt  
Vector  
Enable  
(Bit 6, Register 0x20)  
Figure 5-19. GPIO Interrupt Logic Block Diagram  
Note: If one port pin triggers an interrupt, no other port pin can cause a GPIO interrupt until the port pin that triggered the interrupt  
has returned to its inactive (non-trigger) state or until its corresponding port interrupt enable bit is cleared (these events reset’  
the clock of the GPIO Interrupt flip-flop, which must be resetto 0before another GPIO interrupt event can clockthe GPIO  
Interrupt flip-flop and produce an IRQ).  
Note: If the port pin that triggered an interrupt is held in its active (trigger) state while its corresponding port interrupt enable bit  
is cleared and then set, a GPIO interrupt event occurs as the GPIO Interrupt flip-flop clock transitions from 1to 0and then back  
to 1(please refer to Figure 5-19). The USB Controller does not assign interrupt priority to different port pins and the Port Interrupt  
Enable Registers are not cleared during the interrupt acknowledge process. When a GPIO interrupt is serviced, the ISR must  
poll the ports to determine which pin caused the interrupt.  
5.8.3  
USB Interrupt  
A USB Endpoint 0 interrupt is generated after the host has written data to Endpoint 0 or after the USB Controller has transmitted  
a packet from Endpoint 0 and receives an ACK from the host. An OUT packet from the host which is NAKed by the USB Controller  
does not generate an interrupt. This interrupt is masked by the USB EP0 Interrupt Enable bit (bit 3) of the Global Interrupt Enable  
Register.  
A USB Endpoint 1 interrupt is generated after the USB Controller has transmitted a packet from Endpoint 1 and has received an  
ACK from the host. This interrupt is masked by the USB EP1 Interrupt Enable bit (bit 4) of the Global Interrupt Enable Register.  
5.8.4  
Timer Interrupt  
There are two timer interrupts: the 128-µs interrupt and the 1.024-ms interrupt. They are masked by bits 1 and 2 of the Global  
Interrupt Enable Register respectively. The user should disable both timer interrupts before going into the suspend mode to avoid  
possible conflicts from timer interrupts occurring just as suspend mode is entered.  
5.8.5  
Wake-Up Interrupt  
A wake-up interrupt is generated when the Cext pin goes HIGH. This interrupt is latched in the interrupt controller. It can be  
masked by the Wake-up Interrupt Enable bit (bit 7) of the Global Interrupt Enable Register. This interrupt can be used to perform  
periodic checks on attached peripherals when the USB Controller is placed in the low-power suspend mode. See the Instant-On  
Feature section for more details.  
5.9  
USB Engine  
The USB engine includes the Serial Interface Engine (SIE) and the low-speed USB I/O transceivers. The SIE block performs  
most of the USB interface functions with only minimal support from the microcontroller core. Two endpoints are supported.  
Endpoint 0 is used to receive and transmit control (including setup) packets while Endpoint 1 is only used to transmit data packets.  
Document #: 38-08026 Rev. **  
Page 16 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
The USB SIE processes USB bus activity at the transaction level independently. It does all the NRZI encoding/decoding and bit  
stuffing/unstuffing. It also determines token type, checks address and endpoint values, generates and checks CRC values, and  
controls the flow of data bytes between the bus and the Endpoint FIFOs. NOTE: the SIE stalls the CPU for 3 cycles per byte  
when writing data to the endpoint FIFOs (or 3 * 1/12 MHz * 8 bytes = 2 µs per 8-byte transfer).  
The firmware handles higher level and function-specific tasks. During control transfers the firmware must interpret device requests  
and respond correctly. It also must coordinate Suspend/Resume, verify and select DATA toggle values, and perform function  
specific tasks.  
The USB engine and the firmware communicate though the Endpoint FIFOs, USB Endpoint interrupts, and the USB registers  
described in the sections below.  
5.9.1  
USB Enumeration Process  
The USB Controller provides a USB Device Address Register at I/O location 0x12. Reading and writing this register is achieved  
via the IORD and IOWR instructions. The register contents are cleared during a reset, setting the USB address of the USB  
Controller to 0. Figure 5-20 shows the format of the USB Address Register.  
b7  
b6  
ADR6  
R/W  
0
b5  
ADR5  
R/W  
0
b4  
ADR4  
R/W  
0
b3  
ADR3  
R/W  
0
b2  
ADR2  
R/W  
0
b1  
ADR1  
R/W  
0
b0  
ADR0  
R/W  
0
Reserved  
0
Figure 5-20. USB Device Address Register (USB DA - Address 0x12)  
Typical enumeration steps:  
1. The host computer sends a SETUP packet followed by a DATA packet to USB address 0 requesting the Device descriptor.  
2. The USB Controller decodes the request and retrieves its Device descriptor from the program memory space.  
3. The host computer performs a control read sequence and the USB Controller responds by sending the Device descriptor over  
the USB bus.  
4. After receiving the descriptor, the host computer sends a SETUP packet followed by a DATA packet to address 0 assigning a  
new USB address to the device.  
5. The USB Controller stores the new address in its USB Device Address Register after the no-data control sequence completes.  
6. The host sends a request for the Device descriptor using the new USB address.  
7. The USB Controller decodes the request and retrieves the Device descriptor from the program memory.  
8. The host performs a control read sequence and the USB Controller responds by sending its Device descriptor over the USB  
bus.  
9. The host generates control reads to the USB Controller to request the Configuration and Report descriptors.  
10.The USB Controller retrieves the descriptors from its program space and returns the data to the host over the USB.  
11.Enumeration is complete after the host has received all the descriptors.  
5.9.2  
Endpoint 0  
All USB devices are required to have an endpoint number 0 that is used to initialize and manipulate the device. Endpoint 0  
provides access to the devices configuration information and allows generic USB status and control accesses.  
Endpoint 0 can receive and transmit data. Both receive and transmit data share the same 8-byte Endpoint 0 FIFO located at data  
memory space 0x70 to 0x77. Received data may overwrite the data previously in the FIFO.  
5.9.2.1 Endpoint 0 Receive  
After receiving a packet and placing the data into the Endpoint 0 FIFO, the USB Controller updates the USB Endpoint 0 RX  
register to record the receive status and then generates a USB Endpoint 0 interrupt. The format of the Endpoint 0 RX Register  
is shown in Figure 5-21.  
b7  
b6  
b5  
b4  
b3  
TOGGLE  
R
b2  
IN  
b1  
b0  
COUNT3  
R/W  
COUNT2  
R/W  
COUNT1  
R/W  
COUNT0  
R/W  
OUT  
R/W  
SETUP  
R/W  
R/W  
Figure 5-21. USB Endpoint 0 RX Register (Address 0x14)  
Document #: 38-08026 Rev. **  
Page 17 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
0
0
0
0
0
0
0
0
Figure 5-21. USB Endpoint 0 RX Register (Address 0x14)  
This is a read/write register located at I/O address 0x14. Any write to this register clears all bits except bit 3 which remains  
unchanged. All bits are cleared during reset.  
Bit 0 is set to 1 when a SETUP token for Endpoint 0 is received. Once set to a 1, this bit remains HIGH until it is cleared by an  
I/O write or a reset. While the data following a SETUP is being received by the USB engine, this bit is not cleared by an I/O write.  
User firmware writes to the USB FIFOs are disabled when bit 0 is set. This prevents SETUP data from being overwritten.  
Bits 1 and 2 are updated whenever a valid token is received on Endpoint 0. Bit 1 is set to 1 if an OUT token is received and  
cleared to 0 if any other token is received. Bit 2 is set to 1 if an IN token is received and cleared to 0 if any other token is received.  
Bit 3 shows the Data Toggle status of DATA packets received on Endpoint 0. This bit is updated for DATA following SETUP tokens  
and for DATA following OUT tokens if Stall (bit 5 of 0x10) is not set and either EnableOuts or StatusOuts (bits 3 and 4 of 0x13)  
are set.  
Bits 4 to 7 are the count of the number of bytes received in a DATA packet. The two CRC bytes are included in the count, so the  
count value is two greater than the number of data bytes received. The count is always updated and the data is always stored in  
the FIFO for DATA packets following a SETUP token. The count for DATA following an OUT token is updated if Stall (bit 5 of 0x10)  
is 0 and either EnableOuts or StatusOuts (bits 3 and 4 of 0x13) are 1. The DATA following an OUT is written into the FIFO if  
EnableOuts is set to 1 and Stall and StatusOuts are 0.  
A maximum of 8 bytes are written into the Endpoint 0 FIFO. If there are less than 8 bytes of data the CRC is written into the FIFO.  
Due to register space limitations, the Receive Data Invalid bit is located in the USB Endpoint 0 TX Configuration Register. Refer  
to the Endpoint 0 Transmit section for details. This bit is set by the SIE if an error is detected in a received DATA packet.  
Table 5-4 summarizes the USB Engine response to SETUP and OUT transactions on Endpoint 0. In the Data Packet column  
Errorrepresents a packet with a CRC, PID or bit-stuffing error, or a packet with more than 8 bytes of data. Validis a packet  
without an Error. Statusis a packet that is a valid control read Status stage, while N/Statusis not a correct Status stage (see  
section 5.9.4). The Stallbit is described in Section 5.9.2.2. The StatusOutsand EnableOutsbits are described in section 5.9.4.  
Table 5-4. USB Engine Response to SETUP and OUT Transactions on Endpoint 0  
Control Bit Settings  
Received Packets  
USB Engine Response  
Stall  
Status Out Enable Out  
Token  
Type  
Data  
Packet  
FIFO Write  
Toggle  
Count  
Update  
Interrupt  
Reply  
Update  
Yes  
Yes  
Yes  
Yes  
No  
-
-
-
SETUP  
SETUP  
OUT  
Valid  
Error  
Yes  
Yes  
Yes  
Yes  
No  
No  
No  
No  
No  
No  
No  
Yes  
Yes  
Yes  
Yes  
No  
Yes  
Yes  
Yes  
Yes  
No  
ACK  
None  
ACK  
-
-
-
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
Valid  
OUT  
Error  
None  
NAK  
OUT  
Valid  
OUT  
Error  
No  
No  
No  
None  
STALL  
None  
ACK  
OUT  
Valid  
No  
No  
No  
OUT  
Error  
No  
No  
No  
OUT  
Status  
N/Status  
Error  
Yes  
Yes  
Yes  
Yes  
Yes  
No  
Yes  
Yes  
No  
OUT  
STALL  
None  
OUT  
5.9.2.2 Endpoint 0 Transmit  
The USB Endpoint 0 TX Register located at I/O address 0x10 controls data transmission from Endpoint 0 (see Figure 5-22). This  
is a read/write register. All bits are cleared during reset.  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
INEN  
R/W  
DATA1/0  
R/W  
STALL  
R/W  
ERR  
R/W  
COUNT3  
R/W  
COUNT2  
R/W  
COUNT1  
R/W  
COUNT0  
R/W  
Figure 5-22. USB Endpoint 0 TX Configuration Register (Address 0x10)  
Document #: 38-08026 Rev. **  
Page 18 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
0
0
0
0
0
0
0
0
Figure 5-22. USB Endpoint 0 TX Configuration Register (Address 0x10)  
Bits 0 to 3 indicate the numbers of data bytes to be transmitted during an IN packet, valid values are 0 to 8 inclusive. Bit 4 indicates  
that a received DATA packet error (CRC, PID, or bitstuffing error) occurred during a SETUP or OUT data phase. Setting the Stall  
bit (bit 5) stalls IN and OUT packets. This bit is cleared whenever a SETUP packet is received by Endpoint 0. Bit 6 (Data 1/0)  
must be set to 0 or 1 to select the DATA packets toggle state (0 for DATA0, 1 for DATA1).  
After the transmit data has been loaded into the FIFO, bit 6 should be set according to the data toggle state and bit 7 set to 1.  
This enables the USB Controller to respond to an IN packet. Bit 7 is cleared and an Endpoint 0 interrupt is generated by the SIE  
once the host acknowledges the data transmission. Bit 7 is also cleared when a SETUP token is received. The Interrupt Service  
Routine can check bit 7 to confirm that the data transfer was successful.  
5.9.3  
Endpoint 1  
Endpoint 1 is capable of transmit only. The data to be transmitted is stored in the 8-byte Endpoint 1 FIFO located at data memory  
space 0x78 to 0x7F.  
5.9.3.1 Endpoint 1 Transmit  
Transmission is controlled by the USB Endpoint 1 TX Register located at I/O address 0x11 (see Figure 5-23). This is a read/write  
register. All bits are cleared during reset.  
b7  
INEN  
R/W  
0
b6  
DATA1/0  
R/W  
b5  
STALL  
R/W  
0
b4  
EP1EN  
R/W  
0
b3  
COUNT3  
R/W  
b2  
COUNT2  
R/W  
b1  
COUNT1  
R/W  
b0  
COUNT0  
R/W  
0
0
0
0
0
Figure 5-23. USB Endpoint 1 TX Configuration Register (Address 0x11)  
Bits 0 to 3 indicate the numbers of data bytes to be transmitted during an IN packet, valid values are 0 to 8 inclusive.  
Bit 4 must be set before Endpoint 1 can be used. If this bit is cleared, the USB Controller ignores all traffic to Endpoint 1.  
Setting the Stall bit (bit 5) stalls IN and OUT packets until this bit is cleared.  
Bit 6 (Data 1/0) must be set to either 0 or 1 depending on the data packets toggle state, 0 for DATA0, 1 for DATA1.  
After the transmit data has been loaded into the FIFO, bit 6 should be set according to the data toggle state and bit 7 set to 1.  
This enables the USB Controller to respond to an IN packet. Bit 7 is cleared and an Endpoint 1 interrupt is generated by the SIE  
once the host acknowledges the data transmission.  
5.9.4  
USB Status and Control  
USB status and control is regulated by USB Status and Control Register located at I/O address 0x13 as shown in Figure 5-24.  
This is a read/write register. All reserved bits must be written to zero. All bits in the register are cleared during reset.  
b7  
b6  
b5  
b4  
ENOUTS  
R/W  
b3  
STATOUTS  
R/W  
b2  
b1  
FORCEK  
R/W  
b0  
BUSACT  
R/W  
Reserved  
Reserved  
Reserved  
FORCEJ  
0
0
0
0
0
0
0
0
Figure 5-24. USB Status and Control Register (USB SCR - Address 0x13)  
Bit 0 is set by the SIE if any USB activity except idle (D+ LOW, DHIGH) is detected. The user program should check and clear  
this bit periodically to detect any loss of bus activity. Writing a 0 to this bit clears it. Writing a 1 does not change its value.  
Bit 1 is used to force the on-chip USB transmitter to the K state which sends a Resume signal to the host. Bit 2 is used to force  
the transmitter to the J state. This bit should normally be set to zero. However, for resume signaling, force a J state for one  
instruction before forcing resume.  
Bit 3 is used to automatically respond to the Status stage OUT of a control read transfer on Endpoint 0. A valid Status stage OUT  
contains a DATA1 packet with 0 bytes of data. If the StatusOuts bit is set, the USB engine responds to a valid Status stage OUT  
with an ACK, and any other OUT with a STALL. The data is not written into the FIFO when this bit is set. This bit is cleared when  
a SETUP token is received by Endpoint 0.  
Document #: 38-08026 Rev. **  
Page 19 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
Bit 4 is used to enable the receiving of Endpoint 0 OUT packets. When this bit is set to 1, the data from an OUT transaction is  
written into the Endpoint 0 FIFO. If this bit is 0, data is not written to the FIFO and the SIE responds with a NAK. This bit is cleared  
following a SETUP or ACKed OUT transaction. Note: After firmware decodes a SETUP packet and prepares for a subsequent  
OUT transaction by setting bit 4, bit 4 is not cleared until the hand-shake phase of an ACKed OUT transaction (a NAKed OUT  
transaction does not clear this bit).  
5.10  
USB Physical Layer Characteristics  
The following section describes the CY7C630/1XXA compliance to the Chapter 7 Electrical section of the USB Specification,  
Revision 1.1. The section contains all signaling, power distribution, and physical layer specifications necessary to describe a low-  
speed USB function.  
5.10.1 Low-Speed Driver Characteristics  
The CY7C630/1XXA devices use a differential output driver to drive the Low-speed USB data signal onto the USB cable, as  
shown in Figure 5-25. The output swings between the differential HIGH and LOW state are well balanced to minimize signal skew.  
Slew rate control on the driver minimizes the radiated noise and cross talk on the USB cable. The drivers outputs support  
three-state operation to achieve bidirectional half duplex operation. The CY7C630/1XXA driver tolerates a voltage on the signal  
pins of 0.5V to 3.8V with respect to local ground reference without damage. The driver tolerates this voltage for 10.0 µs while  
the driver is active and driving, and tolerates this condition indefinitely when the driver is in its high-impedance state.  
A low-speed USB connection is made through an unshielded, untwisted wire cable a maximum of 3 meters in length. The rise  
and fall time of the signals on this cable are well controlled to reduce RFI emissions while limiting delays, signaling skews and  
distortions. The CY7C630/1XXA driver reaches the specified static signal levels with smooth rise and fall times, resulting in  
minimal reflections and ringing when driving the USB cable. This cable and driver are intended to be used only on network  
segments between low-speed devices and the ports to which they are connected.  
One Bit  
Time  
(1.5Mb/s)  
Signal pins  
pass output  
VSE (max)  
spec levels  
with minimal  
reflections and  
Driver  
Signal Pins  
ringing  
VSE (min)  
VSS  
Figure 5-25. Low-speed Driver Signal Waveforms  
5.10.2 Receiver Characteristics  
The CY7C630/1XXA has a differential input receiver which is able to accept the USB data signal. The receiver features an input  
sensitivity of at least 200 mV when both differential data inputs are in the range of at least 0.8V to 2.5V with respect to its local  
ground reference. This is the common mode input voltage range. Proper data reception is also guaranteed when the differential  
data lines are outside the common mode range, as shown in Figure 5-26. The receiver tolerates static input voltages between  
0.5V and 3.8V with respect to its local ground reference without damage. In addition to the differential receiver, there is a  
Document #: 38-08026 Rev. **  
Page 20 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
single-ended receiver for each of the two data lines. The single-ended receivers have a switching threshold between 0.8V and  
2.0V (TTL inputs).  
1.0  
0.8  
0.6  
0.4  
0.2  
0.0  
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2  
Common Mode Input Voltage (volts)  
Figure 5-26. Differential Input Sensitivity Over Entire Common Mode Range  
5.11  
External USB Pull-Up Resistor  
The USB system specifies that a pull-up resistor be connected on the Dpin of low-speed peripherals as shown in Figure 5-27.  
To meet the USB 1.1 spec (section 7.1.6), which states that the termination must charge the Dline from 0 to 2.0 V in 2.5 µs, the  
total load capacitance on the D+/Dlines of the low-speed USB device (Cypress device capacitance + PCB trace capacitance  
+ integrated cable capacitance) must be less than 250 pF. As Cypress D+/Dtransceiver input capacitance is 20pF max, up to  
230 pF of capacitance is allowed for in the low speed devices integrated cable and PCB. If the cable + PCB capacitance on the  
D+/Dlines will be greater than approximately 230 pF, an external 3.3V regulator must be used as shown in Figure 5-28.  
Port0  
Port0  
Switches,  
Devices, Etc.  
Switches,  
Devices, Etc.  
Port1  
D+  
Port1  
VSS  
VPP  
D–  
VCC  
XTALOUT  
CEXT  
XTALIN  
7.5kW±1%  
+4.35V (min)  
For Cext  
Wake-up Mode  
0.1µF  
6-MHz  
Resonator  
4.7 µF  
Figure 5-27. Application Showing 7.5k±1% Pull-Up Resistor  
+3.3V  
3.3V  
Reg  
Port0  
Port0  
Port1  
Switches,  
Devices, Etc.  
Switches,  
Devices, Etc.  
0.1 µF  
Port1  
D+  
1.5±kW  
V
SS  
VPP  
D–  
VCC  
XTALOUT  
CEXT  
XTALIN  
+4.35V (min.)  
For Cext  
Wake-up Mode  
0.1µF  
6-MHz  
Resonator  
4.7 µF  
Document #: 38-08026 Rev. **  
Page 21 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
Figure 5-28. Application Showing 1.5-k±5% Pull-Up Resistor  
5.12  
Table 5-5. Instruction Set Map  
MNEMONIC operand  
HALT  
Instruction Set Summary  
opcode  
00  
cycles  
MNEMONIC  
operand  
opcode  
20  
cycles  
7
NOP  
4
4
4
7
8
4
4
7
8
5
5
4
4
5
5
5
5
5
6
7
8
7
8
7
8
6
4
4
4
4
4
8
ADD A,expr  
data  
direct  
index  
data  
01  
02  
03  
04  
05  
06  
07  
08  
09  
0A  
0B  
0C  
0D  
OE  
0F  
10  
11  
4
INC A  
acc  
21  
22  
23  
24  
25  
26  
27  
28  
29  
2A  
2B  
2C  
2D  
2E  
2F  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
3A  
3B  
3C  
3D  
3E  
3F  
ADD A,[expr]  
ADD A,[X+expr]  
ADC A,expr  
6
7
4
6
7
4
6
7
4
6
7
4
6
7
4
6
7
4
6
7
5
7
8
4
5
6
4
5
INC X  
x
INC [expr]  
INC [X+expr]  
DEC A  
direct  
index  
acc  
ADC A,[expr]  
ADC A,[X+expr]  
SUB A,expr  
direct  
index  
data  
DEC X  
x
DEC [expr]  
DEC [X+expr]  
IORD expr  
IOWR expr  
POP A  
direct  
index  
address  
address  
SUB A,[expr]  
SUB A,[X+expr]  
SBB A,expr  
direct  
index  
data  
SBB A,[expr]  
SBB A,[X+expr]  
OR A,expr  
direct  
index  
data  
POP X  
PUSH A  
OR A,[expr]  
direct  
index  
data  
PUSH X  
OR A,[X+expr]  
AND A,expr  
SWAP A,X  
SWAP A,DSP  
MOV [expr],A  
MOV [X+expr],A  
OR [expr],A  
OR [X+expr],A  
AND [expr],A  
AND [X+expr],A  
XOR [expr],A  
XOR [X+expr],A  
IOWX [X+expr]  
CPL  
AND A,[expr]  
AND A,[X+expr]  
XOR A,expr  
XOR A,[expr]  
XOR A,[X+expr]  
CMP A,expr  
CMP A,[expr]  
CMP A,[X+expr]  
MOV A,expr  
MOV A,[expr]  
MOV A,[X+expr]  
MOV X,expr  
MOV X,[expr]  
IPRET  
direct  
index  
data  
direct  
index  
direct  
index  
direct  
index  
direct  
index  
index  
12  
13  
14  
15  
16  
17  
18  
19  
1A  
1B  
1C  
1D  
1E  
1F  
direct  
index  
data  
direct  
index  
data  
direct  
index  
data  
ASL  
ASR  
direct  
addr  
RLC  
13  
4
RRC  
XPAGE  
RET  
JMP  
CALL  
JZ  
addr  
addr  
addr  
addr  
8x  
9x  
Ax  
Bx  
5
JC  
addr  
addr  
addr  
addr  
Cx  
Dx  
Ex  
Fx  
5
5
7
10  
5
JNC  
JACC  
INDEX  
JNZ  
5
14  
Document #: 38-08026 Rev. **  
Page 22 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
6.0  
Absolute Maximum Ratings  
Storage Temperature ..........................................................................................................................................65°C to +150°C  
Ambient Temperature with Power Applied...............................................................................................................0°C to +70°C  
Supply Voltage on VCC Relative to VSS ..................................................................................................................0.5V to +7.0V  
DC Input Voltage........................................................................................................................................... 0.5V to +VCC+0.5V  
DC Voltage Applied to Outputs in High-Z state............................................................................................. 0.5V to +VCC+0.5V  
Max. Output Current into Port 1 Pins................................................................................................................................... 60 mA  
Max. Output Current into Non-Port 1 Pins.......................................................................................................................... 10 mA  
Power Dissipation ..............................................................................................................................................................300 mW  
Static Discharge Voltage ................................................................................................................................................... >2000V  
Latch-up Current[1].......................................................................................................................................................... >200 mA  
Document #: 38-08026 Rev. **  
Page 23 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
7.0  
Electrical Characteristics fOSC = 6 MHz; Operating Temperature = 0 to 70°C, VCC = 4.0 to 5.25 volts  
Parameter  
General  
Min  
Max  
Units  
Conditions  
Resonator off, D> Voh min[2]  
Ceramic resonator  
ICC  
VCC Operating Supply Current  
Supply CurrentSuspend Mode  
Supply CurrentStart-up Mode  
Programming Voltage (disabled)  
Resonator Start-up Interval  
Watch Dog Timer Period  
25  
20  
4
mA  
µA  
mA  
V
ISB1  
ISB2  
VPP  
tstart  
twatch  
0.4  
0.4  
256  
µs  
7.168 8.192  
ms  
Power On Reset  
[3, 4]  
tVCCS  
VCC Slew  
0.010  
2.8  
1000  
ms  
Linear ramp on VCC pin to VCC  
USB Interface  
Static Output High  
Voh  
Vol  
3.6  
0.3  
V
V
15k± 5% to Gnd[5,6]  
See Notes 5 and 6  
|(D+)(D)|, and Figure 5-26  
Figure 5-26  
Static Output Low  
Vdi  
Differential Input Sensitivity  
0.2  
0.8  
0.8  
V
Vcm  
Vse  
Cin  
Differential Input Common Mode Range  
Single Ended Receiver Threshold  
Transceiver Input Capacitance  
Data Line (D+, D) Leakage  
External Bus Pull-up Resistance, Dpin  
External Bus Pull-up Resistance, Dpin  
External Bus Pull-down Resistance  
2.5  
2.0  
20  
V
V
pF  
µA  
kΩ  
kΩ  
kΩ  
D+ to Vss; D- to Vss  
Ilo  
10  
10  
0 V <(D+, D)<3.3 V, Hi-Z State  
1.5 k± 5% to 3.3V supply  
7.5 k± 1% to Vcc[7]  
15 k± 5%  
Rpu1  
Rpu2  
1.425 1.575  
7.425 7.575  
14.25 15.75  
Rpd  
Notes:  
1. All pins specified for >200 mA positive and negative injection, except P1.0 is specified for >50 mA negative injection.  
2. Cext at VCC or Gnd, Port 0 and Port1 at VCC  
.
3. Part powers up in suspend mode, able to be reset by USB Bus Reset.  
4. POR may re-occur whenever VCC drops to approximately 2.5V.  
5. Level guaranteed for range of VCC = 4.35V to 5.25V.  
6. With Rpu1 of 1.5 KW±5% on Dto 3.3V regulator.  
7. Maximum matched capacitive loading allowed on D+ and D(including USB cable and host/hub) is approximately 230 pF.  
Document #: 38-08026 Rev. **  
Page 24 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
7.0  
Electrical Characteristics (continued) fOSC = 6 MHz; Operating Temperature = 0 to 70°C, VCC = 4.0 to 5.25 volts  
Parameter  
Min  
Max  
Units  
Conditions  
General Purpose I/O Interface  
Rup  
Pull-up Resistance  
8
24  
0.3  
1.5  
4.8  
24  
kΩ  
mA  
mA  
mA  
Isink0(0)  
Isink0(F)  
Isink1(0)  
Isink1(F)  
Port 0 Sink Current (0), lowest current  
Port 0 Sink Current (F), highest current  
Port 1 Sink Current (0), lowest current  
Port 1 Sink Current (F), highest current  
0.1  
0.5  
1.6  
Vout = 2.0V DC, Port 0 only[5]  
Vout = 2.0V DC, Port 0 only[5]  
Vout = 2.0V DC, Port 1 only[5]  
8
5
mA  
mA  
Vout = 2.0V DC, Port 1 only[5]  
Vout = 0.4V DC, Port 1 only[5]  
Irange  
Ilin  
Sink Current max./min.  
4.5  
5.5  
0.5  
19.6  
0.8  
60  
Vout = 2.0V DC, Port 0 or 1[5, 8]  
Port 0 or Port 1[9]  
Vout = 2.0V[10]  
Differential Nonlinearity  
lSB  
Tratio  
tsink  
Imax  
Pmax  
Vith  
Tracking Ratio Port1 to Port0  
Current Sink Response Time  
Port 1 Max Sink Current  
14.4  
µs  
mA  
mW  
VCC  
VCC  
VCC  
µA  
Full scale transition  
Summed over all Port 1 bits  
Per pin  
All ports and Cext[11]  
Port 0 and Port 1[12]  
Cext Pin Only[12]  
Port 1 & Cext Sink Mode Dissipation  
Input Threshold Voltage  
25  
45%  
6%  
65%  
12%  
30%  
1
VH  
Input Hysteresis Voltage  
VHCext  
Iin  
Input Hysteresis Voltage, Cext  
Input Leakage Current, GPIO Pins  
Input Leakage Current, Cext Pin  
Sink Current, Cext Pin  
12%  
1  
[13]  
Port 0 and Port 1, Vout = 0 or VCC  
VCext = 0 or VCC  
IinCx  
ICext  
Vol1  
Vol2  
50  
nA  
6
18  
mA  
V
VCext = VCC  
Output LOW Voltage, Cext Pin  
Output LOW Voltage, Cext Pin  
0.4  
2.0  
VCC = Min., Iol = 2 mA  
VCC = Min., Iol = 5 mA  
V
8. Irange = Isink(F)/Isink(0 ) for each port 0 or 1 output.  
9. Measured as largest step size vs. nominal according to measured full scale and zero programmed values  
10. ratio = Isink1(n)/Isink0(n) for the same n.  
T
11. Low to High transition.  
12. This parameter is guaranteed, but not tested.  
13. With Ports configured in Hi-Z mode.  
Document #: 38-08026 Rev. **  
Page 25 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
8.0  
Switching Characteristics  
Parameter  
Description  
Clock  
Min.  
Max.  
Unit  
Conditions  
tCYC  
tCH  
tCL  
Input Clock Cycle Time  
Clock HIGH Time  
166.67  
166.67  
ns  
ns  
ns  
0.45 tCYC  
0.45 tCYC  
Clock LOW Time  
USB Driver Characteristics  
USB Data Transition Rise Time  
USB Data Transition Fall Time  
Rise/Fall Time Matching  
Output Signal Crossover Voltage  
USB Data Timing  
tr  
75  
75  
80  
1.3  
300  
300  
125  
2.0  
ns  
ns  
%
V
See Notes 5, 6, and 14  
See Notes 5, 6, and 14  
tr/tf  
tf  
trfm  
Vcrs  
See Note 5  
tdrate  
tdjr1  
tdjr2  
tdeop  
teopr  
tlst  
Low Speed Data Rate  
1.4775  
75  
1.5225 Mb/s Ave. Bit Rate (1.5 Mb/s ± 1.5%)  
Receiver Data Jitter Tolerance  
Receiver Data Jitter Tolerance  
Differential to EOP Transition Skew  
EOP Width at Receiver  
75  
45  
ns  
ns  
ns  
ns  
ns  
To Next Transition, Figure 8-3[15]  
For Paired Transitions, Figure 8-3[15]  
Figure 8-4[15]  
45  
40  
100  
670  
Accepts as EOP[15]  
Width of SE0 Interval During  
Differential Transition  
210  
teopt  
tudj1  
Source EOP Width  
1.25  
95  
1.50  
95  
µs  
ns  
ns  
Differential Driver Jitter  
Differential Driver Jitter  
To next transition, Figure 8-5  
To paired transition, Figure 8-5  
tudj2  
150  
150  
Notes:  
14. Cload of 200 (75 ns) to 600 pF (300 ns).  
15. Measured at crossover point of differential data signals.  
Document #: 38-08026 Rev. **  
Page 26 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
tCYC  
tCH  
CLOCK  
tCL  
Figure 8-1. Clock Timing  
tf  
tr  
D+  
D−  
Voh  
90%  
90%  
Vcrs  
10%  
10%  
Vol  
Figure 8-2. USB Data Signal Timing and Voltage Levels  
TPERIOD  
Differential  
Data Lines  
TJR  
TJR1  
TJR2  
Consecutive  
Transitions  
N * TPERIOD + TJR1  
Paired  
Transitions  
N * TPERIOD + TJR2  
Figure 8-3. Receiver Jitter Tolerance  
Document #: 38-08026 Rev. **  
Page 27 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
TPERIOD  
Crossover  
Point Extended  
Crossover  
Point  
Differential  
Data Lines  
Diff. Data to  
SE0 Skew  
N * TPERIOD + TDEOP  
Source EOP Width: TEOPT  
Receiver EOP Width: TEOPR1
Figure 8-4. Differential to EOP Transition Skew and EOP Width  
TPERIOD  
Crossover  
Points  
Differential  
Data Lines  
Consecutive  
Transitions  
N * TPERIOD + TxJR1  
Paired  
Transitions  
N * TPERIOD + TxJR2  
Figure 8-5. Differential Data Jitter  
9.0  
Ordering Information  
EPROM  
Number  
of GPIO  
Package  
Name  
Operating  
Range  
Ordering Code  
CY7C63000A-PC  
Size  
2KB  
2KB  
4KB  
4KB  
2KB  
4KB  
4KB  
Package Type  
20-Pin (300-Mil) PDIP  
12  
12  
12  
12  
16  
16  
16  
P5  
S5  
Commercial  
Commercial  
Commercial  
Commercial  
Commercial  
Commercial  
Commercial  
CY7C63000A-SC  
CY7C63001A-PC  
CY7C63001A-SC  
CY7C63100A-SC  
CY7C63101A-SC  
CY7C63101A-QC  
20-Pin (300-Mil) SOIC  
20-Pin (300-Mil) PDIP  
20-Pin (300-Mil) SOIC  
24-Pin (300-Mil) SOIC  
24-Pin (300-Mil) SOIC  
24-Pin (150-Mil) QSOP  
P5  
S5  
S13  
S13  
Q13  
Document #: 38-08026 Rev. **  
Page 28 of 31  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
10.0  
Package Diagrams  
20-Lead (300-Mil) Molded DIP P5  
51-85011-A  
24-Lead Quarter Size Outline Q13  
51-85055-B  
Document #: 38-08026 Rev. **  
Page 29 of 31  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
10.0  
Package Diagrams (continued)  
20-Lead (300-Mil) Molded SOIC S5  
51-85024-A  
24-Lead (300-Mil) Molded SOIC S13  
51-85025-A  
Document #: 38-08026 Rev. **  
Page 30 of 31  
© Cypress Semiconductor Corporation, 2002. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use  
of any circuitry other than circuitry embodied in a Cypress Semiconductor product. Nor does it convey or imply any license under patent or other rights. Cypress Semiconductor does not authorize  
its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress  
Semiconductor products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress Semiconductor against all charges.  
FOR  
FOR  
CY7C63000A/CY7C63001A  
CY7C63100A/CY7C63101A  
Document Title: CY7C63000A, CY7C63001A, CY7C63100A, CY7C63101A Universal Serial Bus Microcontroller  
Document Number: 38-08026  
Issue  
Date  
Orig. of  
Change  
REV.  
ECN NO.  
Description of Change  
**  
116223  
06/12/02  
DSG  
Change from Spec number: 38-00662 to 38-08026  
Document #: 38-08026 Rev. **  
Page 31 of 31  

相关型号:

SI9130DB

5- and 3.3-V Step-Down Synchronous Converters

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1-E3

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135_11

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9136_11

Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130CG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130LG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130_11

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137DB

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137LG

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9122E

500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification Drivers

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY