Introduction
SPCP18B, an advanced version of SPCP18A, is a new designed low cost USB low-speed micro-controller which especially features a built-in 6 MHZ oscillator for the USB low speed usage. It is a designated design for the target fields of many low-speed USB devices, including USB mouse, game pad, wireless mouse, keyboard and all other low-speed USB devices we use everyday in this digital era. The chip embeds an internal 6MHz oscillator and 8-bit SunplusIT CPU core with two timers, Timer0 and Timer1. Memory includes 8.5K bytes of ROM with 128 bytes of RAM (including stack buffers). Two interfaces are supported: Low speed USB interface and PS/2 interface. In addition, one control end point and one data end point are programmable direction control.
Typical Application
Wired USB mouse
Wired Game pad
Wireless receiver for a wireless keyboard and mouse
Terms
Abbreviation
Definition
LVD
Low Voltage Detection
LVR
Low Voltage Reset
POR
Power-On Reset
Features
CPU
Built-in 8-bit SunplusIT CPU core
Memory
8.5KB Program ROM and 128B RAM
8-byte USB setup buffers
Two 8-byte FIFOs for USB Endpoints
I/O
Up to 15 general-purpose I/Os (12 of them support 5V/3.3V programmable output level)
Programmable I/O direction with resistive pull-up/down control
Built-in internal 6MHz oscillator
6MHz crystal cell supporting low-speed USB. There are built-in 30pF capacitor from XI to ground and 15pF capacitor from XO to ground, so the external capacitors for the crystal or resonator may be omitted
USB
Low-speed USB transceivers (1.5Mbps)
Conforms to USB 2.0 low-speed specifications
Supports one control endpoint and one data endpoint which can be programmed as IN or OUT endpoint
Supports PS/2 interface control logic for combo function
Provide EFT(electric fast transient) events detection algorithm to enhance the capability to sustain EFT events by firmwave
Timer
One 14-bit free-running timer with overflow interrupt and real time interrupt
One 8-bit re-loadable timer which can be cascaded as a 16-bit timer
Input Capture
Six input capture registers
Selectable edge trigger for capture input
Pulse or period measurement
Reset Circuit
Low Voltage Detection (LVD)
Low Voltage Reset (LVR)
Watchdog Timer Reset
Software Reset
Power Saving Mode
STOP mode or WAIT (schedule wakeup) mode
One internal ring oscillator supporting schedule wakeup
Misc
Built-in 3.3V regulator for USB and internal operation
Package
Supports 20/18/16 PDIP or SOP package or 16/20 SSOP package