CY7C64013-SC Cypress Semiconductor Corp, CY7C64013-SC Datasheet - Page 27

no-image

CY7C64013-SC

Manufacturer Part Number
CY7C64013-SC
Description
IC MCU 8K FULL SPEED USB 28SOIC
Manufacturer
Cypress Semiconductor Corp
Series
M8™r
Datasheet

Specifications of CY7C64013-SC

Applications
USB Microcontroller
Core Processor
M8C
Program Memory Type
OTP (8 kB)
Controller Series
CY7C640xx
Ram Size
256 x 8
Interface
I²C, USB, HAPI
Number Of I /o
19
Voltage - Supply
4 V ~ 5.25 V
Operating Temperature
0°C ~ 70°C
Mounting Type
Surface Mount
Package / Case
28-SOIC (7.5mm Width)
For Use With
428-1339 - KIT LOW SPEED PERSONALITY BOARD
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
428-1327

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY7C64013-SC
Manufacturer:
CY
Quantity:
15 625
Bit 1 : Receive Stop
Bit 0 : I
14.0
The CY7C64x13 processor provides a hardware assisted parallel interface for bus widths of 8, 16, or 24 bits, to accommodate
data transfer with an external microcontroller or similar device. Control bits for selecting the byte width are in the HAPI/I
Configuration Register (Figure 12-1), bits 1 and 0.
Signals are provided on Port 2 to control the HAPI interface. Table 14-1 describes these signals and the HAPI control bits in the
HAPI/I
overridden. The Port 2 output pins are in CMOS output mode and Port 2 input pins are in input mode (open drain mode with Q3
OFF in Figure 9-1).
Table 14-1. Port 2 Pin and HAPI Configuration Bit Definitions
HAPI Read by External Device from CY7C64x13:
In this case (see Figure 24-3), firmware writes data to the GPIO ports. If 16-bit or 24-bit transfers are being made, Port 0 should
be written last, since writes to Port 0 asserts the Data Ready bit and the DReady Pin to signal the external device that data is
available.
The external device then drives the OE and CS pins active (LOW), which causes the HAPI data to be output on the port pins.
When OE is returned HIGH (inactive), the HAPI/GPIO interrupt is generated. At that point, firmware can reload the HAPI latches
for the next output, again writing Port 0 last.
The Data Ready bit reads the opposite state from the external DReadyPin on pin P2[3]. If the DRDY Polarity bit is 0, DReadyPin
is active HIGH, and the Data Ready bit is active LOW.
HAPI Write by External Device to CY7C64x13:
In this case (see Figure 24-4), the external device drives the STB and CS pins active (LOW) when it drives new data onto the
port pins. When this happens, the internal latches become full, which causes the Latch Empty bit to be deasserted. When STB
is returned HIGH (inactive), the HAPI/GPIO interrupt is generated. Firmware then reads the parallel ports to empty the HAPI
latches. If 16-bit or 24-bit transfers are being made, Port 0 should be read last because reads from Port 0 assert the Latch Empty
bit and the LatEmptyPin to signal the external device for more data.
The Latch Empty bit reads the opposite state from the external LatEmptyPin on pin P2[2]. If the LEMPTY Polarity bit is 0,
LatEmptyPin is active HIGH, and the Latch Empty bit is active LOW.
Document #: 38-08001 Rev. *A
P2[2]
P2[3]
P2[4]
P2[5]
P2[6]
Bit
2
3
4
5
Pin
This bit is set when the slave is in receive mode and detects a stop bit on the bus. The Receive Stop bit is not set if the firmware terminates
the I
sets the Continue bit and clears the ACK bit.
Set this bit to override GPIO definition with I
pins are free to function as GPIOs. In I
configuration setting.
2
2
C Configuration Register. Enabling HAPI causes the GPIO setting in the GPIO Configuration Register (0x08) to be
C Enable
Hardware Assisted Parallel Interface (HAPI)
2
LatEmptyPin
DReadyPin
STB
OE
CS
Name
Data Ready
Latch Empty
DRDY Polarity
LEMPTY Polarity
C transaction by not acknowledging the previous byte transmitted on the I
Name
Out
Out
In
In
In
R/W
R
R
R/W
R/W
Direction
2
C-compatible mode, the two pins operate in open drain mode, independent of the GPIO
Ready for more input data from external interface.
Output data ready for external interface.
Strobe signal for latching incoming data.
Output Enable, causes chip to output data.
Chip Select (Gates STB and OE).
Description (HAPI/I
Asserted after firmware reads data from Port 0, until STB driven LOW.
Determines polarity of Data Ready bit and DReadyPin:
If 0, Data Ready is active LOW, DReadyPin is active HIGH.
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.
2
Asserted after firmware writes data to Port 0, until OE driven LOW.
C-compatible function on the two I
2
C Configuration Register)
Description (Port 2 Pin)
2
C-compatible bus, e.g. in receive mode if firmware
2
C-compatible pins. When this bit is cleared, these
CY7C64013
CY7C64113
Page 27 of 51
2
C

Related parts for CY7C64013-SC