CA51F152S4B
CA51F152S4B series chip is an 8-bit microcontroller based on 1T 8051 core, which not only retains the basic characteristics of the traditional 8051 chip, but also runs 10 times faster than the traditional 8051 chip and has better performance. The chip has built-in 16KB Flash program memory, which can be repeatedly programmed, and 1KB SRAM is convenient for customers to develop complex applications. It also integrates 26 channels of 12-bit ADC, 26 channels of Touch Ke(y does not need external capacitor), 16-bit PWM, I2C, 2-channel UART, SPI, RTC, LVD and other functional modules. Peripheral devices supporting PWM, I2C and UART can be mapped to any pin, and 8 pins with large current are supported. The software can realize the display function of double-scan LED screen, and also support three power-saving modes of IDLE, STOP and low-speed operation to adapt to applications with different power consumption requirements. Its powerful function and superior anti-interference performance make it widely used in household appliances.

Product Details
core
CPU: 1T8051, which is 10 times faster than the traditional 8051.
Compatible with 8051 instruction set and dual DPTR working mode.
storage
Flash: 16K bytes, supporting repeated erasing.
Flash can be divided into program space and data space, and data space can be used to store data that needs to be saved when power is off.
RAM: 256 Byte internal RAM and 768 Byte external ram.
operating voltage
Working voltage: 2.3V ~ 5.5V
Working temperature
Working temperature: -40℃~+85℃
Clock system
External low-speed oscillator: 32.768KHz
Built-in low-speed RC oscillator: 128KHz
Built-in high-speed RC oscillator: 16MHz with accuracy of 1% @ 25℃ (factory calibration)
The voltage of 2.7V ~ 5.5V supports the system clock of 16MHz.
The voltage of 2.3V ~ 5.5V supports the system clock of 8MHz
timer
Three 16-bit universal timers: Timer 0, Timer 1 and Timer 2.
General purpose input/output port (GPIO)
Supports up to 26 GPIO ports.
Support push-pull, open-drain, pull-up, pull-down and high resistance modes.
In push-pull output, the current of a single GPIO source is higher up to 18mA@5V, and the sinking current is higher up to 40mA@5V.
Eight GPIO(P0.0 ~ P0.7) with large irrigation current can be used to highlight LED screen display.
GPIO can be simulated as 1/2 BIAS LCD driver by software, without external resistor.
TMC function
The clock source of TMC timer can be IRCL or XOSCL.
The minimum unit of interrupt time is 512 IRCL clock cycles when IRCL is selected as the clock source and 128 XOSCL clock cycles when XOSCL is selected as the clock source.
The configurable interruption time is 1-256 minimum unit times.
Interrupt system
7 valid interrupt sources
Two-level interrupt priority supports interrupt nesting.
Five external interrupt sources INT0~INT4
Selection of external interrupt trigger edge: INT0~1 (rising edge and falling edge) and INT2~4 (rising edge, falling edge and double edge).
Interrupt input pin selection: INT0(P0.0), INT1(P0.1), INT2(P0.2), INT3(P0.3), and any GPIO pin except P0.0~P0.3 can be selected as the interrupt input pin for INT4.
Analog/digital converter (ADC)
Supports 26 channels of 12-bit SAR ADC.
Supports two voltage references: VDD and internal reference.
The VDD voltage can be measured by selecting the internal voltage as a reference.
Touch Key
Built-in touch sensing controller
Larger support for 26 touch channels, without external capacitors.
High anti-interference performance, in line with EMC(CS Dynamic 10V, EFT 4KV) standard.
Support touch interrupt
Support touch channel in parallel, which can be used to realize low power consumption mode.
PWM
Supports four PWM outputs, each of which can be controlled independently, and the cycle and duty ratio can be configured arbitrarily within the 16-bit range.
Support the function of directly outputting internal clock.
Support PWM interrupt function
Each PWM output pin can be mapped to a different GPIO pin.
Universal serial interface (UART1/UART2)
Support 2-way full duplex serial port
Support 1 byte receive cache
The TX/RX function of UART1/UART2 can be mapped to different GPIO pins.
I2C interface
Built-in 1 I2C interface supports master-slave mode and standard/fast/high-speed mode.
The I2C pin SCL/SDA function can be mapped to any GPIO pin.
SPI interface
Built-in 1 4-wire SPI interface, supporting master-slave mode.
Low voltage detection (LVD)
The detection voltage can be set to 2.2V, 2.5V, 2.7V, 3.0V, 3.3V, 3.6V, 3.9V and 4.2v..
Low voltage reset or interrupt can be set.
Reset mode
The chip supports multiple reset sources: power-on/power-off reset, soft reset, watchdog reset and low voltage detection reset.
watchdog
27-bit watchdog timer, 16-bit precision adjustment, configurable watchdog reset or interrupt.
Program download and simulation
Support ISP and IAP
Support online simulation function
low power consumption
STOP mode, current < 7uA
IDLE mode, current < 30uA
Low speed operation mode, current < 55uA
Package type: SOP20
For detailed information, please call 86)18823661714 (same as WeChat).