CA51F005S4
The CA51F005S4 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 64K Flash program memory and 4K byte SRAM bring great convenience to user development. It not only retains the basic characteristics of the traditional 8051 chip, but also integrates functional modules such as 16-bit PWM, 12-bit ADC, UART, IC, RGB_LED, Touch Key controller and low voltage detection (LVD). 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 industrial control, household lighting, small household appliances, sports equipment, health electronics, motor control and other 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.
storage
Flash: 64K 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 4K bytes of external ram.
operating voltage
Working voltage: 2.0-5.5V
Clock system
Built-in low-speed RC oscillator: 131KHz, with an accuracy of 2% (3.3v @ 25℃).
Built-in high-speed RC oscillator: 24MHz, accuracy of 1% (3.3 V @ 25℃)
External high-speed oscillator: 1-24MHz
External clock input: 1-24MHz
Programmable RC oscillator PFG: 20-40 MHz, built-in automatic frequency hopping function, specially designed for atomizer function.
PFG clock frequency correction module: It can count the PFG clock based on the system clock to correct the center frequency.
TMC function
The clock source is a built-in low-speed RC oscillator, and the minimum interruption time is 512 clock cycles of the low-speed RC oscillator.
The configurable interruption time is 1-256 minimum unit times.
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 18 GPIO ports, and supports push-pull, open-drain, pull-up, pull-down and high-resistance modes.
In push-pull output, 8 pins support strong current, which can reach 80mA@5V.
Analog/digital converter (ADC)
Support 12-channel 12-bit SAR ADC with built-in operational amplifier and comparison function.
It supports both standard and fast modes, and the sampling speed of fast mode reaches 1MHz, which can be used for motor products.
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.
Operational AMPlifier (amp)
A general-purpose operational amplifier is built in, and the operational amplifier has a built-in correction mechanism. After correction, the offset voltage is less than 0.5mV at full temperature.
PWM
Support 8-channel PWM, and the cycle and duty cycle 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
Support hardware cascade module, 800Kbps/S scanning frequency, control WS2812 or similar driver chip, which meets the requirements of monochrome or colorful LED strip products.
Touch Key
Built-in touch sensing controller
Larger support for 17 touch channels
Touch can set internal charging and internal reference, which can effectively suppress low-frequency interference of power supply.
Built-in waterproof compensation mechanism
High anti-interference, in line with EMC(CS) standards.
Support touch power saving mode
Low voltage detection (LVD)
Configurable wide voltage detection range: 1.7V ~ 4.8V, 0.1V per stage.
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.
Universal serial interface (UART1/UART2)
Supports 2 UART interfaces.
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.
buzzer
Built-in 1-way buzzer drive output
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 < 15uA
Package type: SOP20
For detailed information, please call 86)18823661714 (same as WeChat).