FEATURES1. Standard 8051 Instruction set, fast machine cycle
Executes instructions six times faster than the standard 8051.
2. Flash Program Memory
8K Bytes (TM52F1378)
16K Bytes (TM52F1376)
Support “In Circuit Programming” (ICP) or “In System Programming” (ISP) for the Flash code
Byte Write “In Application Programming” (IAP) mode is convenient as Data EEPROM access
Code Protection Capability
1,000 erase times at least
10 years data retention at least
3. 128 Bytes EEPROM Memory
50K erase times at least
10 years data retention at least
4. Total 512 Bytes SRAM (IRAM + XRAM)
256 Bytes IRAM in the 8051 internal data memory area
256 Bytes XRAM in the 8051 external data memory area (accessed by MOVX Instruction)
5. Four System Clock type selections
Fast clock from 1~18MHz Crystal (FXT)
Fast clock from Internal RC (FRC, 18.432 MHz)
Slow clock from 32768Hz Crystal (SXT)
Slow clock from Internal RC (SRC,130 KHz)
System Clock can be divided by 1/2/4/16 option
6. 8051 Standard Timer – Timer0/1/2
16-bit Timer0, also supports T0O clock output for Buzzer application
16-bit Timer1
16-bit Timer2, also supports T2O clock output for Buzzer application
7. 15-bit Timer3
Clock source is Slow clock or FRC/512
Interrupt period can be clock divided by 32768/16384/8192/4096/2048/1024/512/256 option
8. UARTs
UART1, 8051 standard UART
UART2, the second UART, supports only mode1 and mode3
With UART pin select option
9. Three independent 16 bits PWMs with period-adjustment
With PWM0/PWM1/PWM2 Interrupt
10. I2C interface (Master / Slave)
11. 12-bit ADC with 22 channels External Pin Input and 2 channels Internal Reference Voltage
Internal Reference Voltage: VBG 1.20V±1% @VCC=5V~2.5V, 25℃
Internal Reference Voltage: 1/4VCC
ADC reference voltage = 2.5V / VCC
12. LCD Driver
Software controlled COM00~07, COM10~17, COM20~25, COM30~37 (Max. 30 pins)
1/2 LCD Bias
13. LED Controller/Driver
COM with Dead Time
LED hold option
Brightness uniform / enhancement option
【Bidirection (BiD) matrix mode】
4C x 6S, Max. 10 pins up to 48 dots
3groups, 8-level Brightness
【Dot matrix mode】
8C x 8S, Max. 9 pins up to 64 dots
8-level Brightness
14. 13 Sources, 4-level priority Interrupt
Timer0/Timer1/Timer2/Timer3 Interrupt
INT0/INT1 pin Falling-Edge/Low-Level Interrupt
All Pin Change Wake up Interrupt from Stop/Halt mode
UART1/UART2 TX/RX Interrupt
LVD Interrupt
ADC Interrupt
I2C Interrupt
PWM0/PWM1/PWM2 Interrupt
15. Pin Interrupt can Wake up CPU from Stop/Halt mode
P3.2/P3.3 (INT0/INT1) Interrupt & Wake up
Each pin can be defined as Wake up interrupt pin (by pin change)
Note: Chip cannot enter Stop Mode if INTn pin is low and wakeup is enabled. (INTn=0 and EXn=1, n=0~1)
16. Max. 30 Programmable I/O pins
CMOS Output
Pseudo-Open-Drain, or Open-Drain Output
Schmitt Trigger Input
Pin Pull-up / Pull-down can be Enabled or Disabled
All pin with High sink (60mA@VCC=5V,VOL=0.1VCC)
17. Independent RC Oscillating Watch Dog Timer
240ms/120ms/60ms/30ms selectable WDT timeout options
18. Five types Reset
Power on Reset
Selectable External Pin Reset
Selectable Watch Dog Reset
Software Command Reset
Selectable Low Voltage Reset
19. 16-level Low Voltage Detect
4.15V/4.01V/3.87V/3.73V/3.59V/3.45V/3.31V/3.17V/
3.03V/2.89V/2.75V/2.61V/2.47V/2.33V/2.19V/2.05V
20. 16-level Low Voltage Reset
4.15V/4.01V/3.87V/3.73V/3.59V/3.45V/3.31V/3.17V/
3.03V/2.89V/2.75V/2.61V/2.47V/2.33V/2.19V/2.05V
21. Five Power Operation Modes
Fast/Slow/Idle/Stop/Halt mode
22. Integrated 16-bit Cyclic Redundancy Check function
23. Multiplication and division
8 bit Multiplier & Divider (standard 8051)
16 bits Multiplier & Divider
32 bits ÷ 16 bits hardware Divider
24. On-chip Debug/ICE interface
Use P3.0/P3.1 pin or P0.0/P0.1 pin
Share with ICP programming pin
25. Operating Voltage and Current
VCC = 2.2V ~ 5.5V @FSYSCLK=18.432MHz (-40℃ ~ +85℃)
ICC = 0.1µA @Stop mode, PWRSAV=1, VCC=3V
ICC = 5.5µA @Halt mode, PWRSAV=1, VCC=3V
ICC = 16µA @Idle mode, PWRSAV=1, VCC=3V
26. Operating Temperature Range
–40°C ~ +85°C
27. Package Types
32-pin LQFP (7x7x1.4 mm)
28-pin SOP (300 mil)
28-pin SSOP (150 mil)
28-pin QFN (4x4x0.75-0.4 mm)
24-pin SSOP (150 mil)
20-pin SOP (300 mil)
20-pin TSSOP (173 mil)
20-pin QFN (3x3x0.75-0.4 mm) (L=0.25 mm)
16-pin SOP (150 mil)