Core and System |
|
8051 | Fully static design 8-bit high performance 1T 8051-based CMOS microcontroller.
Instruction set fully compatible with MCS-51.
4-priority-level interrupts capability.
Dual Data Pointers (DPTRs). |
Power On Reset (POR) | POR with 1.15V threshold voltage level |
Brown-out Detector (BOD) | 4-level selection, with brown-out interrupt and reset option. (4.4V / 3.7V / 2.7V / 2.2V) |
Low Voltage Reset (LVR) | LVR with 2.0V threshold voltage level |
Security | 96-bit Unique ID (UID)
128-bit Unique Customer ID (UCID)
128-bytes security protection memory SPROM |
Memories |
|
Flash | 8 KBytes of APROM for User Code.
4/3/2/1 Kbytes of Flash for loader (LDROM) configure from APROM for In-System-Programmable (ISP)
Flash Memory accumulated with pages of 128 Bytes from APROM by In-Application-Programmable (IAP) means whole APROM can be use as Data Flash
An additional 128 bytes security protection memory SPROM
Code lock for security by CONFIG |
SRAM | 256 Bytes on-chip RAM.
Additional 1 KBytes on-chip auxiliary RAM (XRAM) accessed by MOVX instruction. |
Clocks |
|
Internal Clock Source | Default 16 MHz high-speed internal oscillator (HIRC) trimmed to ±1% (accuracy at 25 °C, 3.3 V).
Selectable 24 MHz high-speed internal oscillator (HIRC).
10 kHz low-speed internal oscillator (LIRC) calibrating to ±1% by software from high-speed internal oscillator |
file:///C:\Users\ADMINI~1\AppData\Local\Temp\ksohtml\clip_image2.pngTimers |
|
16-bit Timer | Two 16-bit Timers/Counters 0 and 1 compatible with standard 8051.
One 16-bit Timer2 with three-channel input capture module and 9 input pin can be selected.
One 16-bit auto-reload Timer3, which can be the baud rate clock source of UART0 and UART1. |
Watchdog | 6-bit free running up counter for WDT time-out interval.
Selectable time-out interval is 6.40 ms ~ 1.638s since WDT_CLK = 10 kHz (LIRC).
Able to wake up from Power-down or Idle mode
Interrupt or reset selectable on watchdog time-out |
Wake-up Timer | 16-bit free running up counter for time-out interval.
Clock sources from LIRC
Able self Wake-up wake up from Power-down or Idle mode, and auto reload count value.
Supports Interrupt |
PWM | Up To 5 channel output pins can be selected
Supports maximum clock source frequency up to 24 MHz
Supports independent mode for PWM output
Supports complementary mode for up to 2 complementary paired PWM output channels
Dead-time insertion with 8-bit resolution
Supports 16-bit resolution PWM counter
Supports mask function and tri-state enable for each PWM pin
Supports brake function
Supports trigger ADC on the following events |
Analog Interfaces |
|
| Analog input voltage range: 0 ~ AVDD. |
| 12-bit resolution and 10-bit accuracy is guaranteed. |
| Up to 7 single-end analog input channels |
Analog-to-Digital Converter (ADC) | 1 internal channels, they are band-gap voltage (VBG).
Up to 500 ksps sampling rate. |
| Software Write 1 to ADCS bit. |
| External pin (STADC) trigger |
| PWM trigger. |
Communication Interfaces |
UART | Supports up to 2 UARTs: UART0 & UART1 |
| Full-duplex asynchronous communications
Programmable 9th bit.
UART0_TXD and UART0_RXD pins exchangeable via software. |
I2C | 1 set of I2C devices
Master/Slave mode
Bidirectional data transfer between masters and slaves
Multi-master bus (no central master)
7-bit addressing mode
Standard mode (100 kbps) and Fast mode (400 kbps).
Supports 8-bit time-out counter requesting the I2C interrupt if the I2C bus hangs up and timer-out counter overflows
Supports hold time programmable |
SPI | 1 set of SPI devices
Supports Master or Slave mode operation
Supports MSB first or LSB first transfer sequence
slave mode up to 12 MHz |
GPIO | Four I/O modes:
– Quasi-bidirectional mode
– Push-Pull Output mode
– Open-Drain Output mode
– Input only with high impendence mode
Schmitt trigger input / TTL mode selectable.
Each I/O pin configured as interrupt source with edge/level trigger setting
Standard interrupt pins I̅ ̅̅̅T̅̅0̅ and I̅ ̅̅̅T̅̅1̅.
Supports high drive and high sink current I/O
I/O pin internal pull-up or pull-down resistor enabled in input mode.
Maximum I/O Speed is 24 MHz
Each GPIO enabling the pin interrupt function will also enable the wake-up function |
ESD & EFT |
|
ESD | HBM pass 8 kV |
EFT | > ± 4.4 kV |
Latch-up | 150 mA pass |