參數(shù)資料
型號(hào): CY8C22213-24SI
廠商: CYPRESS SEMICONDUCTOR CORP
元件分類(lèi): 外設(shè)及接口
英文描述: PSoC Mixed Signal Array
中文描述: MULTIFUNCTION PERIPHERAL, PDSO20
封裝: 0.300 INCH, MO-119, SOIC-20
文件頁(yè)數(shù): 74/304頁(yè)
文件大?。?/td> 2956K
代理商: CY8C22213-24SI
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)當(dāng)前第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)第129頁(yè)第130頁(yè)第131頁(yè)第132頁(yè)第133頁(yè)第134頁(yè)第135頁(yè)第136頁(yè)第137頁(yè)第138頁(yè)第139頁(yè)第140頁(yè)第141頁(yè)第142頁(yè)第143頁(yè)第144頁(yè)第145頁(yè)第146頁(yè)第147頁(yè)第148頁(yè)第149頁(yè)第150頁(yè)第151頁(yè)第152頁(yè)第153頁(yè)第154頁(yè)第155頁(yè)第156頁(yè)第157頁(yè)第158頁(yè)第159頁(yè)第160頁(yè)第161頁(yè)第162頁(yè)第163頁(yè)第164頁(yè)第165頁(yè)第166頁(yè)第167頁(yè)第168頁(yè)第169頁(yè)第170頁(yè)第171頁(yè)第172頁(yè)第173頁(yè)第174頁(yè)第175頁(yè)第176頁(yè)第177頁(yè)第178頁(yè)第179頁(yè)第180頁(yè)第181頁(yè)第182頁(yè)第183頁(yè)第184頁(yè)第185頁(yè)第186頁(yè)第187頁(yè)第188頁(yè)第189頁(yè)第190頁(yè)第191頁(yè)第192頁(yè)第193頁(yè)第194頁(yè)第195頁(yè)第196頁(yè)第197頁(yè)第198頁(yè)第199頁(yè)第200頁(yè)第201頁(yè)第202頁(yè)第203頁(yè)第204頁(yè)第205頁(yè)第206頁(yè)第207頁(yè)第208頁(yè)第209頁(yè)第210頁(yè)第211頁(yè)第212頁(yè)第213頁(yè)第214頁(yè)第215頁(yè)第216頁(yè)第217頁(yè)第218頁(yè)第219頁(yè)第220頁(yè)第221頁(yè)第222頁(yè)第223頁(yè)第224頁(yè)第225頁(yè)第226頁(yè)第227頁(yè)第228頁(yè)第229頁(yè)第230頁(yè)第231頁(yè)第232頁(yè)第233頁(yè)第234頁(yè)第235頁(yè)第236頁(yè)第237頁(yè)第238頁(yè)第239頁(yè)第240頁(yè)第241頁(yè)第242頁(yè)第243頁(yè)第244頁(yè)第245頁(yè)第246頁(yè)第247頁(yè)第248頁(yè)第249頁(yè)第250頁(yè)第251頁(yè)第252頁(yè)第253頁(yè)第254頁(yè)第255頁(yè)第256頁(yè)第257頁(yè)第258頁(yè)第259頁(yè)第260頁(yè)第261頁(yè)第262頁(yè)第263頁(yè)第264頁(yè)第265頁(yè)第266頁(yè)第267頁(yè)第268頁(yè)第269頁(yè)第270頁(yè)第271頁(yè)第272頁(yè)第273頁(yè)第274頁(yè)第275頁(yè)第276頁(yè)第277頁(yè)第278頁(yè)第279頁(yè)第280頁(yè)第281頁(yè)第282頁(yè)第283頁(yè)第284頁(yè)第285頁(yè)第286頁(yè)第287頁(yè)第288頁(yè)第289頁(yè)第290頁(yè)第291頁(yè)第292頁(yè)第293頁(yè)第294頁(yè)第295頁(yè)第296頁(yè)第297頁(yè)第298頁(yè)第299頁(yè)第300頁(yè)第301頁(yè)第302頁(yè)第303頁(yè)第304頁(yè)
12. Sleep and Watchdog
CY8C22xxx Preliminary Data Sheet
74
Document No. 38-12009 Rev. *D
December 22, 2003
and is used to sequence system wakeup. It is also used to
periodically refresh the bandgap voltage during sleep.
12.1.2
Sleep Timer
The Sleep timer is a 15-bit, up counter clocked by the cur-
rently selected 32 kHz clock source, either the ILO or ECO.
This timer is always enabled. The exception to this is within
an ICE (in-circuit emulator) in debugger mode and the Stop
bit in the CPU_SCR0 is set; the Sleep timer is disabled, so
that the user will not get continual Watchdog resets when a
breakpoint is hit in the debugger environment.
If the associated Sleep timer interrupt is enabled, a periodic
interrupt to the CPU is generated based on the sleep inter-
val selected from the OSC_CR0 register. The Sleep timer
functionality does not need to be directly associated with
sleep state. It can be used as a general-purpose timer inter-
rupt regardless of sleep state.
The reset state of the Sleep timer is a count value of all
zeros. There are two ways to reset the Sleep timer. Any
hardware reset, i.e., power-on reset (POR), external reset
(XRES) or Watchdog reset (WDR) will reset the Sleep timer.
There is also a method that allows the user to reset the
Sleep timer in firmware. A write of 38h to the RES_WDT
register clears the Sleep timer. (Note: Any write to
RES_WDT register also clears the Watchdog timer.) Clear-
ing the Sleep timer may be done at anytime to synchronize
the Sleep timer operation to CPU processing. A good exam-
ple of this is after POR. The CPU hold-off due to voltage
ramp, etc., may be significant. In addition, a significant
amount of program initialization may be required. However,
the Sleep timer starts counting immediately after POR and
will be at an arbitrary count when user code begins execu-
tion. In this case, it may be desirable to clear the Sleep timer
before enabling the sleep interrupt initially, to ensure that the
first sleep period will be a full interval.
12.1.3
Sleep Bit
Sleep is initiated in firmware by setting the SLEEP bit (bit 3)
in the System Control register (CPU_SCR0). To wake up the
system, this register bit is cleared asynchronously by any
enabled interrupt. However, there are two special features of
this register bit that ensures proper sleep operation. First,
the write to set the register bit is blocked, if an interrupt is
about to be taken on that instruction boundary (immediately
after the write. Second, there is a hardware interlock to
ensure that once set, the sleep bit may not be cleared by an
incoming interrupt until the sleep circuit has finished per-
forming the sleep sequence and that the system wide power
down signal has been asserted. This prevents the sleep cir-
cuit from being interrupted in the middle of the process of
system power down, possibly leaving the system in an inde-
terminate state.
12.2
Application Description
The following are notes regarding sleep as it relates to firm-
ware and application issues.
1.
If an interrupt is pending, enabled, and scheduled to be
taken at the instruction boundary after the write to the
sleep bit, the system will not go to sleep. The instruction
will still execute, but it will not be able to set the SLEEP
bit in the CPU_SCR0 register. Instead, the interrupt will
be taken and the effect of the sleep instruction is
ignored.
2.
The global interrupt enable (CPU_F register) does not
need to be enabled to wake the system out of sleep
state. Individual interrupt enables, as set in the interrupt
mask registers, are sufficient. If the global interrupt
enable is not set, the CPU will not service the ISR asso-
ciated with that interrupt. However, the system will wake
up and continue executing instructions from the point at
which it went to sleep. In this case, the user must manu-
ally clear the pending interrupt or subsequently enable
the global interrupt enable bit and let the CPU take the
ISR. If a pending interrupt is not cleared, it will be contin-
uously asserted, and although the sleep bit may be writ-
ten and the sleep sequence executed, as soon as the
device enters Sleep mode, the sleep bit will be cleared
by the pending interrupt and Sleep mode will be exited.
3.
On wake up, the instruction immediately after the sleep
instruction will be executed before the interrupt service
routine (if enabled). The instruction after the sleep
instruction is pre-fetched before the system actually
goes to sleep. Therefore, when an interrupt occurs to
wake the system up, the pre-fetched instruction is exe-
cuted and then the interrupt service routine is executed.
(If the global interrupt enable is not set, instruction exe-
cution will just continue where it left off before sleep).
4.
If PLL mode is enabled, CPU frequency must be
reduced to 3 MHz before going to sleep. Since the PLL
will overshoot as it attempts to re-lock after wakeup, the
CPU frequency must be relatively low. It is recom-
mended to wait 10 ms after wakeup, before normal CPU
operating frequency may be restored.
5.
Analog power must be turned off by firmware, before
going to sleep. The system sleep state does not control
the analog array. There are individual power controls for
each analog block and global power controls in the refer-
ence block. These power controls must be manipulated
by firmware.
6.
If the global interrupt enable bit is disabled, it can be
safely enabled just before the instruction that writes the
sleep bit. It is usually undesirable to get an interrupt on
the instruction boundary, just before writing the sleep bit.
This means that on the return from interrupt, the sleep
command will be executed, possibly bypassing any firm-
ware preparations that need to be made in order to go to
sleep. To prevent this, disable interrupts before prepara-
tions are made. After sleep preparations, enable global
interrupts and write the sleep bit with the two consecu-
tive instructions as follows.
相關(guān)PDF資料
PDF描述
CY8C22213-24SIT PSoC Mixed Signal Array
CY8C24794-SPAX PSoCTM Mixed-Signal Array
CY8C24794-SPE PSoCTM Mixed-Signal Array
CY8C24794-SPI Explosion-Proof Limit Switches Series CX: Short Housing: Top Plunger; 1NC 1NO SPDT Snap Action; Number of internal basic switches BZ: 1; 0.75 in - 14NPT conduit
CY8C24794-SPLFX Environmentally sealed limit switch with Leadwire termination, Rotary Roller Lever actuation, Double Pole Double Throw (DPDT) Circuitry, 5 A (Resistive) ampere rating at 28 Vdc, Military Part Number MS21320-1
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CY8C22213-24SIT 功能描述:IC MCU 2K FLASH 256B 20-SOIC RoHS:否 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:PSOC®1 CY8C22xxx 標(biāo)準(zhǔn)包裝:60 系列:BlueStreak ; LH7 核心處理器:ARM7 芯體尺寸:32-位 速度:84MHz 連通性:EBI/EMI,SPI,SSI,SSP,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):76 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類(lèi)型:ROMless EEPROM 大小:- RAM 容量:32K x 8 電壓 - 電源 (Vcc/Vdd):1.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤(pán)
CY8C22345 制造商:CYPRESS 制造商全稱(chēng):Cypress Semiconductor 功能描述:PSoC Programmable System-on-Chip
CY8C22345-12PVXE 功能描述:可編程片上系統(tǒng) - PSoC M8C 8bit Flash 16KB RoHS:否 制造商:Cypress Semiconductor 核心:8051 處理器系列:CY8C36 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:67 MHz 程序存儲(chǔ)器大小:32 KB 數(shù)據(jù) RAM 大小:4 KB 片上 ADC:Yes 工作電源電壓:0.5 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:QFN-68 安裝風(fēng)格:SMD/SMT
CY8C22345-12PVXET 功能描述:可編程片上系統(tǒng) - PSoC M8C 8bit Flash 16KB RoHS:否 制造商:Cypress Semiconductor 核心:8051 處理器系列:CY8C36 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:67 MHz 程序存儲(chǔ)器大小:32 KB 數(shù)據(jù) RAM 大小:4 KB 片上 ADC:Yes 工作電源電壓:0.5 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:QFN-68 安裝風(fēng)格:SMD/SMT
CY8C22345-24PVXA 功能描述:可編程片上系統(tǒng) - PSoC 24 I/O 16K FLASH 1K SRAM RoHS:否 制造商:Cypress Semiconductor 核心:8051 處理器系列:CY8C36 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:67 MHz 程序存儲(chǔ)器大小:32 KB 數(shù)據(jù) RAM 大小:4 KB 片上 ADC:Yes 工作電源電壓:0.5 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:QFN-68 安裝風(fēng)格:SMD/SMT