CY7C63231A-PXC Cypress Semiconductor Corp, CY7C63231A-PXC Datasheet - Page 16

no-image

CY7C63231A-PXC

Manufacturer Part Number
CY7C63231A-PXC
Description
IC MCU 3K USB LS PERIPH 18-DIP
Manufacturer
Cypress Semiconductor Corp
Series
enCoRe™r
Datasheets

Specifications of CY7C63231A-PXC

Applications
USB Microcontroller
Core Processor
M8B
Program Memory Type
OTP (3 kB)
Controller Series
CY7C632xx
Ram Size
96 x 8
Interface
USB
Number Of I /o
10
Voltage - Supply
3.5 V ~ 5.5 V
Operating Temperature
0°C ~ 70°C
Mounting Type
Through Hole
Package / Case
18-DIP (0.300", 7.62mm)
Operating Temperature (max)
70C
Operating Temperature (min)
0C
Operating Temperature Classification
Commercial
Mounting
Through Hole
Processor Series
CY7C63xx
Core
M8B
Data Bus Width
16 bit
Program Memory Size
3 KB
Data Ram Size
96 B
Interface Type
PS2, USB
Maximum Clock Frequency
12 MHz
Number Of Programmable I/os
10
Number Of Timers
1
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY7C63231A-PXC
Manufacturer:
CYP
Quantity:
485
Part Number:
CY7C63231A-PXC
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
Suspend Mode
The parts support a versatile low-power suspend mode. In
suspend mode, only an enabled interrupt or a LOW state on the
D–/SDATA pin will wake the part. Two options are available. For
lowest power, all internal circuits can be disabled, so only an
external event will resume operation. Alternatively, a low-power
internal wake-up timer can be used to trigger the wake-up
interrupt. This timer is described in Section , and can be used to
periodically poll the system to check for changes, such as looking
for movement in a mouse, while maintaining a low average
power.
The is placed into a low-power state by setting the Suspend bit
of the Processor Status and Control Register (Figure 22). All
logic blocks in the device are turned off except the GPIO interrupt
logic, the D–/SDATA pin input receiver, and (optionally) the
wake-up timer. The clock oscillators, as well as the free-running
and watchdog timers are shut down. Only the occurrence of an
enabled GPIO interrupt, wake-up interrupt, SPI slave interrupt,
or a LOW state on the D–/SDATA pin will wake the part from
suspend (D– LOW indicates non-idle USB activity). Once one of
these resuming conditions occurs, clocks will be restarted and
the device returns to full operation after the oscillator is stable
and the selected delay period expires. This delay period is deter-
mined by selection of internal vs. external clock, and by the state
of the Ext. Clock Resume Delay as explained in Section .
In suspend mode, any enabled and pending interrupt will wake
the part up. The state of the Interrupt Enable Sense bit (Bit 2,
Figure 22) does not have any effect. As a result, any interrupts
not intended for waking from suspend should be disabled
through the Global Interrupt Enable Register and the USB End
Point Interrupt Enable Register (Section ).
If a resuming condition exists when the suspend bit is set, the
part will still go into suspend and then awake after the appro-
priate delay time. The Run bit in the Processor Status and
Control Register must be set for the part to resume out of
suspend.
Once the clock is stable and the delay time has expired, the
microcontroller will execute the instruction following the I/O write
that placed the device into suspend mode before servicing any
interrupt requests.
To achieve the lowest possible current during suspend mode, all
I/O should be held at either V
bit interrupts (Figure 26 and Figure ) should be disabled for any
pins that are not being used for a wake-up interrupt. This should
be done even if the main GPIO Interrupt Enable (Figure 23) is off.
Typical code for entering suspend is shown below:
Document #: 38-08028 Rev. *D
pins, and bit interrupts disabled unless using for wake-up)
rupts if desired for wake-up
suspend, wait for GPIO/wake-up interrupt or USB activity
...
...
...
mov a, 09h
iowr FFh
nop
...
; All GPIO set to low-power state (no floating
; Enable GPIO and/or wake-up timer inter-
; Select clock mode for wake-up (see Section )
; Set suspend and run bits
; Write to Status and Control Register - Enter
; This executes before any ISR
; Remaining code for exiting suspend routine
CC
or ground. In addition, the GPIO
Clocking Mode on Wake-up from Suspend
When exiting suspend on a wake-up event, the device can be
configured to run in either Internal or External Clock mode. The
mode is selected by the state of the External Oscillator Enable
bit in the Clock Configuration Register (Figure 3). Using the
Internal Clock saves the external oscillator start-up time and
keeps that oscillator off for additional power savings. The
external oscillator mode can be activated when desired, similar
to operation at power-up.
The sequence of events for these modes is as follows:
Wake in Internal Clock Mode:
Wake in External Clock Mode:
Wake-up Timer
The wake-up timer runs whenever the wake-up interrupt is
enabled, and is turned off whenever that interrupt is disabled.
Operation is independent of whether the device is in suspend
mode or if the global interrupt bit is enabled. Only the Wake-up
Timer Interrupt Enable bit (Figure 23) controls the wake-up timer.
Once this timer is activated, it will give interrupts after its time-out
period (see below). These interrupts continue periodically until
the interrupt is disabled. Whenever the interrupt is disabled, the
wake-up timer is reset, so that a subsequent enable always
results in a full wake-up time.
The wake-up timer can be adjusted by the user through the
Wake-up Timer Adjust bits in the Clock Configuration Register
(Figure 3). These bits clear on reset. In addition to allowing the
user to select a range for the wake-up time, a firmware algorithm
can be used to tune out initial process and operating condition
variations in this wake-up time. This can be done by timing the
wake-up interrupt time with the accurate 1.024-ms timer
interrupt, and adjusting the Timer Adjust bits accordingly to
approximate the desired wake-up time.
1. Before entering suspend, clear bit 0 of the Clock Configuration
2. Enter suspend mode by setting the suspend bit of the
3. After a wake-up event, the internal clock starts immediately
4. A time-out period of 8 μs passes, and then firmware execution
5. At some later point, to activate External Clock mode, set bit 0
1. Before entering suspend, the external clock must be selected
2. Enter suspend mode by setting the suspend bit of the
3. After a wake-up event, the external oscillator is started. The
4. After an additional time-out period (128 μs or 4 ms, see
Register. This selects Internal clock mode after suspend.
Processor Status and Control Register.
(within 2 μs).
begins.
of the Clock Configuration Register. This halts the internal
clocks while the external clock becomes stable. After an
additional time-out (128 μs or 4 ms, see Section ), firmware
execution resumes.
by setting bit 0 of the Clock Configuration Register. Make sure
this bit is still set when suspend mode is entered. This selects
External clock mode after suspend.
Processor Status and Control Register.
clock is monitored for stability (this takes approximately
50–100 μs with a ceramic resonator).
Section ), firmware execution resumes.
CY7C63221/31A
Page 16 of 47
[+] Feedback

Related parts for CY7C63231A-PXC