CY7C652148-24LTXI [INFINEON]
USB-SPI single channel bridge with 6 GPIOs, 24-pin QFN;型号: | CY7C652148-24LTXI |
厂家: | Infineon |
描述: | USB-SPI single channel bridge with 6 GPIOs, 24-pin QFN |
文件: | 总33页 (文件大小:368K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
Please note that Cypress is an Infineon Technologies Company.
The document following this cover page is marked as “Cypress” document as this is the
company that originally developed the product. Please note that Infineon will continue
to offer the product to new and existing customers as part of the Infineon product
portfolio.
Continuity of document content
The fact that Infineon offers the following product as part of the Infineon product
portfolio does not lead to any changes to this document. Future revisions will occur
when appropriate, and any changes will be set out on the document history page.
Continuity of ordering part numbers
Infineon continues to support existing part numbers. Please continue to use the
ordering part numbers listed in the datasheet for ordering.
www.infineon.com
CY7C652148
USB-SPI Single Channel Bridge Controller
CY7C652148, USB-SPI Single Channel Bridge Controller
■ Ordering part number
❐ CY7C652148-24LTXI
❐ CY7C652148-24LTXIT
Features
■ USB 2.0-compliant, Full-Speed (12 Mbps)
❐ Supportscommunicationdriverclass(CDC), personalhealth
care device class (PHDC), and vendor-device class
❐ Battery charger detection (BCD) compliant with USB Battery
Charging Specification, Rev. 1.2 (Peripheral Detect only)
❐ Integrated USB termination resistors
Applications
■ Medical/healthcare devices
■ Point-of-Sale (POS) terminals
■ Test and measurement system
■ Gaming systems
■ Single-channel configurable SPI interface
❐ Data rate up to 3 MHz for SPI master and 1 MHz for SPI slave
❐ Data width: 4 bits to 16 bits
❐ 256 bytes for each transmit and receive buffer
❐ Supports Motorola, TI, and National SPI modes
■ Set-top box PC-USB interface
■ Industrial
■ Networking
■ General-purpose input/output (GPIO) pins: 6
■ Enabling USB connectivity in legacy peripherals
Functional Description
■ 512-byte flash for storing configuration parameters
■ Configuration utility (Windows) to configure the following:
❐ Vendor ID (VID), Product ID (PID), and Product and
Manufacturer descriptors
For a complete list of related resources, click here.
❐ SPI
❐ Charger detection
❐ GPIO
■ Driver support for VCOM and DLL
❐ Windows 10: 32- and 64-bit versions
❐ Windows 8.1: 32- and 64-bit versions
❐ Windows 8: 32- and 64-bit versions
❐ Windows 7: 32- and 64-bit versions
❐ Windows Vista: 32- and 64-bit versions
❐ Windows XP: 32- and 64-bit versions
❐ Mac OS-X: 10.6, 10.7
❐ Linux: Kernel version 2.6.35 onwards.
■ Clocking: Integrated 48-MHz clock oscillator
■ Supports bus-/self-powered configurations
■ USB Suspend mode for low power
■ Operating voltage: 1.71 to 5.5 V
■ Operating temperature
❐ Commercial: 0 °C to 70 °C
❐ Industrial: –40 °C to 85 °C
■ ESD protection: 2.2-kV HBM
■ RoHS-compliant package
❐ 24-pin QFN (4.0 mm × 4.0 mm, 0.55 mm, 0.5 mm pitch)
USB-Compliant
The USB-SPI Single Channel Bridge Controller is fully compliant with the USB 2.0 Specification and Battery
Charging Specification v1.2.
Cypress Semiconductor Corporation
Document Number: 002-31601 Rev. **
•
198 Champion Court
•
San Jose, CA 95134-1709
•
408-943-2600
Revised November 26, 2020
CY7C652148
USB Serial Bridge Controller Family
USB Serial bridge Controllers are a family of configurable products for most common applications requiring no firmware changes.
Configuration utility is provided to Configure USB-VID, USB-PID, USB Product and Manufacturer Descriptors. The same configuration
utility can be used to configure UART, I2C, SPI, Battery Charger Detection, GPIOs, Power mode, and so on.
Figure 1. USB Serial Bridge Controller Family
CY7C65211
24-QFN 10 GPIO
Configurable as:
USB-SPI
CY7C65223
24-QFN 4 GPIO
RS485 Support
S/W and H/W Flow
Control
USB-I2C
USB-UART
H/W Flow Control
CY7C65213A
32-QFN 8 GPIO
RS485 Support
S/W and H/W Flow
Control
CY7C652148
24-QFN
6 GPIO
CY7C65216
24-QFN
8 GPIO
Single Channel
CY7C65211A
24-QFN 10 GPIO
Configurable as:
USB-SPI
CY7C65213
32-QFN 8 GPIO
RS485 Support
H/W Flow Control
USB-I2C
USB-UART
H/W Flow Control
CY7C65215
32-QFN 17 GPIO*
Configurable as:
USB-SPI
USB-I2C
USB-UART
H/W Flow Control
CY7C65223D
32-QFN 4 GPIOs
RS485 Support
S/W and H/W Flow
Control
CY7C65214D
32-QFN
8 GPIO
CY7C65216D
32-QFN
12 GPIO
Dual Channel
CY7C65215A
32-QFN 17 GPIO*
Configurable as:
USB-SPI
USB-I2C
USB-UART
RS485 Support
H/W Flow Control
USB-I2C
Bridge Controller
USB-Serial Configurable
Bridge Controller
USB-UART
Bridge Controller
USB-SPI
Bridge Controller
Document Number: 002-31601 Rev. **
Page 2 of 32
CY7C652148
Table 1. USB Serial Family Feature Comparison
# of
USB-UART
USB-SPI
USB-I2C
Software Hardware
SPI Serial
Data
MPN
GPIO
RS485
UART
Pins**
SPI Master/ I2C Master/
Channels
Flow
Control
Flow
Control
Support
Slave
Slave
Width (bit)
CY7C65213
CY7C65213A
CY7C65223
CY7C65223D
CY7C652148
CY7C65214D
CY7C65216
CY7C65216D
CY7C65211
CY7C65211A
CY7C65215
1
1
1
2
1
2
1
2
1
1
2
2
8
8
N
Y
Y
Y
–
N
N
Y
Y
–
Y
Y
Y
Y
–
8
–
–
–
–
–
–
–
–
–
8
–
4
2 / 4 / 6
–
4
2 / 4 / 6 / 8
–
6
–
4-16 bits Master/Slave
–
8
–
–
–
–
4-16 bits Master/Slave
–
8
–
–
–
–
–
–
–
–
Master/Slave
Master/Slave
12
10*
10*
17*
17*
–
–
–
–
N
Y
N
Y
N
N
N
N
Y
Y
Y
Y
2 / 4 / 6
2 / 4 / 6
2 / 4 / 6
4-16 bits Master/Slave Master/Slave
4-16 bits Master/Slave Master/Slave
4-16 bits Master/Slave Master/Slave
CY7C65215A
2 / 4 / 6 / 8 4-16 bits Master/Slave Master/Slave
Legend
2
* Represents the total GPIO count offered by the part. This count can dynamically change based on UART / SPI / I C pin configuration.
** UART Pins
**UART Pins
UART Signal
2
4
6
8
RxD and TxD
RxD, TxD, RTS#, CTS#
RxD, TxD, RTS#, CTS#, DTR#, DSR#
RxD, TxD, RTS#, CTS#, DTR#, DSR#, DCD#, RI#
Document Number: 002-31601 Rev. **
Page 3 of 32
CY7C652148
Table 2. Default Serial Channel Configuration
# of
USB- UART
USB-SPI
USB-I2C
USB
Protocol
SPI Master/ I2C Master/
MPN
GPIO
Is RS485
Channels
UART Pins
Enabled
Slave
Slave
CY7C65213
CY7C65213A
CY7C65223
CY7C65223D
CY7C652148
CY7C65214D
CY7C65216
CY7C65216D
CY7C65211
CY7C65211A
CY7C65215
CY7C65215A
1
1
1
2
1
2
1
2
1
1
2
2
4
4
CDC**
CDC**
N
N
Y
Y
8
8
4
4
–
–
–
–
6
6
6
6
–
–
–
–
–
–
–
–
4
CDC**
4
CDC**
6
Vendor***
Vendor***
Vendor***
Vendor***
CDC**
–
–
Master
–
8
Master
–
8
–
–
–
–
–
–
–
Slave
12
3
–
Master
N
N
N
N
–
–
–
–
3
CDC**
4
CDC**
4
CDC**
** USB CDC Protocol allows the USB host Operating System to detect the device as Virtual COM Port Device.
*** USB Vendor Protocol allows the USB host operating system to detect the device as general USB device. This device is accessible using Cypress Application Library.
Document Number: 002-31601 Rev. **
Page 4 of 32
CY7C652148
More Information
Cypress provides a wealth of data at www.cypress.com to help you to select the right device for your design, and to help you to quickly
and effectively integrate the device into your design. For a comprehensive list of resources, see the document USB-Serial Bridge
Controller Product Overview.
■ Overview: USB Portfolio, USB Roadmap
For complete list of knowledge base articles, click here.
■ USB 2.0 Product Selectors: USB-Serial Bridge Controller, USB
■ Code Examples: USB Full-Speed
to UART Controller (Gen I)
■ Development Kits:
■ Knowledge Base Articles: Cypress offers a large number of
USB knowledge base articles covering a broad range of topics,
from basic to advanced level. Recommended knowledge base
articles for getting started with USB-Serial Bridge Controller
are:
❐ CYUSBS232, Cypress USB-UART LP Reference Design Kit
❐ CYUSBS234, Cypress USB-Serial (Single Channel) Devel-
opment Kit
❐ CYUSBS236, Cypress USB-Serial (Dual Channel) Develop-
ment Kit
❐ KBA85909 – Key Features of the Cypress® USB-Serial
■ Models: IBIS
Bridge Controller
❐ KBA85920 – USB-UART and USB-Serial
❐ KBA85921
–
Replacing FT232R with CY7C65213
USB-UART LP Bridge Controller
❐ KBA85913 – Voltage supply range for USB-Serial
❐ KBA89355 – USB Serial Cypress Default VID and PID
❐ KBA92641 – USB-Serial Bridge Controller Managing I/Os
using API
❐ KBA92442– Non-Standard Baud Rates inUSB-Serial Bridge
Controllers
❐ KBA91366
–
Binding
a
USB-Serial Device to
a
Microsoft® CDC Driver
❐ KBA92551 – Testing a USB-Serial Bridge Controller
Configured as USB-UART with Linux®
❐ KBA91299 – Interfacing an External I2C Device with the
CYUSBS234/236 DVK
Document Number: 002-31601 Rev. **
Page 5 of 32
CY7C652148
Block Diagram
nXRES
Reset
Internal
48 MHz OSC
VDDD
Voltage
Regulator
Serial Communication Block
Internal
32 KHz OSC
VCCD
USB
256 Bytes TX
FIFO
VBUS
BCD
SPI
VBUS Regulator
SPI
256 Bytes RX
FIFO
Battery Charger
Detection
512 Bytes
Flash
Memory
SIE
USB
Transceiver with
Integrated
USBDP
USBDM
GPIO
GPIO
Resistor
Document Number: 002-31601 Rev. **
Page 6 of 32
CY7C652148
Contents
Functional Overview ........................................................8
USB and Charger Detect .............................................8
Serial Communication .................................................8
GPIO Interface ............................................................8
Default Configuration ...................................................8
Memory .......................................................................8
System Resources ......................................................8
Suspend and Resume .................................................8
WAKEUP .....................................................................8
Software ......................................................................9
Internal Flash Configuration ........................................9
Electrical Specifications ................................................10
Absolute Maximum Ratings .......................................10
Operating Conditions .................................................10
Device-Level Specifications ......................................10
GPIO .........................................................................11
nXRES .......................................................................12
SPI Specifications .....................................................13
Flash Memory Specifications ....................................15
Pin Description ...............................................................16
USB Power Configurations ............................................19
USB Bus-Powered Configuration ..............................19
Self-Powered Configuration ......................................20
USB Bus-Powered with Variable I/O Voltage ............21
Application Examples ....................................................22
Battery-Operated, Bus-Powered USB to MCU
with Battery Charge Detection ..................................22
USB to SPI Bridge .....................................................24
Ordering Information ......................................................28
Ordering Code Definitions .........................................28
Package Information ......................................................29
Acronyms ........................................................................30
Document Conventions .................................................30
Units of Measure .......................................................30
Document History Page .................................................31
Sales, Solutions, and Legal Information ......................32
Worldwide Sales and Design Support .......................32
Products ....................................................................32
PSoC® Solutions .......................................................32
Cypress Developer Community .................................32
Technical Support .....................................................32
Document Number: 002-31601 Rev. **
Page 7 of 32
CY7C652148
■ BCD0/BCD1: Two-pin output to indicate the type of USB
charger
Functional Overview
The CY7C652148 is a Full-Speed USB controller that enables
seamless PC connectivity for peripherals with serial interface.
CY7C652148 is BCD compliant with the USB Battery Charging
Specification, Rev. 1.2. It integrates a voltage regulator, an oscil-
lator, and flash memory for storing configuration parameters,
■ BUSDETECT: Connects the VBUS pin for USB host detection
Default Configuration
SPI Master is the default configuration of CY7C652148.
CY7C652148 can be configured as USB to SPI slave bridge
using configuration utility.
offering
a cost-effective solution. CY7C652148 supports
bus-powered and self-powered modes and enables efficient
system power management with suspend and remote wake-up
signals. It is available in a 24-pin QFN package.
Memory
CY7C652148 has a 512-byte flash. Flash is used to store USB
parameters, such as VID/PID, serial number, product and
manufacturer descriptors, which can be programmed by the
configuration utility.
USB and Charger Detect
USB
CY7C652148 has a built-in USB 2.0 Full-Speed transceiver. The
transceiver incorporates the internal USB series termination
resistors on the USB data lines and a 1.5-k pull-up resistor on
USBDP.
System Resources
Power System
CY7C652148 supports theUSB Suspend mode to control power
usage. CY7C652148 operates in bus-powered or self-powered
modes over a range of 3.15 to 5.5 V.
Charger Detection
CY7C652148 supports BCD for Peripheral Detect only and
complies with the USB Battery Charging Specification, Rev. 1.2.
It supports the following charging ports:
■ Standard Downstream Port (SDP): Allows the system to draw
up to 500 mA current from the host
Clock System
CY7C652148 has a fully integrated clock with no external
components required. The clock system is responsible for
providing clocks to all subsystems.
■ Charging Downstream Port (CDP): Allows the system to draw
up to 1.5 A current from the host
Internal 48-MHz Oscillator
■ Dedicated Charging Port (DCP): Allows the system to draw up
to 1.5 A of current from the wall charger
The internal 48-MHz oscillator is the primary source of internal
clocking in CY7C652148.
Serial Communication
Internal 32-kHz Oscillator
CY7C652148 has a serial communication block (SCB). Each
SCB can implement SPI interface. A 256-byte buffer is available
in both the TX and RX lines.
The internal 32-kHz oscillator is primarily used to generate
clocks for peripheral operation in the USB Suspend mode.
Reset
SPI Interface
The reset block ensures reliable power-on reset and brings the
device back to the default known state. The nXRES (active low)
pin can be used by the external devices to reset the
CY7C652148.
The SPI interface supports an SPI Master and SPI Slave. This
interface supports the Motorola, TI, and National Microwire
protocols. The maximum frequency of operation is 3 MHz in SPI
master mode and 1 MHz in SPI slave mode. It can support
transaction sizes ranging from 4 bits to 16 bits in length, SPI
slave supports 4 bits to 8 bits and 12 bits to 16 bits data width at
1 MHz operation. Whereas, it supports 9 bits,10 bits and 11 bits
data width operation at 500 kHz operation. (refer to USB to SPI
Bridge on page 24 for more details).
Suspend and Resume
The CY7C652148 device asserts the SUSPEND pin when the
USB bus enters the suspend state. This helps in meeting the
stringent suspend current requirement of the USB 2.0 specifi-
cation, while using the device in bus-powered mode. The device
resumes from the suspend state under either of the two following
conditions:
GPIO Interface
CY7C652148 has six GPIOs. The configuration utility allows
configuration of the GPIO pins. The configurable options are as
follows:
1. Any activity is detected on the USB bus
2. The WAKEUP pin is asserted to generate remote wakeup to
the host
■ TRISTATE: GPIO can be tristated through Config Utility
■ DRIVE 1: Output static 1
WAKEUP
The WAKEUP pin is used to generate the remote wakeup signal
on the USB bus. The remote wakeup signal is sent only if the
host enables this feature through the SET_FEATURE request.
The device communicates support for the remote wakeup to the
host through the configuration descriptor during the USB
enumeration process. The CY7C652148 device allows
enabling/disabling and polarity of the remote wakeup feature
through the configuration utility.
■ DRIVE 0: Output static 0
■ POWER#: Power control for bus power designs
■ TXLED#: Drives LED during USB transmit
■ RXLED#: Drives LED during USB receive
■ TX or RX LED#: Drives LED during USB transmit or receive
GPIO can be configured to drive LED at 8-mA drive strength.
Document Number: 002-31601 Rev. **
Page 8 of 32
CY7C652148
Device Configuration Utility (Windows only)
Software
A Windows-based configuration utility is available to configure
device initialization parameters. This graphical user application
provides an interactive interface to define the boot parameters
stored in the device flash.
Cypress delivers a complete set of software drivers and a config-
uration utility to enable configuration of the product during
system development.
Drivers for Linux Operating Systems
This utility allows the user to save a user-selected configuration
to text or xml formats. It also allows users to load a selected
configuration from text or xml formats. The configuration utility
allows the following operations:
Cypress provides a User Mode USB driver library
(libcyusbserial.so) that abstracts vendor commands for the SPI
interface and provides a simplified API interface for user applica-
tions. This library uses the standard open-source libUSB library
to enable USB communication. The Cypress serial library
supports the USB plug-and-play feature using the Linux 'udev'
mechanism.
■ View current device configuration
■ Select and configure SPI, battery charging, and GPIOs
■ Configure USB VID, PID, and string descriptors
■ Save or Load configuration
CY7C652148 binds to Linux USB Inbox driver.
Drivers for Mac OSx
You can download the free configuration utility and drivers at
www.cypress.com.
Cypress delivers a dynamically linked shared library
(CyUSBSerial.dylib) based on libUSB, which enables communi-
cation to the CY7C652148 device.
Internal Flash Configuration
In addition, CY7C652148 binds to Mac OSx native driver.
The internal flash memory can be used to store the configuration
parameters shown in the following table. A free configuration
utility is provided to configure the parameters listed in the table
to meet application-specific requirements over the USB
interface. The configuration utility can be downloaded at
www.cypress.com/usbserial.
Drivers for Windows Operating Systems
For Windows operating systems (XP, Vista, Win 7, Win 8, Win
8.1, and Windows 10), Cypress delivers a user-mode dynami-
cally linked library–CyUSBSerial DLL–that abstracts
a
vendor-specific interface of the CY7C652148 devices and
provides convenient APIs to the user. It provides interface APIs
for vendor-specific SPI and class-specific APIs for PHDC.
USB-SPI Bridge Controller works with Cypress provided USB
vendor class driver. The Cypress Windows drivers are MS logo
certified drivers.
These drivers are bound to device through WU (Windows
Update) services.
Cypress drivers also support Windows plug-and-play and power
management and USB Remote Wake-up.
Table 3. Internal Flash Configuration for CY7C652148
Parameter
USB Configuration
USB Vendor ID (VID)
USB Product ID (PID)
Manufacturer string
Product string
Default Value
Description
0x04B4
0x0004
Cypress
Default Cypress VID. Can be configured to customer VID.
Default Cypress PID. Can be configured to customer PID.
Can be configured with any string up-to 64 characters
USB-Serial (Single Channel) Can be configured with any string up-to 64 characters
Can be configured with any string up-to 64 characters
Serial string
Power mode
Bus powered
Can be configured to bus-powered or self-powered mode
Can be configured to any value from 0 to 500 mA. The configuration
descriptor will be updated based on this.
Max current draw
100 mA
Remote wakeup
Enabled
Vendor
Can be disabled. Remote wakeup is initiated by asserting the WAKEUP pin.
Can be configured to function in CDC, PHDC, or Cypress vendor class
USB interface protocol
Charger detect is disabled by default. When BCD is enabled, three of the
GPIOs must be configured for BCD.
BCD
Disabled
Document Number: 002-31601 Rev. **
Page 9 of 32
CY7C652148
Electrical Specifications
Latch-up current ....................................................................
140 mA
Absolute Maximum Ratings
Exceeding maximum ratings[1] may shorten the useful life of the
device.
Current per GPIO ..................................................................
25 mA
Storage temperature ............................... –55 °C to +100 °C
Operating Conditions
Ambient temperature with
power supplied (Industrial) ....................... –40 °C to +85 °C
TA (ambient temperature under bias)
Supply voltage to ground potential
Industrial ..........................................................–40 °C to +85 °C
VDDD ............................................................................ 6.0 V
VBUS supply voltage .... .......................................... 3.15 V to
5.25 V
VBUS ............................................................................ 6.0 V
VCCD .......................................................................... 1.95 V
VGPIO .............................................................. VDDD + 0.5 V
Static discharge voltage ESD protection levels:
VDDD supply voltage .... .......................................... 1.71 V to
5.50 V
VCCD supply voltage .... .......................................... 1.71 V to
1.89 V
■ 2.2-KV HBM per JESD22-A114
Device-Level Specifications
All specifications are valid for –40 °C TA 85 °C, TJ 100 °C, and 1.71 V to 5.50 V, except where noted.
Table 4. DC Specifications
Parameter
VBUS
Description
Min
Typ
Max
Units
Details/Conditions
3.15
3.30
3.45
V
Set and configure the correct voltage
range using a configuration utility for
BUS. Default 5 V.
VBUS supply voltage
4.35
1.71
5.00
1.80
5.25
1.89
V
V
V
Used to set I/O and core voltage. Set
and configure the correct voltage
range using a configuration utility for
VDDD
VDDD supply voltage
2.0
3.3
5.5
V
V
DDD. Default 3.3 V.
Do not use this supply to drive the
external device.
•
1.71 V VDDD 1.89 V: Short
the VCCD pin with the VDDD pin
VCCD
Output voltage (for core logic)
–
1.80
–
V
•
V
DDD > 2 V – connect a 1-µF
capacitor (Cefc) between the
VCCD pin and ground
Cefc
IDD1
External regulator voltage bypass
Operating supply current
1.00
–
1.30
20
1.60
–
µF
X5R ceramic or better
mA
USB 2.0 FS, no GPIO switching.
Does not include current through a
pull-up resistor on USBDP.
In USB suspend mode, the D+
voltage can go up to a maximum of
3.8 V.
IDD2
USB Suspend supply current
–
5
–
µA
Table 5. AC Specifications
Parameter
Description
Min
28
–
Typ
–
Max
Units
Details/Conditions
Zout
USB driver output impedance
44
–
–
–
Twakeup
Wakeup from USB Suspend mode
25
µs
Note
1. Usage above the Absolute Maximum conditions may cause permanent damage to the device. Exposure to Absolute Maximum conditions for extended periods of
time may affect device reliability. When used below Absolute Maximum conditions but above normal operating conditions, the device may not operate to specification.
Document Number: 002-31601 Rev. **
Page 10 of 32
CY7C652148
GPIO
Table 6. GPIO DC Specifications
Parameter
Description
Min
Typ
–
Max
Units
Details/Conditions
[2]
VIH
Input voltage high threshold
Input voltage low threshold
LVTTL input, VDDD< 2.7 V
LVTTL input, VDDD < 2.7V
LVTTL input, VDDD > 2.7V
LVTTL input, VDDD > 2.7V
0.7 × VDDD
–
V
V
V
V
V
V
CMOS Input
VIL
VIH
VIL
VIH
VIL
–
–
0.3 × VDDD
CMOS Input
[2]
[2]
0.7 × VDDD
–
–
–
–
–
–
–
2
–
–
0.3 × VDDD
–
–
–
0.8
IOH = 4 mA,
VDDD = 5 V +/- 10%
VOH
VOH
VOH
VOL
VOL
VOL
CMOS output voltage high level
CMOS output voltage high level
CMOS output voltage high level
CMOS output voltage low level
CMOS output voltage low level
CMOS output voltage low level
VDDD – 0.4
–
–
–
–
–
–
–
–
V
V
V
V
V
V
IOH = 4 mA,
VDDD = 3.3 V +/- 10%
VDDD – 0.6
IOH = 1 mA,
VDDD = 1.8 V +/- 5%
VDDD – 0.5
–
IOL = 8 mA,
VDDD = 5 V +/- 10%
–
–
–
0.4
0.6
0.6
IOL = 8 mA,
VDDD = 3.3 V +/- 10%
IOL = 4 mA,
VDDD = 1.8 V +/- 5%
Rpullup
Rpulldown
IIL
Pull-up resistor
3.5
5.6
5.6
–
8.5
8.5
2
kΩ
kΩ
nA
pF
–
Pull-down resistor
3.5
–
Input leakage current (absolute value)
Input capacitance
–
25 °C, VDDD = 3.0 V
CIN
–
25
–
7
–
–
–
Vhysttl
Vhyscmos
Input hysteresis LVTTL; VDDD > 2.7 V
Input hysteresis CMOS
40
–
C
mV
mV
0.05 × VDDD
–
Table 7. GPIO AC Specifications
Parameter Description
TRiseFast1
Min
Typ
Max
Units
Details/Conditions
VDDD = 3.3 V/ 5.5 V,
Cload = 25 pF
Rise Time in Fast mode
Fall Time in Fast mode
Rise Time in Slow mode
Fall Time in Slow mode
2
–
12
ns
VDDD = 3.3 V/ 5.5 V,
Cload = 25 pF
TFallFast1
TRiseSlow1
TFallSlow1
2
–
–
–
12
60
60
ns
ns
ns
VDDD = 3.3 V/ 5.5 V,
Cload = 25 pF
10
10
VDDD = 3.3 V/ 5.5 V,
Cload = 25 pF
TRiseFast2
TFallFast2
TRiseSlow2
TFallSlow2
Rise Time in Fast mode
Fall Time in Fast mode
Rise Time in Slow mode
Fall Time in Slow mode
2
20
2
–
–
–
–
20
100
20
ns
ns
ns
ns
VDDD = 1.8 V, Cload = 25 pF
VDDD = 1.8 V, Cload = 25 pF
VDDD = 1.8 V, Cload = 25 pF
VDDD = 1.8 V, Cload = 25 pF
20
100
Note
2.
V
must not exceed V
+ 0.2 V.
IH
DDD
Document Number: 002-31601 Rev. **
Page 11 of 32
CY7C652148
nXRES
Table 8. nXRES DC Specifications
Parameter
VIH
Description
Min
Typ
–
Max
Units
V
Details/Conditions
Input voltage high threshold
Input voltage low threshold
Pull-up resistor
0.7 × VDDD
–
–
–
–
–
–
VIL
–
3.5
–
–
0.3 × VDDD
V
Rpullup
CIN
5.6
5
8.5
–
kΩ
pF
Input capacitance
Vhysxres
Input voltage hysteresis
–
100
–
mV
Table 9. nXRES AC Specifications
Parameter
Description
Reset pulse width
Min
Typ
Max
Units
Details/Conditions
Tresetwidth
1
–
–
µs
–
Document Number: 002-31601 Rev. **
Page 12 of 32
CY7C652148
SPI Specifications
Figure 2. SPI Master Timing
FSPI
SCK
(CPOL=0,
Output)
SCK
(CPOL=1,
Output)
TDSI
MISO
(input)
MSB
THMO
LSB
TDMO
MOSI
(output)
MSB
LSB
SPI Master Timing for CPHA = 0 (Refer to Table 10)
FSPI
SCK
(CPOL=0,
Output)
SCK
(CPOL=1,
Output)
TDSI
MISO
(input)
LSB
THMO
MSB
TDMO
MOSI
(output)
MSB
LSB
SPI Master Timing for CPHA = 1 (Refer to Table 10)
Document Number: 002-31601 Rev. **
Page 13 of 32
CY7C652148
Figure 3. SPI Slave Timing
SSN
(Input)
FSPI
SCK
(CPOL=0,
Input)
TSSELSCK
SCK
(CPOL=1,
Input)
TDSO
THSO
MISO
(Output)
MSB
MSB
LSB
TDMI
MOSI
(Input)
LSB
SPI Slave Timing for CPHA = 0 (Refer to Table 10)
SSN
(Input)
FSPI
SCK
(CPOL=0,
Input)
TSSELSCK
SCK
(CPOL=1,
Input)
THSO
TDSO
MISO
(Ouput)
LSB
LSB
MSB
MSB
TDMI
MOSI
(Input)
SPI Slave Timing for CPHA = 1 (Refer to Table 10)
Document Number: 002-31601 Rev. **
Page 14 of 32
CY7C652148
Table 10. SPI AC Specifications
Parameter Description
FSPI
Min
–
Typ
–
Max
3
Units
MHz
bits
Details/Conditions
SPI operating frequency
(Master/Slave)
–
WLSPI
SPI word length
4
–
16
–
–
SPI Master Mode
MOSI valid after SClock driving
edge
TDMO
TDSI
–
20
0
–
–
–
15
–
ns
ns
ns
–
–
MISO valid before SClock
capturing edge
Previous MOSI data hold time with
respect to capturing edge at slave
THMO
–
–
–
–
SPI Slave Mode
TDMI
MOSI valid before Sclock
Capturing edge
40
–
–
–
–
ns
ns
MISO valid after Sclock driving
edge
TDSO
104.4
–
THSO
Previous MISO data hold time
0
–
–
–
–
ns
ns
–
–
TSSELSCK
SSEL valid to first SCK Valid edge
100
Flash Memory Specifications
Table 11. Flash Memory Specifications
Parameter
Fend
Description
Flash endurance
Min
Typ
Max
Units
Details/Conditions
100K
–
–
cycles
–
Flash retention. TA 85 °C,
10 K program/erase cycles
Fret
10
–
–
years
–
Document Number: 002-31601 Rev. **
Page 15 of 32
CY7C652148
Pin Description
Pin[3]
Type
GPIO
GPIO
Power
GPIO
GPIO
GPIO
Name
GPIO_6
GPIO_7
Default
GPIO IN
GPIO IN
Description
1
2
3
4
5
6
GPIO Input Pin (see Table 13)
GPIO Input Pin (see Table 13)
Digital Ground
VSSD
GPIO_8
GPIO_9
GPIO_10
GPIO IN
GPIO Input Pin (see Table 13)
GPIO OUT GPIO Output Pin (see Table 13)
GPIO OUT GPIO Output Pin (see Table 13)
Signal to external logic to indicate
USB Unconfigured state and USB Suspend
7
8
9
Output
Output
Input
POWER#
Suspend
Wakeup
Asserted when the part enters Low Power mode
Wakeup device from suspend mode. Can be configured as active high/low
using configuration utility.
10
11
12
13
USBIO
USBIO
Power
Power
USBDP
USBDM
VCCD
USB D+
USB D-
VCCD (Internal LDO Output)
Digital Ground
VSSD
Chip Reset active, low. Can be left unconnected or have a pull up resistor
connected when not in use.
14
Reset
nXRES
15
16
17
18
19
20
Power
Power
VBUS
VSSD (VBUS)
VSSA
USB VBUS
Digital Ground
Power
Analog Ground
GPIO
TX_RX_LED
Notification LED for SPI Tx/Rx Data
GPIO Input Pin (see Table 13)
Slave Select
GPIO
GPIO_1
GPIO IN
SCB/GPIO
SSEL_OUT
MISO
21
SCB/GPIO
SPI Master IN Slave OUT
22
23
SCB/GPIO
SCB/GPIO
Power
MOSI
SCLK
VDDD
SPI Master Out Slave IN
SPI Clock
24
VDDD Core
Note
3. Any pin acting as an Input pin should not be left unconnected.
Document Number: 002-31601 Rev. **
Page 16 of 32
CY7C652148
Figure 4. 24-pin QFN Pinout
GPIO_6
GPIO_7
VSSD
1
2
3
4
5
6
18
17
16
15
14
13
TX_RX_LED
VSSA
VSSD
CY7C652148-24QFN
Top View
VBUS
GPIO_8
GPIO_9
GPIO_10
nXRES
VSSD
Table 12. Serial Communication Block Configurations
[4]
Mode 0
Mode 1
Pin
Serial Port
SPI Master
GPIO_6
SPI Slave
GPIO_6
SCB_0
SCB_1
SCB_2
SCB_3
SCB_4
SCB_5
1
SSEL_OUT
MISO_IN
SSEL_IN
MISO_OUT
MOSI_IN
SCLK_IN
GPIO_7
20
21
22
23
2
MOSI_OUT
SCLK_OUT
GPIO_7
Note
4. The device is configured in Mode 0 as the default. Other modes can be configured using the configuration utility provided by Cypress.
Legend
GPIO
SCB
Document Number: 002-31601 Rev. **
Page 17 of 32
CY7C652148
Table 13. GPIO Configuration[5]
GPIO Configuration Option
Description
TRISTATE
DRIVE 1
DRIVE 0
I/O tristated
Output static 1
Output static 0
This output is used to control power to an external logic through a switch to cut power off during an
unconfigured USB device and USB suspend.
0 - USB device in Configured state
POWER#
1 - USB device in Unconfigured state or during USB suspend mode
TXLED#
RXLED#
Drives LED during USB transmit
Drives LED during USB receive
TX or RX LED#
Drives LED during USB transmit or receive
Configurable battery charger detect pins to indicate the type of USB charger (SDP, CDP, or DCP)
Configuration example:
00 - Draw up to 100 mA (unconfigured state)
01 - SDP (up to 500 mA)
10 - CDP/DCP (up to 1.5 A)
BCD0
BCD1
11 - Suspend (up to 2.5 mA)
This truth table can be configured using a configuration utility
VBUS detection. Connect the VBUS to this pin through a resistor network for VBUS detection when
using the BCD feature (refer to Figure 9, Figure 10, and Figure 11).
BUSDETECT
Note
5. These signal options can be configured on any of the available GPIO pins using the configuration utility provided by Cypress.
Document Number: 002-31601 Rev. **
Page 18 of 32
CY7C652148
The USB bus-powered system must comply with the following
requirements:
USB Power Configurations
The following section describes possible USB power configura-
tions for the CY7C652148. Refer to the Pin Description on page
16 for signal details.
1. The system should not draw more than 100 mA prior to USB
enumeration (Unconfigured state).
2. The system should not draw more than 2.5 mAduring the USB
Suspend mode.
USB Bus-Powered Configuration
3. A high-power bus-powered system (can draw more than
100 mA when operational) must use POWER# (configured
over GPIO) to keep the current consumption below 100 mA
prior to USB enumeration, and 2.5 mA during USB Suspend
state.
Figure 5 shows an example of the CY7C652148 in
a
bus-powered design. The VBUS is connected directly to the
CY7C652148 because it has an internal regulator.
4. The system should not draw more than 500 mAfrom the USB
host.
The configuration descriptor in the CY7C652148 flash should be
updated to indicate bus power and the maximum current
required by the system using the configuration utility.
Figure 5. Bus-Powered Configuration
CY7C652148
18 TX_RX_LED
19 GPIO_1
20 SSEL_OUT
21 MISO
24
15
USB
CONNECTOR
VDDD
22 MOSI
VBUS
USBDP
USBDM
VBUS
D+
D-
23 SCLK
10
11
1
2
4
5
6
7
GPIO_6
GPIO_7
GPIO_8
GPIO_9
GPIO_10
POWER#
GND
0.1 uF
4.7 uF
14
XRES
VCCD
8
9
12
SUSPEND
WAKEUP
1 uF
17 16 13
3
Document Number: 002-31601 Rev. **
Page 19 of 32
CY7C652148
When reset is asserted to CY7C652148, all the I/O pins are
tristated.
The configuration descriptor in the CY7C652148 flash should be
updated to indicate self-power using the configuration utility.
Self-Powered Configuration
Figure 6 shows an example of CY7C652148 in a self-powered
design. A self-powered system does not use the VBUS from the
host to power the system, but it has its own power supply. A
self-powered system has no restriction on current consumption
because it does not draw any current from the VBUS.
When the VBUS is present, CY7C652148 enables an internal,
1.5-k pull-up resistor on USBDP. When the VBUS is absent
(USB host is powered down), CY7C652148 removes the 1.5-k
pull-up resistor on USBDP. This ensures that no current flows
from the USBDP to the USB host through a 1.5-k pull-up
resistor, to comply with the USB 2.0 specification.
Figure 6. Self-Powered Configuration
3.3 V 3.3 V
CY7C652148
18 TX_RX_LED
19 GPIO_1
20 SSEL_OUT
21 MISO
24
15
VDDD
USB
CONNECTOR
22 MOSI
VBUS
USBDP
USBDM
VBUS
D+
D-
23 SCLK
10
11
1
2
4
5
6
7
GPIO_6
GPIO_7
GPIO_8
GPIO_9
GPIO_10
POWER#
GND
4.7 uF
0.1 uF
4.7 KΩ
10 KΩ
14
XRES
VCCD
8
9
12
SUSPEND
WAKEUP
1 uF
17 16 13
3
Document Number: 002-31601 Rev. **
Page 20 of 32
CY7C652148
The USB bus-powered system must comply with the following
conditions:
USB Bus-Powered with Variable I/O Voltage
Figure 7 shows CY7C652148 in a bus-powered system with
variable I/O voltage. A low dropout (LDO) regulator is used to
supply 1.8 V or 3.3 V, using a jumper switch the input of which is
5 V from the VBUS. Another jumper switch is used to select
1.8/3.3 V or 5 V from the VBUS for the VDDD pin of
CY7C652148. This allows I/O voltage and supply to external
logic to be selected among 1.8 V, 3.3 V, or 5 V.
■ The system should not draw more than 100 mA prior to USB
enumeration (unconfigured state)
■ The system should not draw more than 2.5 mA during USB
Suspend mode
■ A high-power bus-powered system (can draw more than 100
mA when operational) must use POWER# (configured over
GPIO) to keep the current consumption below 100 mA prior to
USB enumeration and 2.5 mA during the USB Suspend state
Figure 7. USB Bus-Powered with 1.8-V, 3.3-V, or 5-V Variable I/O Voltage[6]
1.8 V or 3.3 V or 5 V
Supply to External Logic
Power
Switch
CY7C652148
18 TX_RX_LED
1.8/3.3 V
19 GPIO_1
20 SSEL_OUT
21 MISO
1
2
3
24
Jumper to select
1.8 V/3.3 V or 5 V
VDDD
22 MOSI
15
10
VBUS
USBDP
USBDM
VBUS
D+
D-
GND
23 SCLK
USB
CONNECTOR
1
2
4
5
6
7
GPIO_6
GPIO_7
GPIO_8
GPIO_9
GPIO_10
POWER#
11
0.1uF
4.7 uF
14
nXRES
VCCD
VBUS
12
8
9
SUSPEND
WAKEUP
TC 1070
Vout Vin
SHDn
Vadj GND
1.8/3.3 V
1 uF
17 16 13
3
0.1 uF
1uF
1M
1 2 3
3.3 V
562K
1.8 V
2M
Jumper to select
1.8 V or 3.3 V
Note
6. 1.71 V VDDD 1.89 V - Short VCCD pin with VDDD pin; VDDD > 2 V - connect a 1-µF decoupling capacitor to the VCCD pin.
Document Number: 002-31601 Rev. **
Page 21 of 32
CY7C652148
To comply with the first requirement, the VBUS from the USB
host is connected to the battery charger as well as to
CY7C652148, as shown in Figure 8. When the VBUS is
connected, CY7C652148 initiates battery charger detection and
indicates the type of USB charger over BCD0 and BCD1. If the
USB charger is SDP or CDP, CY7C652148 enables a 1.5-K
pull-up resistor on the USBDP for Full-Speed enumeration.
When the VBUS is disconnected, CY7C652148 indicates an
absence of the USB charger over BCD0 and BCD1, and
removes the 1.5-K pull-up resistor on USBDP. Removing this
resistor ensures that no current flows from the supply to the USB
host through the USBDP, to comply with the USB 2.0 specifi-
cation.
Application Examples
The following section provides CY7C652148 application
examples.
Battery-Operated, Bus-Powered USB to MCU with
Battery Charge Detection
Figure 8 illustrates CY7C652148 as a USB-to-microcontroller
interface. The TXD and RXD lines are used for data transfer, and
the RTS# and CTS# lines are used for handshaking. The
SUSPEND pin indicates to the MCU if the device is in USB
Suspend, and the WAKEUP pin is used to wake up
CY7C652148, which in turn issues a remote wakeup to the USB
host.
This application illustrates a battery-operated system, which is
bus-powered. CY7C652148 implements the battery charger
detection functionality based on the USB Battery Charging
Specification, Rev. 1.2.
To comply with the second and third requirements, two signals
(BCD0 and BCD1) are configured over GPIO to communicate
the type of USB host charger and the amount of current it can
draw from the battery charger. BCD0 and BCD1 signals can be
configured using the configuration utility.
Battery-operated bus power systems must comply with the
following conditions:
■ Thesystemcanbe powered from the battery(if notdischarged)
andcanbeoperationaliftheVBUSisnotconnectedorpowered
down.
■ The system should not draw more than 100 mAfrom the VBUS
prior to USB enumeration and USB Suspend.
■ The system should not draw more than 500 mA for SDP and
1.5 A for CDP/DCP
Figure 8. USB to MCU Interface with Battery Charge Detection[7, 8, 9]
VDDD
VCC
CY7C652148
24
10K
VDDD
20
21
SSEL_OUT
10K
10K
EN1
SSEL
MISO
5
BCD0
BCD1
SYS
BAT
MISO
MOSI
SCLK
Battery
Charger
(MAX8856)
GPIO_9
EN2
6
14
3
22
23
GPIO_10
+
-
MOSI
SCLK
IN
MCU
nXRES
GPIO_9
BUSDETECT
15
VBUS
OVP
VBUS
D+
D-
10
11
USB
USBDP
USBDM
CONNECTOR
8
9
I/O
I/O
SUSPEND
WAKEUP
GND
12
VCCD
0.1 uF
GND
1 uF
17 16 13
3
VBUS
4.7 uF
0.1 uF
Notes
7. Add a 100-k pull-down resistor on the V
pin for quick discharge.
BUS
8. Refer Figure 9, Figure 10, Figure 11 and the corresponding descriptions for handling VBUS Over Voltage Protection (OVP).
9. BCD and BUSDETECT functionality are not enabled by default. USB-Serial Configuration Utility is provided to enable BCD and BUSDETECT functionality.
Document Number: 002-31601 Rev. **
Page 22 of 32
CY7C652148
In a battery charger system, a 9-V spike on the VBUS is possible. The CY7C652148 VBUS pin is intolerant to voltage above 6 V. In
the absence of over-voltage protection (OVP) on the VBUS line, the VBUS should be connected to BUSDETECT (GPIO configured)
using the resistive network and the output of the battery charger to the VBUS pin of CY7C652148, as shown in Figure 9.
Figure 9. 9 V Tolerant
B
A
Rs
Rs = 10 K
VBUS
VBUS = VDDD
SYS
BAT
Battery Charger
B
CY7C652148
R1
R2
A
B
+
-
R1 ≥ 10 kΩ
R2/(R1+R2) = VDDD/VBUS
BUSDETECT
A
GPIO
VBUS
VBUS > VDDD
When the VBUS and VDDD are at the same voltage potential,
the VBUS can be connected to the GPIO using a series resistor
(Rs). This is shown in the following figure. If there is a charger
failure and the VBUS becomes 9 V, then the 10-k resistor plays
two roles. It reduces the amount of current flowing into the
forward-biased diodes in the GPIO, and it reduces the voltage
seen on the pad.
When the VBUS > VDDD, a resistor voltage divider is required
to reduce the voltage from the VBUS down to VDDD for the GPIO
sensing the VBUS voltage. This is shown in the following figure.
The resistors should be sized as follows:
R1 >= 10 k
R2 / (R1 + R2) = VDDD / VBUS
The first condition limits the voltage and current for the charger
failure situation, as described in the previous paragraph, while
the second condition allows for normal-operation VBUS
detection.
Figure 10. GPIO VBUS Detection, VBUS = VDDD
VDDD
BUSDETECT
CY7C652148
Figure 11. GPIO VBUS Detection, VBUS > VDDD
VBUS
Rs
VDDD
BUSDETECT
CY7C652148
VBUS
R1
R2
Document Number: 002-31601 Rev. **
Page 23 of 32
CY7C652148
In the master mode, the SCLK, MOSI, and SSEL lines act as
outputs and MISO acts as an input. In the slave mode, the SCL
SCLK, MOSI, and SSEL lines act as inputs and MISO acts as an
output.
GPIO8 and GPIO9 are configured as RXLED# and TXLED# to
drive two LEDs to indicate USB receive and transmit.
USB to SPI Bridge
In Figure 12, CY7C652148 is configured as a USB to SPI Bridge.
The CY7C652148 SPI can be configured as a master or a slave
using the configuration utility. CY7C652148 supports SPI master
frequency up to 3 MHz and SPI slave frequency up to 1 MHz. It
can support transaction sizes ranging from 4 bits to 16 bits,
which can be configured using the configuration utility.
Figure 12. USB to SPI Bridge
1.8/3.3 V
VDDD
CY7C652148
SSEL_OUT
10K
1
2
3
24
Jumper to select
1.8 V/3.3 V or 5 V
VDDD
20
VCC
21
MISO
15
SPI
Slave
VBUS
VBUS
D+
D-
22
23
10
11
MOSI
SCLK
USB
CONNECTOR
USBDP
USBDM
GND
GND
0.1 uF
14
XRES
VCCD
12
1 uF
VBUS
17 16 13
3
TC 1070
VBUS
0.1 uF
VDDD
1.8/3.3 V
Vout
Vin
SHDn
0.1 uF
4.7 uF
4.7 uF
0.1 uF
Vadj GND
1M
1uF
1 2 3
3.3 V
562K
1.8 V
2M
Jumper to select
1.8 V or 3.3 V
CY7C652148 supports three versions of the SPI protocol:
Multiple data transfers may happen without the SSEL line
changing from '0' to '1' and back from '1' to '0' in between the
individual transfers. As a result, slaves must keep track of the
progress of data transfers to separate individual transfers.
When not transmitting data, the SSEL line is '1' and the SCLK is
typically off.
The Motorola SPI protocol has four modes that determine how
data is driven and captured on the MOSI and MISO lines. These
modes are determined by clock polarity (CPOL) and clock phase
(CPHA). Clock polarity determines the value of the SCLK line
when not transmitting data:
■ Motorola - This is the original SPI protocol.
■ Texas Instruments - A variation of the original SPI protocol in
whichthedataframesareidentifiedbyapulseontheSSELline.
■ National Semiconductors - A half-duplex variation of the
original SPI protocol.
Motorola
The original SPI protocol is defined by Motorola. It is a full-duplex
protocol: transmission and reception occur at the same time.
■ CPOL is '0': SCLK is '0' when not transmitting data.
■ CPOL is '1': SCLK is '1' when not transmitting data.
A single (full-duplex) data transfer follows these steps: The
master selects a slave by driving its SSEL line to '0'. Next, it
drives the data on its MOSI line and it drives a clock on its SCLK
line. The slave uses the edges of the transmitted clock to capture
the data on the MOSI line. The slave drives data on its MISO line.
The master captures the data on the MISO line. Repeat the
process for all bits in the data transfer.
The clock phase determines when data is driven and captured.
It is dependent on the value of CPOL.
Document Number: 002-31601 Rev. **
Page 24 of 32
CY7C652148
Table 14. SPI Protocol Modes
Mode
CPOL
CPHA
Description
0
1
2
3
0
0
1
1
0
1
0
1
Data is driven on a falling edge of SCLK. Data is captured on a rising edge of SCLK.
Data is driven on a rising edge of SCLK. Data is captured on a falling edge of SCLK.
Data is driven on a rising edge of SCLK. Data is captured on a falling edge of SCLK.
Data is driven on a falling edge of SCLK. Data is captured on a rising edge of SCLK.
Figure 13. Driving and Capturing MOSI/MISO Data As A Function of CPOL and CPHA
CPOL: ‘0’, CPHA: ‘0’
SCLK
MOSI/MISO
MSB
LSB
CPOL: ‘0’, CPHA: ‘1’
CPOL: ‘1’, CPHA: ‘0’
SCLK
MOSI/MISO
MSB
LSB
SCLK
MOSI/MISO
MSB
LSB
CPOL: ‘1’, CPHA: ‘0’
SCLK
MOSI/MISO
MSB
LSB
LEGEND:
CPOL:
CPHA:
SCLK:
MOSI:
MISO:
Clock Polarity
Clock Phase
SPI interface clock
SPI Master Out / Slave In
SPI Master In / Slave Out
Figure 14. Single 8-bit Data Transfer and Two Successive 8-bit Data Transfers in Mode 0 (CPOL is ‘0’, CPHA is ‘0’)
CPOL: ‘0’, CPHA: ‘0’, single data transfer
SCLK
SSEL
MOSI
MISO
MSB
MSB
LSB
LSB
CPOL: ‘0’, CPHA: ‘0’, two successive data transfers
SCLK
SSEL
MOSI
MISO
MSB
MSB
LSB MSB
LSB
LSB
LSB
MSB
LEGEND:
CPOL:
CPHA:
SCLK:
SSEL:
Clock Polarity
Clock Phase
SPI interface clock
SPI slave select
MOSI:
MISO:
SPI Master Out / Slave In
SPI Master In / Slave Out
Document Number: 002-31601 Rev. **
Page 25 of 32
CY7C652148
Texas Instruments
The TI SPI protocol only supports mode 1 (CPOLis ‘0’ and CPHA
is ‘1’): Data is driven on a rising edge of SCLK and data is
captured on a falling edge of SCLK.
The following figure illustrates a single 8-bit data transfer and two
successive 8-bit data transfers. The SSEL pulse precedes the
first data bit. Note how the SSEL pulse of the second data
transfer coincides with the last data bit of the first data transfer.
Texas Instruments' SPI protocol redefines the use of the SSEL
signal. It uses the signal to indicate the start of a data transfer,
rather than a low, active slave-select signal. The start of a
transfer is indicated by a high, active pulse of a single-bit transfer
period. This pulse may occur one cycle before the transmission
of the first data bit, or it may coincide with the transmission of the
first data bit. The transmitted clock SCLK is a free-running clock.
Single data transfer
SCLK
SSEL
MOSI
MSB
MSB
LSB
LSB
MISO
SCLK
Two successive data transfers
SSEL
MOSI
MSB
MSB
LSB
LSB
MSB
MSB
LSB
LSB
MISO
LEGEND:
SCLK:
SSEL:
MOSI:
MISO:
SPI interface clock
SPI slave select pulse
SPI Master Out / Slave In
SPI Master In / Slave Out
The following figure illustrates a single 8-bit data transfer and two successive 8-bit data transfers. The SSEL pulse coincides with the
first data bit.
Single data transfer
SCLK
SSEL
MOSI
MISO
MSB
MSB
LSB
LSB
Two successive data transfers
SCLK
SSEL
MOSI
MISO
MSB
MSB
LSB
LSB
MSB
MSB
LSB
LSB
LEGEND:
SCLK:
SPI interface clock
SSEL:
SPI slave select pulse
MOSI:
MISO:
SPI Master Out / Slave In
SPI Master In / Slave Out
Document Number: 002-31601 Rev. **
Page 26 of 32
CY7C652148
National Semiconductor
The transmission data transfer size and reception data transfer
size may differ. National Semiconductor’s SPI protocol supports
only mode 0: Data is driven on a falling edge of SCLK, and data
is captured on a rising edge of SCLK.
The following figure illustrates a single data transfer and two
successive data transfers. In both cases, the transmission data
transfer size is 8 bits and the reception transfer size is 4 bits.
National Semiconductor’s SPI protocol is a half-duplex protocol.
Rather than transmission and reception occurring at the same
time, they take turns (transmission happens before reception). A
single “idle” bit transfer period separates transmission from
reception.
Note Successive data transfers are NOT separated by an “idle”
bit transfer period.
Single data transfer
SCLK
SSEL
MOSI
MISO
MSB
LSB
MSB
LSB
“idle” ‘0’ cycle
Two successive data transfers
SCLK
SSEL
MOSI
MISO
MSB
LSB
MSB
MSB
“idle” ‘0’ cycle
LSB
no “idle” cycle
LEGEND:
SCLK:
SSEL:
MOSI:
MISO:
SPI interface clock
SPI slave select
SPI Master Out / Slave In
SPI Master In / Slave Out
Note The above figure defines MISO and MOSI as undefined when the lines are considered idle (not carrying valid information). It
will drive the outgoing line values to '0' during idle time (to satisfy the requirements of specific master devices (NXP LPC17xx) and
specific slave devices (Microchip EEPROM).
Document Number: 002-31601 Rev. **
Page 27 of 32
CY7C652148
Ordering Information
Table 15 lists the key package features and ordering codes of the CY7C652148. For more information, contact your local sales
representative.
Table 15. Key Features and Ordering Information
Package
Ordering Code
Operating Range
24-pin QFN (4.00 × 4.00 × 0.55 mm, 0.5 mm pitch) (Pb-free)
CY7C652148-24LTXI
Industrial
24-pin QFN (4.00 × 4.00 × 0.55 mm, 0.5 mm pitch) (Pb-free) – Tape and
Reel
CY7C652148-24LTXIT
Industrial
Ordering Code Definitions
CY
7
C
65 XXXX - 24 XX X
I
X
X = blank or T
blank = Tray; T = Tape and Reel
Temperature Range:
I = Industrial
Pb-free
Package Type:
LT = QFN
Number of pins: 24 pins
Part Number: XXXX = 2148
Family Code:
65 = USB Hubs
Technology Code: C = CMOS
Marketing Code: 7 = Cypress products
Company ID: CY = Cypress
Document Number: 002-31601 Rev. **
Page 28 of 32
CY7C652148
Package Information
Support currently is planned for the 24-pin QFN package.
Figure 15. 24-pin QFN 4 mm 4 mm 0.55 mm LQ24A 2.65 2.65 EPAD (Sawn)
001-13937 *H
Table 16. Package Characteristics
Parameter Description
Min
–40
–
Typ
25
Max
85
–
Units
°C
T
Operating ambient temperature
A
THJ
Package
18.4
°C/W
JA
Table 17. Solder Reflow Peak Temperature
Package
Maximum Peak Temperature
Maximum Time at Peak Temperature
24-pin QFN
260 °C
30 seconds
Table 18. Package Moisture Sensitivity Level (MSL), IPC/JEDEC J-STD-2
Package
MSL
24-pin QFN
MSL 3
Document Number: 002-31601 Rev. **
Page 29 of 32
CY7C652148
Acronyms
Document Conventions
Table 19. Acronyms Used in this Document
Units of Measure
Acronym
BCD
CDC
CDP
DCP
DLL
Description
battery charger detection
Table 20. Units of Measure
Symbol
Unit of Measure
communication driver class
charging downstream port
dedicated charging port
dynamic link library
C
degree Celsius
DMIPS
Dhrystone million instructions per second
k
kilo-ohm
KB
kilobyte
ESD
GPIO
HBM
MCU
OSC
PHDC
PID
electrostatic discharge
general purpose input/output
human-body model
kHz
kV
kilohertz
kilovolt
Mbps
MHz
mm
V
megabits per second
megahertz
millimeter
volt
microcontroller unit
oscillator
personal health care device class
product identification
SCB
SDP
SIE
serial communication block
standard downstream port
serial interface engine
serial peripheral interface
virtual communication port
Universal Serial Bus
SPI
VCOM
USB
VID
vendor identification
Document Number: 002-31601 Rev. **
Page 30 of 32
CY7C652148
Document History Page
Document Title: CY7C652148, USB-SPI Single Channel Bridge Controller
Document Number: 002-31601
Submission
Revision
ECN
Description of Change
Date
**
7021631
11/26/2020 Final datasheet to NSO.
Document Number: 002-31601 Rev. **
Page 31 of 32
CY7C652148
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office
closest to you, visit us at Cypress Locations.
®
Products
PSoC Solutions
®
®
Arm Cortex Microcontrollers
Automotive
cypress.com/arm
cypress.com/automotive
cypress.com/clocks
cypress.com/interface
cypress.com/iot
PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP | PSoC 6 MCU
Cypress Developer Community
Clocks & Buffers
Interface
Community | Code Examples | Projects | Video | Blogs |
Training | Components
Internet of Things
Memory
Technical Support
cypress.com/memory
cypress.com/mcu
cypress.com/support
Microcontrollers
PSoC
cypress.com/psoc
cypress.com/pmic
cypress.com/touch
cypress.com/usb
Power Management ICs
Touch Sensing
USB Controllers
Wireless Connectivity
cypress.com/wireless
© Cypress Semiconductor Corporation, 2020. This document is the property of Cypress Semiconductor Corporation and its subsidiaries ("Cypress"). This document, including any software or firmware
included or referenced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all
rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the
Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal,
non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and reproduce the Software
solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through
resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress's patents that are infringed by the Software (as provided by Cypress, unmodified)
to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE
OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. No computing
device can be absolutely secure. Therefore, despite security measures implemented in Cypress hardware or software products, Cypress shall have no liability arising out of any security breach, such
as unauthorized access to or use of a Cypress product. CYPRESS DOES NOT REPRESENT, WARRANT, OR GUARANTEE THAT CYPRESS PRODUCTS, OR SYSTEMS CREATED USING
CYPRESS PRODUCTS, WILLBE FREE FROM CORRUPTION,ATTACK, VIRUSES, INTERFERENCE, HACKING, DATALOSS OR THEFT, OR OTHER SECURITY INTRUSION (collectively, "Security
Breach"). Cypress disclaims any liability relating to any Security Breach, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from any Security Breach. In
addition, the products described in these materials may contain design defects or errors known as errata which may cause the product to deviate from published specifications. To the extent permitted
by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or
circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the
responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. "High-Risk Device"
means any device or system whose failure could cause personal injury, death, or property damage. Examples of High-Risk Devices are weapons, nuclear installations, surgical implants, and other
medical devices. "Critical Component" means any component of a High-Risk Device whose failure to perform can be reasonably expected to cause, directly or indirectly, the failure of the High-Risk
Device, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from any use of
a Cypress product as a Critical Component in a High-Risk Device. You shall indemnify and hold Cypress, its directors, officers, employees, agents, affiliates, distributors, and assigns harmless from
and against all claims, costs, damages, and expenses, arising out of any claim, including claims for product liability, personal injury or death, or property damage arising from any use of a Cypress
product as a Critical Component in a High-Risk Device. Cypress products are not intended or authorized for use as a Critical Component in any High-Risk Device except to the limited extent that (i)
Cypress's published data sheet for the product explicitly states Cypress has qualified the product for use in a specific High-Risk Device, or (ii) Cypress has given you advance written authorization to
use the product as a Critical Component in the specific High-Risk Device and you have signed a separate indemnification agreement.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in
the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners.
Document Number: 002-31601 Rev. **
Revised November 26, 2020
Page 32 of 32
相关型号:
©2020 ICPDF网 联系我们和版权申明