ST2202A
2. GENERAL DESCRIPTION
TheꢀST2202ꢀisꢀaꢀ8ꢁbitꢀintegratedꢀmicrocontrollerꢀdesignedꢀwithꢀ
CMOSꢀsiliconꢀgateꢀtechnology.ꢀTheꢀtrueꢀstaticꢀCPUꢀcore,ꢀpowerꢀ
downꢀmodesꢀandꢀdualꢀoscillatorsꢀdesignꢀmakesꢀtheꢀST2202ꢀ
suitableꢀforꢀpowerꢀsavingꢀandꢀlongꢀbatteryꢀlifeꢀdesigns.ꢀTheꢀ
ST2202ꢀintegratesꢀvariousꢀlogicꢀtoꢀsupportꢀfunctionsꢀonꢁchipꢀ
whichꢀareꢀneededꢀbyꢀsystemꢀdesigners.ꢀThisꢀisꢀalsoꢀimportantꢀ
forꢀlowerꢀsystemꢀcomplexity,ꢀsmallꢀboardꢀsizeꢀand,ꢀofꢀcourse,ꢀ
shorterꢀtimeꢀtoꢀmarketꢀandꢀlessꢀcost.ꢀ ꢀ
whenꢀtheyꢀareꢀassignedꢀtoꢀanotherꢀfunction.ꢀThisꢀenlargesꢀtheꢀ
flexibilityꢀofꢀtheꢀusageꢀofꢀfunctionꢀsignals.ꢀ
ꢀ
TheꢀabilityꢀofꢀdrivingꢀlargeꢀLCDꢀpanels,ꢀupꢀtoꢀ240x120,ꢀandꢀ
softwareꢀ16ꢁgrayꢁlevelꢀsupportꢀmayꢀrichꢀtheꢀdisplayꢀinformationꢀ
andꢀtheꢀdiversityꢀofꢀcontentsꢀasꢀwell.ꢀThisꢀisꢀdoneꢀwithꢀnoꢀneedꢀ
ofꢀexternalꢀdisplayꢀRAMꢀbecauseꢀofꢀtheꢀinternalꢀmemoryꢀ
sharingꢀdesign.ꢀ
ꢀ
ꢀ
TheꢀST2202ꢀfeaturesꢀtheꢀcapacityꢀofꢀmemoryꢀaccessꢀofꢀ
maximumꢀ44Mꢀbytesꢀwhichꢀisꢀneededꢀbyꢀproductsꢀwithꢀlargeꢀ
dataꢀbases,ꢀandꢀalsoꢀDMAꢀfunctionꢀforꢀfastꢀmemoryꢀtransfer.ꢀ
Sixꢀchipꢀselectsꢀareꢀequippedꢀforꢀdirectꢀconnectionꢀtoꢀexternalꢀ
ROM,ꢀSRAM,ꢀFlashꢀmemoryꢀorꢀotherꢀdevices.ꢀMaximumꢀoneꢀ
singleꢀdeviceꢀofꢀ16Mꢀbytesꢀisꢀpossible.ꢀ
TheꢀST2202ꢀequipsꢀserialꢀcommunicationꢀportsꢀofꢀoneꢀUARTꢀ
andꢀoneꢀSPIꢀtoꢀperformꢀdifferentꢀcommunications,ꢀex.:ꢀRSꢁ232ꢀ
andꢀIrDA,ꢀwithꢀsystemꢀcomponentsꢀorꢀotherꢀproductsꢀsuchꢀasꢀ
PC,ꢀNotebook,ꢀandꢀpopularꢀPDA.ꢀThreeꢀclockingꢀoutputsꢀcanꢀ
produceꢀsynthesizedꢀPWMꢀsignalsꢀorꢀhighꢀfrequencyꢀcarrierꢀforꢀ
IRꢀremoteꢀcontrol.ꢀThisꢀhelpsꢀproductsꢀbecomeꢀmoreꢀusefulꢀinꢀ
ourꢀdailyꢀlife.ꢀ
ꢀ
TheꢀST2202ꢀhasꢀ48ꢀI/Osꢀgroupedꢀintoꢀ6ꢀports,ꢀPortꢁAꢀ~ꢀPortꢁEꢀ
andꢀPortꢁL.ꢀEachꢀpinꢀcanꢀbeꢀprogrammedꢀtoꢀinputꢀorꢀoutput.ꢀ
Thereꢀareꢀtwoꢀoptions:ꢀpullꢁup/downꢀforꢀinputsꢀofꢀPortꢁCꢀandꢀ
onlyꢀpullꢁupꢀforꢀinputsꢀofꢀtheꢀotherꢀports.ꢀInꢀcaseꢀofꢀoutput,ꢀ
thereꢀareꢀopenꢁdrain/CMOSꢀoptionsꢀforꢀoutputsꢀofꢀPortCꢀandꢀ
onlyꢀCMOSꢀforꢀtheꢀotherꢀports.ꢀPortꢁA/Bꢀisꢀdesignedꢀforꢀ
keyboardꢀscanꢀwithꢀdeꢁbounceꢀandꢀtransitionꢀtriggeredꢀinterruptꢀ
atꢀPortꢁA,ꢀwhileꢀPortꢁC/D/E/Lꢀareꢀsharedꢀwithꢀotherꢀsystemꢀ
functions.ꢀAllꢀtheꢀpropertiesꢀofꢀI/Oꢀpinsꢀareꢀstillꢀprogrammableꢀ
ꢀ
TheꢀbuiltꢁinꢀtwoꢀchannelꢀPSG/oneꢀchannelꢀPWMꢀDACꢀareꢀforꢀ
theꢀproductionꢀofꢀkeyꢀtone,ꢀmelody,ꢀvoice,ꢀandꢀspeech.ꢀTwoꢀ
dedicatedꢀpinsꢀcanꢀdriveꢀaꢀbuzzerꢀdirectlyꢀforꢀminimumꢀcost.ꢀ
ꢀ
Withꢀtheseꢀintegratedꢀfunctionsꢀinside,ꢀtheꢀST2202ꢀsingleꢀchipꢀ
microcontrollerꢀisꢀaꢀrightꢀsolutionꢀforꢀPDA,ꢀtranslator,ꢀdatabankꢀ
andꢀotherꢀconsumerꢀproducts.ꢀ
VCC
GND
TEST1/2
Deꢁbounce
Logic
PA7~0
PortꢁA
PowerꢀOn
RESET
Reset
Transition
Detector
ROM
256Kꢀbytes
SRAM
4Kꢀbytes
WDT
XMD
OSCI
XIO
Clock
Generator
OSC
PortꢁB
PortꢁC
PB7~0
8ꢁbitꢀStatic BaseꢀTimer
Clock
Generator
OSCX
OSCXI
DMA
CPU
8ꢁbit
INTX/PC0
SCK/PC1
OSCXO
SDI/PC2
SDO/PC3
SS/PC4
A[22:0]
D[7:0]
8ꢁbit
External
Memory
Bus
Bank
Control
Logic
SPI
PortꢁC
Interrupt
Controller
BaudꢀRate
Generator
RD
DATA_READY/PC5
WR
TXD0/PC6
RXD0/PC7
PortꢁC
PortꢁD
PVCC/PGND
PSGꢀ/
PWMꢀDAC
UARTꢀwith
IrDAꢀMode
PSGO/PSGOB
TXD1/PD6
RXD1/PD7
MMD/CS0
ChipꢀSelect
CS5 ~1/PD4 ~ 0
CS6/A23/PD5
Logic
PortꢁD
LD[3:0]/PL3~0
CP/PL4
PortꢁL
AC/PL5
LOAD/PL6
FLM/PL7
TCO0/PE0
TCO1/PE1
BCO/PE2
Clocking
Output
Timerꢀ0/1
8ꢁbit
LCD
Controller
PortꢁE
PortꢁE
POFF
PE7~2
BLANK
ꢀ
FIGURE 2-1 ST2202 Block Diagram
Verꢀ2.5ꢀ
2/75
ꢀ
9/16/2008ꢀ