18-mbit (512k x 36/1m x 18) pipelined sram with nobl architecture (29 pages)
Summary of Contents for Cypress Semiconductor CY7C64013C
Page 1
CY7C64013C CY7C64113C Full-Speed USB (12-Mbps) Function Full-Speed USB (12-Mbps) Function Cypress Semiconductor Corporation • 198 Champion Court • San Jose CA 95134-1709 • 408-943-2600 Document #: 38-08001 Rev. *B Revised March 3, 2006 [+] Feedback...
16.0 INTERRUPTS ...29 16.1 Interrupt Vectors ...30 16.2 Interrupt Latency ...31 16.3 USB Bus Reset Interrupt ...31 16.4 Timer Interrupt ...31 16.5 USB Endpoint Interrupts ...31 Document #: 38-08001 Rev. *B TABLE OF CONTENTS CY7C64013C CY7C64113C Page 2 of 51 [+] Feedback...
Page 3
FOSC = 6 MHZ; OPERATING TEMPERATURE = 0 TO 70°C, V 24.0 SWITCHING CHARACTERISTICS 25.0 ORDERING INFORMATION ...48 26.0 PACKAGE DIAGRAMS ...49 Document #: 38-08001 Rev. *B TABLE OF CONTENTS = 4.0V TO 5.25V ...45 (fOSC = 6.0 MHz) ... 46 CY7C64013C CY7C64113C Page 3 of 51 [+] Feedback...
Page 4
CY7C64013C CY7C64113C LIST OF FIGURES Figure 6-1. Clock Oscillator On-Chip Circuit ...17 Figure 7-1. Watchdog Reset (WDR) ...18 Figure 9-1. Block Diagram of a GPIO Pin ...19 Figure 9-2. Port 0 Data ...19 Figure 9-3. Port 1 Data ...19 Figure 9-4. Port 2 Data ...19 Figure 9-5.
Page 5
Table 19-1. USB Register Mode Encoding ...39 Table 19-2. Details of Modes for Differing Traffic Conditions Document #: 38-08001 Rev. *B LIST OF TABLES Table 19-1 (see for the decode legend) ... 41 CY7C64013C CY7C64113C Page 5 of 51 [+] Feedback...
• Improved output drivers to reduce EMI • Operating voltage from 4.0V to 5.5V DC • Operating temperature from 0 to 70 degrees Celsius — CY7C64013C available in 28-pin SOIC and 28-pin PDIP packages — CY7C64113C available in 48-pin SSOP packages • Industry-standard programmer support Document #: 38-08001 Rev.
GPIO The CY7C64013C features 19 GPIO pins to support USB and other applications. The I/O pins are grouped into three ports (P0[7:0], P1[2:0], P2[6:2], P3[2:0]) where each port can be configured as inputs with internal pull-ups, open drain outputs, or traditional CMOS outputs.
High Current P3[2:0] Outputs GPIO Additional PORT 3 P3[7:3] High Current Outputs DAC[0] DAC[2] PORT DAC[7] CY7C64113C only SCLK SDATA Interface C-compatible interface enabled by firmware through P2[1:0] or P1[1:0] CY7C64013C CY7C64113C Upstream USB Port Page 8 of 51 [+] Feedback...
GPIO Port 3 Data Interrupt Enable for Pins in Port 0 Interrupt Enable for Pins in Port 1 Interrupt Enable for Pins in Port 2 Interrupt Enable for Pins in Port 3 CY7C64013C CY7C64113C Description Function Page Page 10 of 51...
Page 11
USB Address A, Endpoint 3 Configuration USB Address A, Endpoint 4 Counter USB Address A, Endpoint 4 Configuration Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Microprocessor Status and Control Register CY7C64013C CY7C64113C Page Page 11 of 51 [+] Feedback...
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] RETI JACC INDEX CY7C64013C CY7C64113C operand opcode cycles direct index direct index address address direct index direct index...
CY7C64013C CY7C64113C Programming Model 14-Bit Program Counter (PC) The 14-bit program counter (PC) allows access to up to 8 KB of PROM available with the CY7C64x13C architecture. The top 32 bytes of the ROM in the 8 Kb part are reserved for testing purposes. The program counter is cleared during reset, such that the first instruction executed after a reset is at address 0x0000h.
Endpoint sizes are fixed by the Endpoint Size Bit (I/O register 0x1F, Bit 7), see Table 18-1. Document #: 38-08001 Rev. *B Address 0x00 Program Stack Growth user selected Data Stack Growth User variables USB FIFO space for five endpoints 0xFF CY7C64013C CY7C64113C Page 15 of 51 [+] Feedback...
; Move 20 hex into Accumulator (must be D8h or less) SWAP A,DSP ; swap accumulator value into DSP register Address Modes The CY7C64013C and CY7C64113C microcontrollers support three addressing modes for instructions that require data operands: data, direct, and indexed. 5.6.1 Data (Immediate) “Data”...
30 pF Figure 6-1. Clock Oscillator On-Chip Circuit to stabilize at a valid operating voltage before the chip executes code. drops below approximately 2.5V, and remains asserted until V CY7C64013C CY7C64113C level is has risen above approximately rises above this level...
Document #: 38-08001 Rev. *B 2 ms WATCH No write to WDT Execution begins at register, so WDR Reset Vector 0x0000 goes HIGH Figure 7-1. Watchdog Reset (WDR) CY7C64013C CY7C64113C or Gnd. This also Page 18 of 51 [+] Feedback...
P0.3 Figure 9-2. Port 0 Data P1.5 P1.4 P1.3 Figure 9-3. Port 1 Data P2.5 P2.4 P2.3 Figure 9-4. Port 2 Data CY7C64013C CY7C64113C GPIO *Port 0,1,2: Low I sink Port 3: High I sink ADDRESS 0x00 P0.2 P0.1 P0.0 ADDRESS 0x01 P1.2...
Therefore, if an unused port bit is programmed in open-drain mode, it must be written with a ‘0.’ Notice that the CY7C64013C part always requires that the data bits P1[7:3], P2[7,1,0], and P3[7:3] be written with a ‘0.’...
Reserved Reserved Figure 10-5. DAC Port Interrupt Polarity Timer Bit 5 Timer Bit 4 Timer Bit 3 Figure 11-1. Timer LSB Register CY7C64013C CY7C64113C ADDRESS 0x31 Enable Bit 2 Enable Bit 1 Enable Bit 0 ADDRESS 0x32 Enable Bit 2...
C-compatible interface and HAPI functions, discussed in detail in Sections 13.0 and LEMPTY DRDY Latch Polarity Polarity Empty C Configuration Register C-compatible options exist due to pin limitations in certain C-compatible operation. CY7C64013C CY7C64113C ADDRESS 0x25 Timer Bit 10 Timer Bit 9 Timer Bit 8 1.024-ms Interrupt 128- s Interrupt µ...
Figure 13-1. I C Data Register Xmit Mode Addr Figure 13-2. I C Status and Control Register CY7C64013C CY7C64113C C Position C on P2[1:0], 0:SCL, 1:SDA C on P1[1:0], 0:SCL, 1:SDA C on P2[1:0], 0:SCL, 1:SDA C Status and Control Register...
Page 26
C-compatible block to initiate a master mode transaction by sending a start bit and C Stop bit is generated. C restart sequence. The I C target address for the restart must be written CY7C64013C CY7C64113C C GPIO pins C Stop bit detected (unless firmware did not C Status and Control register.
If 1, Data Ready is active HIGH, DReadyPin is active LOW. Determines polarity of Latch Empty bit and LatEmptyPin: If 0, Latch Empty is active LOW, LatEmptyPin is active HIGH. If 1, Latch Empty is active HIGH, LatEmptyPin is active LOW. CY7C64013C CY7C64113C C-compatible bus, Page 27 of 51...
Watchdog Reset (bit 6 set) has occurred and no interrupts are pending (bit 7 clear). The Watchdog Reset does not effect the state of the POR and the Bus Reset Interrupt bits. Document #: 38-08001 Rev. *B USB Bus Reset Power-On Suspend Interrupt Reset CY7C64013C CY7C64113C ADDRESS 0xFF Interrupt Reserved Enable Sense Page 28 of 51 [+] Feedback...
Hub CLR Hub IRQ Interrupt DAC CLR DAC IRQ Acknowledge GPIO CLR GPIO IRQ C CLR C IRQ Interrupt Priority Encoder CY7C64013C CY7C64113C IRQ Sense Int Enable Sense Controlled by DI, EI, and RETI Instructions Page 30 of 51 [+] Feedback...
USB Address A Endpoint 2 interrupt 0x000E USB Address A Endpoint 3 interrupt 0x0010 USB Address A Endpoint 4 interrupt 0x0012 0x0014 0x0016 0x0018 CY7C64013C CY7C64113C Function Reserved DAC interrupt GPIO interrupt C interrupt Page 31 of 51 [+] Feedback...
0 = Disable Enable (Bit 5, Register 0x20) Figure 16-4. GPIO Interrupt Structure C-compatible bus to signal the need for firmware interaction. This generally C registers. Refer to Section 13.0 for details on CY7C64013C CY7C64113C IRQout Interrupt Priority Interrupt Encoder...
C-compatible hardware in the idle state. C-compatible bus to generate the interrupt. C interrupt occurs. ) must be placed in series with the D+ and D– lines, as close to CY7C64013C CY7C64113C C register contents may be Page 33 of 51...
D+ Upstream D– Upstream Bus Activity Device Address Device Address Device Address Bit 5 Bit 4 Bit 3 Figure 18-1. USB Device Address Registers CY7C64013C CY7C64113C ADDRESS 0x1F Control Action Control Action Control Action Bit 2 Bit 1 Bit 0 ADDRESSES...
4. The contents of the updated endpoint 0 mode and counter registers are locked, except the SETUP bit of the endpoint 0 mode register which was locked earlier. Document #: 38-08001 Rev. *B CY7C64013C CY7C64113C Page 37 of 51 [+] Feedback...
NAK/STALL Data Packet UPDATE Host To Device Data Data Packet UPDATE SETUP Host To Device Data Data Packet UPDATE only if FIFO is CY7C64013C CY7C64113C Host To Device Hand Shake Packet UPDATE Device To Host ACK, NAK, STAL Hand Shake...
Is set by SIE on an ACK from mode 1111 (Ack In - Status Out) TX Count check On issuance of an ACK this mode is changed by SIE to 1110 (NAK In - Status Out) CY7C64013C CY7C64113C Comments Page 39 of 51 [+] Feedback...
Page 40
Byte Count (bits 0..5, Figure 17-4) Data Valid (bit 6, Figure 17-4) Data0/1 (bit7 Figure 17-4) PID Status Bits (Bit[7..5], Figure 17-2) The validity of the received data CY7C64013C CY7C64113C Interrupt 2 1 0 Response SIE’s Response to the Host...
Received Data Valid Byte Count Byte Count Byte Count Byte Count Bit 5 Bit 4 Bit 3 Bit 2 Mode Bit 3 Mode Bit 2 CY7C64013C CY7C64113C Read/Write/ Default/ Bit 1 Bit 0 Both/- Reset P0.1 P0.0 11111111 BBBBBBBB P1.1 P1.0...
Including R Resistor All ports, LOW to HIGH edge All ports, HIGH to LOW edge = 3 mA = 8 mA = 1.9 mA (all ports 0,1,2,3) is below approximately 2.5V. CY7C64013C CY7C64113C +0.5V +0.5V Min. Max. Unit 3.15 3.45 –0.4...
Document History Page Document Title: CY7C64013C, CY7C64113C Full-Speed USB (12 Mbps) Function Document Number: 38-08001 Issue Orig. of REV. ECN NO. Date Change 109962 12/16/01 129715 02/05/04 429099 See ECN Document #: 38-08001 Rev. *B Description of Change Change from Spec number: 38-00626 to 38-08001...
Need help?
Do you have a question about the CY7C64013C and is the answer not in the manual?
Questions and answers