电子工程世界电子工程世界电子工程世界

关键词

搜索

型号

搜索
 

CY8C3866LTI-067T

器件型号:CY8C3866LTI-067T
器件类别:半导体    嵌入式处理器和控制器   
厂商名称:Cypress(赛普拉斯)
下载文档 在线购买

CY8C3866LTI-067T在线购买

供应商 器件名称 价格 最低购买 库存  
CY8C3866LTI-067T - - 点击查看 点击购买

器件描述

8-bit Microcontrollers - MCU 64Kb Flash 8Kb SRAM PSoC 3

参数
Product AttributeAttribute Value
制造商
Manufacturer
Cypress(赛普拉斯)
产品种类
Product Category
8-bit Microcontrollers - MCU
RoHSDetails
Core8051
Data Bus Width8 bit
系列
Packaging
Reel
Moisture SensitiveYes
工厂包装数量
Factory Pack Quantity
2000

文档预览

Programmable System-on-Chip (PSoC )
General Description
PSoC
®
3: CY8C38 Family Datasheet
®
PSoC
®
3 is a true programmable embedded system-on-chip, integrating configurable analog and digital peripherals, memory, and a
microcontroller on a single chip. The PSoC 3 architecture boosts performance through:
8051 core plus DMA controller and digital filter processor, at up to 67 MHz
Ultra low power with industry's widest voltage range
Programmable digital and analog peripherals enable custom functions
Flexible routing of any analog or digital peripheral function to any pin
PSoC devices employ a highly configurable system-on-chip architecture for embedded control design. They integrate configurable
analog and digital circuits, controlled by an on-chip microcontroller. A single PSoC device can integrate as many as 100 digital and
analog peripheral functions, reducing design time, board space, power consumption, and system cost while improving system quality.
Features
Operating characteristics
Analog peripherals
Voltage range: 1.71 to 5.5 V, up to six power domains
[1]
Temperature range (ambient) –40 to 85 °C
DC to 67-MHz operation
Power modes
• Active mode 1.2 mA at 6 MHz, and 12 mA at 48 MHz
• 1-µA sleep mode
• 200-nA hibernate mode with RAM retention
Boost regulator from 0.5-V input up to 5-V output
Performance
8-bit 8051 CPU, 32 interrupt inputs
24-channel direct memory access (DMA) controller
24-bit 64-tap fixed-point digital filter processor (DFB)
Configurable 8- to 20-bit delta-sigma ADC
Up to four 8-bit DACs
Up to four comparators
Up to four opamps
Up to four programmable analog blocks, to create:
• Programmable gain amplifier (PGA)
• Transimpedance amplifier (TIA)
• Mixer
• Sample and hold circuit
®
CapSense support, up to 62 sensors
1.024 V ±0.1% internal voltage reference
Versatile I/O system
Memories
Up to 64 KB program flash, with cache and security features
Up to 8 KB additional flash for error correcting code (ECC)
Up to 8 KB RAM
Up to 2 KB EEPROM
Digital peripherals
Four 16-bit timer, counter, and PWM (TCPWM) blocks
2
I C, 1 Mbps bus speed
USB 2.0 certified Full-Speed (FS) 12 Mbps peripheral
interface (TID#40770053) using internal oscillator
[2]
Full CAN 2.0b, 16 Rx, 8 Tx buffers
16 to 24 universal digital blocks (UDB), programmable to
create any number of functions:
• 8-, 16-, 24-, and 32-bit timers, counters, and PWMs
• I
2
C, UART, SPI, I2S, LIN 2.0 interfaces
• Cyclic redundancy check (CRC)
• Pseudo random sequence (PRS) generators
• Quadrature decoders
• Gate-level logic functions
29 to 72 I/O pins – up to 62 general-purpose I/Os (GPIOs)
Up to eight performance I/O (SIO) pins
• 25 mA current sink
• Programmable input threshold and output high voltages
• Can act as a general-purpose comparator
• Hot swap capability and overvoltage tolerance
Two USBIO pins that can be used as GPIOs
Route any digital or analog peripheral to any GPIO
LCD direct drive from any GPIO, up to 46 × 16 segments
CapSense support from any GPIO
1.2-V to 5.5-V interface voltages, up to four power domains
Programming and debug
JTAG (4-wire), serial wire debug (SWD) (2-wire), and single
wire viewer (SWV) interfaces
2
Bootloader programming through I C, SPI, UART, USB, and
other interfaces
Package options: 48-pin SSOP, 48-pin QFN, 68-pin QFN,
100-pin TQFP, and 72-pin WLCSP
Development support with free PSoC Creator™ tool
Programmable clocking
3- to 62-MHz internal oscillator, 1% accuracy at 3 MHz
4- to 25-MHz external crystal oscillator
Internal PLL clock generation up to 67 MHz
Low-power internal oscillator at 1, 33, and 100 kHz
32.768-kHz external watch crystal oscillator
12 clock dividers routable to any peripheral or I/O
Schematic and firmware design support
Over 100 PSoC Components™ integrate multiple ICs and
system interfaces into one PSoC. Components are free
embedded ICs represented by icons. Drag and drop
component icons to design systems in PSoC Creator.
Includes free Keil 8051 compiler
Supports device programming and debugging
Notes
1. The maximum storage temperature is 150 °C in compliance with JEDEC Standard JESD22-A103, High Temperature Storage Life.
2. This feature on select devices only. See
Ordering Information
on page 123 for details.
Cypress Semiconductor Corporation
Document Number: 001-11729 Rev. AG
198 Champion Court
San Jose
,
CA 95134-1709
408-943-2600
Revised April 27, 2017
PSoC
®
3: CY8C38 Family Datasheet
More Information
Cypress provides a wealth of data at
www.cypress.com
to help you to select the right PSoC 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 knowledge base article
KBA86521, How to Design with PSoC 3, PSoC 4, and PSoC 5LP.
Following is an abbreviated list for PSoC 3:
Overview:
PSoC Portfolio, PSoC Roadmap
Product Selectors:
PSoC 1, PSoC 3, PSoC 4, PSoC 5LP
Development Kits:
In addition, PSoC Creator includes a device selection tool.
application notes and
code examples
covering a broad range
of topics, from basic to advanced level. Recommended appli-
cation notes for getting started with PSoC 3 are:
AN54181:
Getting Started With PSoC 3
AN61290:
Hardware Design Considerations
AN57821:
Mixed Signal Circuit Board Layout
AN58304:
Pin Selection for Analog Designs
AN81623:
Digital Design Best Practices
AN73854:
Introduction To Bootloaders
Application notes: Cypress offers a large number of PSoC
CY8CKIT-030
is designed for analog performance, for devel-
oping high-precision analog, low-power, and low-voltage ap-
plications.
CY8CKIT-001
provides a common development platform for
any one of the PSoC 1, PSoC 3, PSoC 4, or PSoC 5LP
families of devices.
The
MiniProg3
device provides an interface for flash pro-
gramming and debug.
Technical Reference Manuals (TRM)
Architecture TRM
Registers TRM
Programming Specification
PSoC Creator
PSoC Creator
is a free Windows-based Integrated Design Environment (IDE). It enables concurrent hardware and firmware design
of PSoC 3, PSoC 4, and PSoC 5LP based systems. Create designs using classic, familiar schematic capture supported by over 100
pre-verified, production-ready PSoC Components; see the
list of component datasheets.
With PSoC Creator, you can:
1. Drag and drop component icons to build your hardware
3. Configure components using the configuration tools
system design in the main design workspace
4. Explore the library of 100+ components
2. Codesign your application firmware with the PSoC hardware,
5. Review component datasheets
using the PSoC Creator IDE C compiler
Figure 1. Multiple-Sensor Example Project in PSoC Creator
Document Number: 001-11729 Rev. AG
Page 2 of 140
PSoC
®
3: CY8C38 Family Datasheet
Contents
1. Architectural Overview ..................................................... 4
2. Pinouts ............................................................................... 6
3. Pin Descriptions .............................................................. 12
4. CPU ................................................................................... 13
4.1 8051 CPU ................................................................. 13
4.2 Addressing Modes .................................................... 13
4.3 Instruction Set .......................................................... 14
4.4 DMA and PHUB ....................................................... 18
4.5 Interrupt Controller ................................................... 19
5. Memory ............................................................................. 23
5.1 Static RAM ............................................................... 23
5.2 Flash Program Memory ............................................ 23
5.3 Flash Security ........................................................... 23
5.4 EEPROM .................................................................. 23
5.5 Nonvolatile Latches (NVLs) ...................................... 24
5.6 External Memory Interface ....................................... 25
5.7 Memory Map ............................................................ 26
6. System Integration .......................................................... 28
6.1 Clocking System ....................................................... 28
6.2 Power System .......................................................... 31
6.3 Reset ........................................................................ 35
6.4 I/O System and Routing ........................................... 37
7. Digital Subsystem ........................................................... 44
7.1 Example Peripherals ................................................ 44
7.2 Universal Digital Block .............................................. 46
7.3 UDB Array Description ............................................. 49
7.4 DSI Routing Interface Description ............................ 49
7.5 CAN .......................................................................... 51
7.6 USB .......................................................................... 53
7.7 Timers, Counters, and PWMs .................................. 53
7.8 I
2
C ............................................................................ 54
7.9 Digital Filter Block ..................................................... 56
8. Analog Subsystem .......................................................... 56
8.1 Analog Routing ......................................................... 57
8.2 Delta-sigma ADC ...................................................... 59
8.3 Comparators ............................................................. 60
8.4 Opamps .................................................................... 61
8.5 Programmable SC/CT Blocks .................................. 61
8.6 LCD Direct Drive ...................................................... 62
8.7 CapSense ................................................................. 63
8.8 Temp Sensor ............................................................ 63
8.9 DAC .......................................................................... 64
8.10 Up/Down Mixer ....................................................... 64
8.11 Sample and Hold .................................................... 64
9. Programming, Debug Interfaces, Resources ................ 65
9.1 JTAG Interface ......................................................... 65
9.2 Serial Wire Debug Interface ..................................... 67
9.3 Debug Features ........................................................ 68
9.4 Trace Features ......................................................... 68
9.5 Single Wire Viewer Interface .................................... 68
9.6 Programming Features ............................................. 68
9.7 Device Security ........................................................ 68
9.8 CSP Package Bootloader ......................................... 69
10. Development Support ................................................... 70
10.1 Documentation ....................................................... 70
10.2 Online ..................................................................... 70
10.3 Tools ....................................................................... 70
11. Electrical Specifications ............................................... 71
11.1 Absolute Maximum Ratings .................................... 71
11.2 Device Level Specifications .................................... 72
11.3 Power Regulators ................................................... 76
11.4 Inputs and Outputs ................................................. 80
11.5 Analog Peripherals ................................................. 88
11.6 Digital Peripherals ................................................ 108
11.7 Memory ................................................................ 112
11.8 PSoC System Resources ..................................... 116
11.9 Clocking ................................................................ 119
12. Ordering Information ................................................... 123
12.1 Part Numbering Conventions ............................... 124
13. Packaging ..................................................................... 125
14. Acronyms ..................................................................... 129
15. Reference Documents ................................................. 130
16. Document Conventions .............................................. 131
16.1 Units of Measure .................................................. 131
17. Revision History ......................................................... 132
18. Sales, Solutions, and Legal Information ................... 140
Worldwide Sales and Design Support.......................... 140
Products ....................................................................... 140
PSoC® Solutions ......................................................... 140
Cypress Developer Community.................................... 140
Technical Support ........................................................ 140
Document Number: 001-11729 Rev. AG
Page 3 of 140
PSoC
®
3: CY8C38 Family Datasheet
1. Architectural Overview
Introducing the CY8C38 family of ultra low-power, flash Programmable System-on-Chip (PSoC
®
) devices, part of a scalable 8-bit
PSoC 3 and 32-bit PSoC 5 platform. The CY8C38 family provides configurable blocks of analog, digital, and interconnect circuitry
around a CPU subsystem. The combination of a CPU with a flexible analog subsystem, digital subsystem, routing, and I/O enables
a high level of integration in a wide variety of consumer, industrial, and medical applications.
Figure 1-1. Simplified Block Diagram
Analog Interconnect
Digital Interconnect
SIO
GPIOs
System Wide
Resources
Usage Example for UDB
Xtal
Osc
Digital System
Universal Digital Block Array ( 24 x UDB)
Sequencer
8-bit
Timer
UDB
Quadrature Decoder
UDB
16-bit
PWM
UDB
16-bit PRS
UDB
UDB
UDB
4 to 25 MHz
(Optional
)
CAN
2.0
I
2
C
Master
/
Slave
22
UDB
UDB
8-bit
Timer
Logic
UDB
UDB
UDB
UDB
I
2
C Slave
UDB
UDB
8-bit SPI
12-bit SPI
UDB
UDB
UDB
UDB
GPIOs
IMO
4x
Timer
Counter
PWM
FS USB
2.0
USB
PHY
Clock Tree
Logic
UDB
UART
UDB
UDB
12- bit PWM
UDB
UDB
UDB
GPIOs
32. 68 KHz
7
( Optional
)
RTC
Timer
System Bus
Memory System
WDT
and
Wake
GPIOs
EEPROM
SRAM
CPU System
8051 or
Cortex M3CPU
Interrupt
Controller
Program &
Debug
Program
Debug &
Trace
GPIOs
EMIF
ILO
FLASH
PHUB
DMA
Boundary
Scan
Clocking System
GPIOs
Power Management
System
LCD Direct
Drive
Digital
Filter
Block
Analog System
ADC
+
4x
Opamp
-
SIOs
POR and
LVD
Sleep
Power
1.71 V to
5.5 V
1.8V LDO
SMP
4 x SC/CT Blocks
(TIA, PGA, Mixer etc)
3 per
Opamp
Temperature
Sensor
CapSense
4 x DAC
1x
Del Sig
ADC
+
GPIOs
4x
CMP
-
0 .5 V to 5.5 V
( Optional
)
Figure 1-1
illustrates the major components of the CY8C38
family. They are:
8051 CPU subsystem
Nonvolatile subsystem
Programming, debug, and test subsystem
Inputs and outputs
Clocking
Power
Digital subsystem
Analog subsystem
PSoC’s digital subsystem provides half of its unique
configurability. It connects a digital signal from any peripheral to
any pin through the digital system interconnect (DSI). It also
provides functional flexibility through an array of small, fast,
low-power UDBs. PSoC Creator provides a library of prebuilt and
tested standard digital peripherals (UART, SPI, LIN, PRS, CRC,
timer, counter, PWM, AND, OR, and so on) that are mapped to
the UDB array. You can also easily create a digital circuit using
boolean primitives by means of graphical design entry. Each
UDB contains programmable array logic (PAL)/programmable
logic device (PLD) functionality, together with a small state
machine engine to support a wide variety of peripherals.
In addition to the flexibility of the UDB array, PSoC also provides
configurable digital blocks targeted at specific functions. For the
CY8C38 family these blocks can include four 16-bit timers,
counters, and PWM blocks; I
2
C slave, master, and multimaster;
FS USB; and Full CAN 2.0b.
Page 4 of 140
Document Number: 001-11729 Rev. AG
PSoC
®
3: CY8C38 Family Datasheet
For more details on the peripherals see the
“Example
Peripherals”
section on page 44 of this data sheet. For
information on UDBs, DSI, and other digital blocks, see the
“Digital Subsystem”
section on page 44 of this data sheet.
PSoC’s analog subsystem is the second half of its unique
configurability. All analog performance is based on a highly
accurate absolute voltage reference with less than 0.1-percent
error over temperature and voltage. The configurable analog
subsystem includes:
Analog muxes
Comparators
Voltage references
Analog-to-digital converter (ADC)
Digital-to-analog converters (DACs)
Digital filter block (DFB)
All GPIO pins can route analog signals into and out of the device
using the internal analog bus. This allows the device to interface
up to 62 discrete analog signals. The heart of the analog
subsystem is a fast, accurate, configurable delta-sigma ADC
with these features:
Less than 100 µV offset
A gain error of 0.2 percent
INL less than ±2 LSB
DNL less than ±1 LSB
SINAD better than 84 dB in 16-bit mode
This converter addresses a wide variety of precision analog
applications, including some of the most demanding sensors.
The output of the ADC can optionally feed the programmable
DFB through the DMA without CPU intervention. You can
configure the DFB to perform IIR and FIR digital filters and
several user-defined custom functions. The DFB can implement
filters with up to 64 taps. It can perform a 48-bit
multiply-accumulate (MAC) operation in one clock cycle.
Four high-speed voltage or current DACs support 8-bit output
signals at an update rate of up to 8 Msps. They can be routed
out of any GPIO pin. You can create higher resolution voltage
PWM DAC outputs using the UDB array. This can be used to
create a pulse width modulated (PWM) DAC of up to 10 bits, at
up to 48 kHz. The digital DACs in each UDB support PWM, PRS,
or delta-sigma algorithms with programmable widths. In addition
to the ADC, DACs, and DFB, the analog subsystem provides
multiple:
Uncommitted opamps
Configurable switched capacitor/continuous time (SC/CT)
blocks. These support:
Transimpedance amplifiers
Programmable gain amplifiers
Mixers
Other similar analog components
See the
“Analog Subsystem”
section on page 56 of this data
sheet for more details.
PSoC’s 8051 CPU subsystem is built around a single cycle
pipelined 8051 8-bit processor running at up to 67 MHz. The
CPU subsystem includes a programmable nested vector
interrupt controller, DMA controller, and RAM. PSoC’s nested
vector interrupt controller provides low latency by allowing the
CPU to vector directly to the first address of the interrupt service
routine, bypassing the jump instruction required by other
architectures. The DMA controller enables peripherals to
exchange data without CPU involvement. This allows the CPU
to run slower (saving power) or use those CPU cycles to improve
the performance of firmware algorithms. The single cycle 8051
CPU runs ten times faster than a standard 8051 processor. The
processor speed itself is configurable, allowing you to tune active
power consumption for specific applications.
PSoC’s nonvolatile subsystem consists of flash, byte-writeable
EEPROM, and nonvolatile configuration options. It provides up
to 64 KB of on-chip flash. The CPU can reprogram individual
blocks of flash, enabling bootloaders. You can enable an error
correcting code (ECC) for high reliability applications. A powerful
and flexible protection model secures the user's sensitive
information, allowing selective memory block locking for read
and write protection. Up to 2 KB of byte-writeable EEPROM is
available on-chip to store application data. Additionally, selected
configuration options such as boot speed and pin drive mode are
stored in nonvolatile memory. This allows settings to activate
immediately after POR.
The three types of PSoC I/O are extremely flexible. All I/Os have
many drive modes that are set at POR. PSoC also provides up
to four I/O voltage domains through the VDDIO pins. Every GPIO
has analog I/O, LCD drive
[3]
, CapSense
[4]
, flexible interrupt
generation, slew rate control, and digital I/O capability. The SIOs
on PSoC allow V
OH
to be set independently of Vddio when used
as outputs. When SIOs are in input mode they are high
impedance. This is true even when the device is not powered or
when the pin voltage goes above the supply voltage. This makes
the SIO ideally suited for use on an I
2
C bus where the PSoC may
not be powered when other devices on the bus are. The SIO pins
also have high current sink capability for applications such as
LED drives. The programmable input threshold feature of the
SIO can be used to make the SIO function as a general purpose
analog comparator. For devices with Full-Speed USB the USB
physical interface is also provided (USBIO). When not using
USB these pins may also be used for limited digital functionality
and device programming. All of the features of the PSoC I/Os are
covered in detail in the
“I/O System and Routing”
section on
page 37 of this data sheet.
The PSoC device incorporates flexible internal clock generators,
designed for high stability and factory trimmed for high accuracy.
The internal main oscillator (IMO) is the clock base for the
system, and has 1-percent accuracy at 3 MHz. The IMO can be
configured to run from 3 MHz up to 62 MHz. Multiple clock
derivatives can be generated from the main clock frequency to
meet application needs. The device provides a PLL to generate
clock frequencies up to 67 MHz from the IMO, external crystal,
or external reference clock.
Notes
3. This feature on select devices only. See
Ordering Information
on page 123 for details.
4. GPIOs with opamp outputs are not recommended for use with CapSense.
Document Number: 001-11729 Rev. AG
Page 5 of 140
小广播

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 大学堂 TI培训 Datasheet 电子工程

器件索引   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
搜索索引   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
器件入口   08 21 71 9M AK EA FF KC LH RY TS UY WM WU ZM

北京市海淀区知春路23号集成电路设计园量子银座1305 电话:(010)82350740 邮编:100191

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2022 EEWORLD.com.cn, Inc. All rights reserved