CY7C63231A-PXC Cypress Semiconductor Corp, CY7C63231A-PXC Datasheet

no-image

CY7C63231A-PXC

Manufacturer Part Number
CY7C63231A-PXC
Description
IC MCU 3K USB LS PERIPH 18-DIP
Manufacturer
Cypress Semiconductor Corp
Series
enCoRe™r
Datasheets

Specifications of CY7C63231A-PXC

Applications
USB Microcontroller
Core Processor
M8B
Program Memory Type
OTP (3 kB)
Controller Series
CY7C632xx
Ram Size
96 x 8
Interface
USB
Number Of I /o
10
Voltage - Supply
3.5 V ~ 5.5 V
Operating Temperature
0°C ~ 70°C
Mounting Type
Through Hole
Package / Case
18-DIP (0.300", 7.62mm)
Operating Temperature (max)
70C
Operating Temperature (min)
0C
Operating Temperature Classification
Commercial
Mounting
Through Hole
Processor Series
CY7C63xx
Core
M8B
Data Bus Width
16 bit
Program Memory Size
3 KB
Data Ram Size
96 B
Interface Type
PS2, USB
Maximum Clock Frequency
12 MHz
Number Of Programmable I/os
10
Number Of Timers
1
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY7C63231A-PXC
Manufacturer:
CYP
Quantity:
485
Part Number:
CY7C63231A-PXC
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
1
Features
Cypress Semiconductor Corporation
Document #: 38-08028 Rev. *D
enCoRe™ USB - enhanced Component Reduction
Flexible, cost-effective solution for applications that combine
PS/2 and low-speed USB, such as mice, gamepads, joysticks,
and many others
USB Specification Compliance
8-bit RISC microcontroller
Internal oscillator eliminates the need for an external crystal
or resonator
Interface can auto-configure to operate as PS/2 or USB with-
out the need for external components to switch between
modes (no GPIO pins needed to manage dual mode capa-
bility)
Internal 3.3V regulator for USB pull-up resistor
Configurable GPIO for real-world interface without external
components
Conforms to USB Specification, Version 2.0
Conforms to USB HID Specification, Version 1.1
Supports 1 low-speed USB device address
Supports 1 control endpoint and 1 data endpoint
Integrated USB transceiver
3.3V regulated output for USB pull-up resistor
Harvard architecture
6-MHz external ceramic resonator or internal clock mode
12-MHz internal CPU clock
Internal memory
96 bytes of RAM
3 Kbytes of EPROM
198 Champion Court
enCoRe™ USB Low-Speed USB
I/O ports
Internal low-power wake-up timer during suspend mode
Optional 6-MHz internal oscillator mode
Watchdog timer (WDT)
Low-voltage Reset at 3.75V
Internal brown-out reset for suspend mode
Improved output drivers to reduce EMI
Operating voltage from 4.0V to 5.5VDC
Operating temperature from 0 to 70 degrees Celsius
Industry-standard programmer support
available in DIE form or 16-pin PDIP
available in 18-pin SOIC, 18-pin PDIP
Interface can auto-configure to operate as PS/2 or USB
No external components for switching between PS/2 and
USB modes
Up to 10 versatile General Purpose I/O (GPIO) pins, individ-
ually configurable
High current drive on any GPIO pin: 50 mA/pin current sink
Each GPIO pin supports high-impedance inputs, internal
pull-ups, open drain outputs, or traditional CMOS outputs
Maskable interrupts on all I/O pins
XTALIN, XTALOUT and VREG can be configured as addi-
tional input pins
Periodic wake-up with no external components
Allows fast start-up from suspend mode
San Jose
Peripheral Controller
,
CA 95134-1709
CY7C63221/31A
Revised October 20, 2010
408-943-2600
[+] Feedback

Related parts for CY7C63231A-PXC

CY7C63231A-PXC Summary of contents

Page 1

... CPU clock ❐ Internal memory ❐ 96 bytes of RAM ❐ 3 Kbytes of EPROM ❐ Cypress Semiconductor Corporation Document #: 38-08028 Rev. *D enCoRe™ USB Low-Speed USB Interface can auto-configure to operate as PS/2 or USB ❐ No external components for switching between PS/2 and ❐ USB modes I/O ports ■ ...

Page 2

Functional Overview enCoRe USB - The New USB Standard Cypress has reinvented its leadership position in the low-speed USB market with a new family of innovative microcontrollers. Introducing...enCoRe™ USB—“enhanced Component Reduction.” Cypress has leveraged its design expertise in USB solutions ...

Page 3

Logic Block Diagram XTALIN/P2.1 XTALOUT/P2.2 XTALIN/P2.1 Internal Oscillator EPROM 3 Kbytes Brown-Out Reset W atch Dog Timer Low Voltage Reset Document #: 38-08028 Rev. *D XTALOUT Xtal W ake-Up RAM Oscillator Timer 96 Bytes 8-bit RISC Core Interrupt USB Controller ...

Page 4

Contents Pin Configurations ........................................................... 5 Pin Assignments .............................................................. 6 Programming Model ......................................................... 7 Program Counter (PC) ................................................ 7 8-bit Accumulator (A) ................................................... 7 8-bit Index Register (X) ............................................... 7 8-bit Program Stack Pointer (PSP) .............................. 7 8-bit Data Stack Pointer ...

Page 5

... Pin Configurations CY7C63221A 16-pin PDIP P0 P0.5 P0.6 P0 P0 D+/SCLK D–/SDATA PP 10 VREG/P2 XTALOUT/P2.2 XTALIN/P2.1 8 Document #: 38-08028 Rev. *D (Top View) CY7C63231A 18-pin SOIC/PDIP P0.4 P0 P0.1 2 P0.5 P0.6 P0 P0 P1.1 P1 D+/SCLK D–/SDATA VREG/P2.0 CC XTALIN/P2.1 10 XTALOUT/P2.2 9 CY7C63221/31A ...

Page 6

... VREG/P2 Document #: 38-08028 Rev. *D CY7C63231A/ CY7C63221A-XC 18-Pin/Pad USB differential data lines (D– and D+), or PS/2 clock and data 12 13 signals (SDATA and SCLK GPIO Port 0 capable of sinking mA/pin, or sinking 15, 16, 17, 18 controlled low or high programmable current. Can also source 2 mA current, provide a resistive pull-up, or serve as a high-impedance input ...

Page 7

Programming Model Refer to the CYASM Assembler User’s Guide for more details on firmware operation with the microcontrollers. Program Counter (PC) The 14-bit program counter (PC) allows access for 3 Kbytes of EPROM using the architecture. The program counter is ...

Page 8

Address Modes The microcontroller supports three addressing modes for instructions that require data operands: data, direct, and indexed. Data The “Data” address mode refers to a data operand that is actually a constant encoded in the instruction example, ...

Page 9

Instruction Set Summary Refer to the CYASM Assembler User’s Guide for detailed information on these instructions. Note that conditional jump instructions (i.e. JC, JNC, JZ, JNZ) take 5 cycles if jump is taken, 4 cycles if no jump. MNEMONIC Operand ...

Page 10

Memory Organization Program Memory Organization Figure 1. Program Memory Space with Interrupt Vector Table After reset 14-bit PC Note 1. The upper 32 bytes of the 3K PROM are reserved. Therefore, user’s program must not over-write this space. Document #: ...

Page 11

Data Memory Organization The microcontroller provides 96 bytes of data RAM. In normal usage, the SRAM is partitioned into four areas: program stack, data stack, user variables and USB endpoint FIFOs as shown below: After reset 8-bit DSP 8-bit PSP ...

Page 12

I/O Register Summary I/O registers are accessed via the I/O Read (IORD) and I/O Write (IOWR, IOWX) instructions. IORD reads the selected port into the accumulator. IOWR writes data from the accumulator to the selected port. Indexed I/O Write (IOWX) ...

Page 13

Clocking The chip can be clocked from either the internal on-chip clock, or from an oscillator based on an external resonator/crystal, as shown in Figure 2. No additional capacitance is included on chip at the XTALIN/OUT pins. Operation is controlled ...

Page 14

Bit 3: Low-voltage Reset Disable When V drops below V (see Section for the value of CC LVR V ) and the Low-voltage Reset circuit is enabled, the micro- LVR controller enters a partial suspend state for a period of ...

Page 15

LVR/BOR and WDR respectively. The firmware can interrogate these bits to determine the cause of a reset. The microcontroller begins execution from ROM address 0x0000 after a LVR, BOR, or WDR reset. Although this looks like ...

Page 16

Suspend Mode The parts support a versatile low-power suspend mode. In suspend mode, only an enabled interrupt or a LOW state on the D–/SDATA pin will wake the part. Two options are available. For lowest power, all internal circuits can ...

Page 17

Table 2. Wake-up Timer Adjust Settings Adjust Bits [2:0] (Bits [6:4] in Figure 3) 000 (reset state) 001 010 011 100 101 110 111 See Section for the value of t General Purpose I/O Ports Ports 0 and 1 provide ...

Page 18

Bit # 7 6 Bit Name Read/Write R/W R/W Reset 0 0 Bit [7:0]: P0[7: Port Pin is logic HIGH Bit # 7 6 Bit Name Notes Read/Write - - Reset 0 0 Bit [7:2]: Reserved Bit [1:0]: ...

Page 19

Figure 10. GPIO Port 1 Mode0 Register (Address 0x0C) Bit # 7 6 Bit Name Read/Write - - Reset 0 0 Bit [7:2]: Reserved Bit [1:0]: P1[1:0] Mode Port Pin Mode 0 is logic HIGH Figure 11. ...

Page 20

Table 3. Ports 0 and 1 Output Control Truth Table Data Register Mode1 Auxiliary Input Port Port 2 serves as an auxiliary input port as shown in Figure ...

Page 21

Send and update the data toggle bit (Data1/0). ■ Bit stuffing/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. ...

Page 22

Firmware can clear the Bus Activity bit, but only the SIE can set it. The 1.024-ms timer interrupt service routine is normally used to check and ...

Page 23

USB Device The supports one USB Device Address with two endpoints: EP0 and EP1. Figure 14. USB Device Address Register (Address 0x10) Bit # 7 6 Bit Name Device Address Enable Read/Write R/W R/W Reset either USB ...

Page 24

Bit 6: IN Received valid IN packet has been received. This bit is updated to ‘1’ after the last received packet transaction. This bit is cleared by any non-locked writes to the register. 0 ...

Page 25

Bit 7: Data Toggle This bit selects the DATA packet's toggle state. For IN trans- actions, firmware must set this bit to the select the transmitted Data Toggle. For OUT or SETUP transactions, the hardware sets this bit to the ...

Page 26

Figure 18. Diagram of USB - PS/2 System Connections Port 2.0 VREG Enable Port 2.5 12-bit Free-running Timer The 12-bit timer operates with a 1-μs tick, provides two interrupts (128μs and 1.024ms) and allows the firmware to directly time events ...

Page 27

Bit [7:4]: Reserved Bit [3:0]: Timer upper 4 bits Processor Status and Control Register Figure 22. Processor Status and Control Register (Address 0xFF) Bit # 7 6 Bit ...

Page 28

No event detected since last cleared by firmware or LVR/WDR. Bit 4: LVR/BOR Reset The Low-voltage or Brown-out Reset is set to ‘1’ during a power-on reset. Firmware can check bits 4 and 6 in the reset handler ...

Page 29

Interrupt Vectors The Interrupt Vectors supported by the device are listed in Table 5. The highest priority interrupt is #1 (USB Bus Reset / PS/2 activity), and the lowest priority interrupt is #11 (Wake-up Timer). Although Reset is not an ...

Page 30

GPIO edge, while setting a Polarity bit to ‘1’ allows an interrupt on a rising GPIO edge. The Polarity Registers reset to 0 and are shown in Figure for Port 0 and Figure 29 for Port 1. All of the ...

Page 31

Figure 25. Interrupt Controller Logic Block Diagram CLR Enable [0] USB- (Reg 0x20) CLK PS/2 Int CLR Enable [1] (Reg 0x21) EP1 CLK Int CLR Enable [7] (Reg 0x20) Wake-up CLK ...

Page 32

Bit [7:0]: P1 [7:0] Interrupt Enable 1 = Enables GPIO interrupts from the corresponding input pin Disables GPIO interrupts from the corresponding input pin. Figure 28. Port 0 Interrupt Polarity Register (Address 0x06) Bit # 7 6 Bit ...

Page 33

USB Mode Tables The following tables give details on mode setting for the USB Serial Interface Engine (SIE) for both the control endpoint (EP0) and non-control endpoint (EP1). Table 6. USB Register Mode Encoding for Control and Non-Control Endpoint Mode ...

Page 34

An 'Ignore' means that the device sends no handshake tokens. An 'Accept' means that the SIE will respond with an ACK to a valid SETUP transaction. Comments Column: Some Mode Bits are automatically changed by the SIE in response to ...

Page 35

Table 8. Details of Modes for Differing Traffic Conditions End Point Mode Rcved Cou Token nt Buffer Dval SETUP Packet (if accepting) <= See6 SETUP 10 data valid See6 SETUP > 10 junk x See 6 ...

Page 36

Table 8. Details of Modes for Differing Traffic Conditions(continued) End Point Mode OUT > OUT x UC invalid Control Read ACK ...

Page 37

Table 8. Details of Modes for Differing Traffic Conditions(continued) End Point Mode < OUT 10 UC valid OUT > OUT x UC invalid 1 0 ...

Page 38

Register Summary Address Register Name Bit 7 0x00 Port 0 Data 0x01 Port 1 Data 0x02 Port 2 Data Reserved 0x0A GPIO Port 0 Mode 0 0x0B GPIO Port 0 Mode 1 0x0C GPIO Port 1 Mode 0 0x0D GPIO ...

Page 39

Absolute Maximum Ratings Storage Temperature ................................. –65°C to +150°C Ambient Temperature with Power Applied...... –0°C to +70°C Supply voltage on V relative to V ............–0.5V to +7. Input Voltage .................................. –0. Voltage Applied to ...

Page 40

Parameter V Differential Input Sensitivity DI V Differential Input Common Mode Range CM V Single Ended Receiver Threshold SE C Transceiver Capacitance IN I Hi-Z State Data Line Leakage LO R External Bus Pull-up resistance (D– External Bus ...

Page 41

Switching Characteristics Parameter Description Internal Clock Mode F Internal Clock Frequency ICLK F Internal Clock Frequency, USB ICLK2 mode External Oscillator Mode T Input Clock Cycle Time CYC T Clock HIGH Time CH T Clock LOW Time CL Reset Timing ...

Page 42

CLOCK crs V ol D− T PERIOD Differential Data Lines Document #: 38-08028 Rev. *D Figure 31. Clock Timing T CYC Figure 32. USB Data Signal Timing ...

Page 43

Figure 34. Differential to EOP Transition Skew and EOP Width T PERIOD Crossover Differential Data Lines PERIOD Differential Data Lines Document #: 38-08028 Rev. *D Crossover Point Extended Point Diff. Data to SE0 Skew + T ...

Page 44

... Ordering Information EPROM Ordering Code Size CY7C63231A-SXC 3 KB CY7C63231A-PXC 3 KB CY7C63221A- Package Diagrams Document #: 38-08028 Rev. *D Package Name Package Type S1 18-Pin Small Outline Package Pb-free P3 18-Pin (300-Mil) PDIP Pb-free - 18-Pad DIE Form Figure 36. 16-Pin (300-Mil) Molded DIP P1 CY7C63221/31A Operating Range Commercial ...

Page 45

Document #: 38-08028 Rev. *D Figure 37. 18-Pin (300-Mil) Molded SOIC S1 Figure 38. 18-Pin (300-Mil) Molded DIP P3 CY7C63221/31A 51-85023 *C 51-85010-C Page [+] Feedback ...

Page 46

Die Step: 2031.0 x 2279.0 microns Pad Size microns Table 9 below shows the die pad coordinates for the CY7C63221A-XC. The center location of each bond pad is relative to the center of the die which has ...

Page 47

... Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement ...

Related keywords