Document
STC TECHNOLOGY Co.,Ltd.
STC12C5A08/16/32/60 8-bit micro-controller
Features ............................................................................................................................. 3 General Description .......................................................................................................... 4 Order Information: ............................................................................................................ 4 Pin Description.................................................................................................................. 5 Pin Definition ............................................................................................................ 5 Pin Configuration ...................................................................................................... 7 Block Diagram .................................................................................................................. 9 Address Map ........................................................................................................... 10 Bits Description ...................................................................................................... 11 Memory ........................................................................................................................... 13 Organization ............................................................................................................ 13 RAM ....................................................................................................................... 13 Embedded Flash ...................................................................................................... 14 ALE OUTPUT ................................................................................................................ 15 Functional Description .................................................................................................... 17 I/O Port Configuration ............................................................................................ 17 Timer/Counter ......................................................................................................... 21 BAUD-RATE GENERATOR(BRT) ....................................................................... 25 Interrupt................................................................................................................... 27 Watch Dog Timer .................................................................................................... 34 Universal Asynchronous Serial Port (UART) ......................................................... 36 Secondary Universal Asynchronous Serial Port (S2) ............................................. 40 Programmable Counter Array (PCA)...................................................................... 45 Serial Peripheral Interface(SPI) .............................................................................. 55 Analog to Digital Converter.................................................................................... 63 Power Management ................................................................................................ 66 In System Programming and In Application Programming .................................... 69 In System Programming (ISP) ................................................................................ 69 In-Application Program (IAP) ................................................................................ 72 Instructions Set................................................................................................................ 72 Absolute Maximum Rating (STC12C5Axx) .................................................................. 75 DC Characteristics (STC12C5Axx) ................................................................................ 75 Absolute Maximum Rating (STC12LE5Axx) ................................................................ 76 DC Characteristics (STC12LE5Axx) ............................................................................. 76 Package Dimension ......................................................................................................... 77
http://www.DataSheet4U.net/
This document contains information on a new product under development by STC.STC reserves the right to change or discontinue this product without notice. 2007/12 version A1
datasheet pdf - http://www.DataSheet4U.net/
Version History ............................................................................................................... 78
http://www.DataSheet4U.net/
2
STC12C5Axx Technical Summary
datasheet pdf - http://www.DataSheet4U.net/
Features
z z z z z z z z z z z z z z z Enhanced 80C51 Central Processing Unit 3.3V/5V operation voltage, built-in Low-Voltage Detector and Reset circuit Operation frequency range up to 25MHz Max 64K bytes on-chip flash memory with.