CA51F252L2
The CA51F252L2 chip is an 8-bit microcontroller based on the 1T 8051 core. Under normal circumstances, it runs 10 times faster than the traditional 8051 chip and has superior performance. Built-in Flash program memory, which can be repeatedly programmed, this series of chips provide 16K Flash capacity for customers to choose according to product requirements, which brings great convenience to users' development. It not only retains the basic characteristics of the traditional 8051 chip, but also integrates 12-bit ADC, LCD/LED driver, Touch Key, 16-bit PWM, UART, RTC, brushless DC motor driver, multiplier and divider, low voltage detection (LVD) and other functional modules. Support three power saving modes: 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 various car stereos, home stereos, small household appliances, Bluetooth speakers, automotive electronics, digital motors, sports equipment, motor control, medical care, instruments and meters, security, power control and industrial control products.

Product Details
core
CPU: 1T8051, which is 10 times faster than the traditional 8051.
Compatible with 8051 instruction set and dual DPTR working mode.
CPU frequency: higher to support 27MHz.
storage
Flash: 16K bytes, supporting repeated erasing.
Flash can be divided into program space and data space. The data space can be used to store data that needs to be saved when power is off, and EEPROM can be omitted.
RAM:256 bytes of internal RAM and 2K bytes of external ram.
operating voltage
Working voltage: 1.8-5.5V
Clock system
External high-speed oscillator: 1-27MHz
External RTC oscillator: 32.768KHz
Built-in low-speed RC oscillator: 131KHz
Built-in PLL: The frequency multiplier is 2-10 times, and the reference clock is 2-4MHz. Built-in RC oscillator.
Built-in high-speed RC oscillator: 2-4MHz, the accuracy can reach 1% (factory initial frequency is 3.6864 MHz @ 3.3V/25℃).
The embedded external clock monitoring module can effectively monitor the working state of external clocks and avoid the crash caused by the external clock stopping vibration.
RTC function
Built-in RTC module can count time, minutes, seconds, weeks and days, and support alarm clock function.
Support millisecond, half-second interrupt
Interrupt system
15 active interrupt sources
Two-level interrupt priority supports interrupt nesting.
10 external interrupt sources, and each external interrupt can be configured with any signal pin as an interrupt input pin.
timer
Three 16-bit universal timers: Timer 0, Timer 1 and Timer 2.
General purpose input/output port (GPIO)
Supports up to 46 GPIO ports (different models will be different)
Support push-pull, open drain, strong pull-up, weak pull-up, strong pull-down, weak pull-down and high resistance modes.
In push-pull mode, different driving intensities and flipping speeds can be set.
Touch Key
Built-in touch sensing controller
Greater support for 15 touch channels
Touch can set internal charging and internal reference, which can effectively suppress low-frequency interference of power supply.
Support the reuse of touch pins and LED driving pins.
Built-in waterproof compensation mechanism
High anti-interference, in line with EMC(CS) standards.
Support touch power saving mode, lower power consumption is less than 10uA.
Analog/digital converter (ADC)
Support 6-channel 12-bit SAR ADC with built-in operational amplifier and comparison function.
Supports three reference sources: VDD, internal reference and external reference.
The VDD voltage can be measured when the internal voltage is selected as the reference voltage.
Support the function of reducing and amplifying the detection signal, and the zoom factor is optional.
PWM
Supports 5-channel PWM, and the cycle and duty ratio can be configured arbitrarily within 16-bit range.
It supports complementary mode and dead-time control, and can be used to drive DC brushless motor.
Supports the setting of edge alignment and center alignment modes.
Support the function of directly outputting internal clock.
Support PWM interrupt
LCD driver
It can also support 5com x 24seg and 4com x 25seg.
Configurable duty ratio: 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8 Duty.
Configurable bias: 1/2, 1/3 and 1/4 Bias.
Support 8-level contrast adjustment
Supports three levels of driving current, which can be adjusted by users according to different LCD screens.
LED drive
It can support 5com x 24seg more.
Support level 8 brightness level.
Low voltage detection (LVD)
Configurable voltage detection range is 1.8-4.8V
Low voltage reset or interrupt can be set.
Reset mode
The chip supports a variety of reset sources: hard reset, soft reset, watchdog reset, low voltage detection reset and power-on/power-off reset.
watchdog
27-bit watchdog timer, 16-bit precision adjustment, configurable watchdog reset or interrupt.
Remote control receiving function
Built-in sampling counter module (SAMPLE) can sample the pulse width of any length through the hardware module, reducing the software code.
Universal serial interface (UART)
Up to 3 UART interfaces are supported.
Support 1 byte receive cache
SPI interface
Built-in 1 4-wire SPI interface, supporting master-slave mode.
I2C interface
Built-in 1 I2C interface supports master-slave mode and standard/fast/high-speed mode.
I2C can be set with digital filtering to enhance its anti-interference performance.
Operational amplifier and analog comparator
Supports four analog comparators, two operational amplifiers and a capture counter.
Analog comparator reference voltage can choose internal reference or external input reference.
Analog comparator has a built-in 15-bit digital filter, which supports comparator interrupt.
Operational amplifier can be used in combination with ADC and analog comparator to expand the voltage range of detection signal.
The combination of capture counter and analog comparator can be used for motor speed measurement and locked rotor detection.
Brushless DC motor drive
Built-in 60 Hall and 120 Hall decoding modules
Support automatic mode and manual mode, and support braking function.
Support a variety of anomaly detection
Combined with analog comparator, it can realize the drive of flameless DC motor
Multiplier and divider (MDU)
Support 16-bit× 16-bit multiplication in one clock cycle.
Support 8 clock cycles 32-bit ÷ 32-bit division.
Support left-right shift operation of 32-bit data in one clock cycle.
Program download and simulation
Support ISP and IAP
Support online simulation function
low power consumption
STOP mode, current < 7uA
IDLE mode, current < 12uA.
Low speed operation mode, current < 20uA.
Package type: LQFP48 (7 x 7 mm)
For detailed information, please call 86)18823661714 (same as WeChat).