CY7C63001C-SXC Cypress Semiconductor Corp, CY7C63001C-SXC Datasheet - Page 14

no-image

CY7C63001C-SXC

Manufacturer Part Number
CY7C63001C-SXC
Description
IC MCU 4K USB MCU LS 20SOIC
Manufacturer
Cypress Semiconductor Corp
Series
M8™r
Datasheet

Specifications of CY7C63001C-SXC

Applications
USB Microcontroller
Core Processor
M8A
Program Memory Type
OTP (4 kB)
Controller Series
CY7C630xx
Ram Size
128 x 8
Interface
USB
Number Of I /o
12
Voltage - Supply
4 V ~ 5.25 V
Operating Temperature
0°C ~ 70°C
Mounting Type
Surface Mount
Package / Case
20-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
428-1850

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY7C63001C-SXC
Manufacturer:
CYP
Quantity:
3 847
Document #: 38-08026 Rev. *B
6.9.1
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 6-17 shows the format of the
USB Address Register.
Typical enumeration steps:
10.The USB Controller retrieves the descriptors from its
6.9.2
All USB devices are required to have an endpoint number 0
that is used to initialize and manipulate the device. Endpoint 0
11.Enumeration is complete after the host has received all the
1. The host computer sends a SETUP packet followed by a
2. The USB Controller decodes the request and retrieves its
3. The host computer performs a control read sequence and
4. After receiving the descriptor, the host computer sends a
5. The USB Controller stores the new address in its USB
6. The host sends a request for the Device descriptor using
7. The USB Controller decodes the request and retrieves the
8. The host performs a control read sequence and the USB
9. The host generates control reads to the USB Controller to
DATA packet to USB address 0 requesting the Device
descriptor.
Device descriptor from the program memory space.
the USB Controller responds by sending the Device
descriptor over the USB bus.
SETUP packet followed by a DATA packet to address 0
assigning a new USB address to the device.
Device Address Register after the no-data control
sequence completes.
the new USB address.
Device descriptor from the program memory.
Controller responds by sending its Device descriptor over
the USB bus.
request the Configuration and Report descriptors.
program space and returns the data to the host over the
USB.
descriptors.
Reserved
COUNT3
R/W
b7
b7
0
0
USB Enumeration Process
Endpoint 0
COUNT2
ADR6
R/W
R/W
b6
b6
0
0
Figure 6-17. USB Device Address Register (USB DA - Address 0x12)
Figure 6-18. USB Endpoint 0 RX Register (Address 0x14)
COUNT1
ADR5
R/W
R/W
b5
b5
0
0
COUNT0
ADR4
R/W
R/W
b4
b4
0
0
provides access to the device’s 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.
6.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 6-18.
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.
TOGGLE
ADR3
R/W
b3
b3
0
R
0
ADR2
R/W
R/W
b2
b2
IN
0
0
ADR1
OUT
R/W
R/W
b1
b1
0
0
CY7C63001C
CY7C63101C
Page 14 of 28
SETUP
ADR0
R/W
R/W
b0
b0
0
0

Related parts for CY7C63001C-SXC