Description
Introduction: 1.The CH552 chip is an enhanced E8051 core microcontroller compatible with the MCS51 instruction set. 79% of its instructions are single-byte single-cycle instructions, and the average instruction speed is 8-15 times faster than the standard MCS51. CH552 supports up to 24MHz system main frequency, built-in 16K program memory ROM, 256-byte internal iRAM and 1K byte on-chip xRAM, and xRAM supports DMA direct memory access. 2.CH552 has built-in ADC analog-to-digital conversion, touch key capacitance detection, three sets of timers and signal capture and PWM, dual asynchronous serial port, SPI, USB device controller and full-speed transceiver and other functional modules. 3.CH551 is a simplified version of CH552. The program memory ROM is 10K, the on-chip xRAM is 512 bytes, the asynchronous serial port is only UART0, the packaging form is only SOP16, the touch button is only 4 channels, and the ADC analog-digital conversion module and USB type-C module are removed. Other modules are the same as CH552. You can directly refer to the CH552 manual and data. Core: The enhanced E8051 core is compatible with the MCS51 instruction set. 79% of its instructions are single-byte single-cycle instructions. The average instruction speed is 8 to 15 times faster than the standard MCS51. It has a unique XRAM data fast copy instruction and dual DPTR pointers. ROM: 16KB capacity programmable non-volatile memory ROM, which can be used for program storage space; Or it can be divided into 14KB program storage area and 2KB boot code BootLoader/ISP program area. DataFlash: 128 bytes of non-volatile data storage that can be rewritten multiple times. It supports rewriting data in bytes. RAM: 256 bytes of internal iRAM, which can be used for fast data temporary storage and stack; 1KB on-chip xRAM can be used for a large amount of data temporary storage and DMA direct memory access. USB: embedded USB controller and USB transceiver, supporting USB-Device device mode, USB type-C master-slave detection, and USB 2.0 full-speed 12Mbps or low-speed 1.5Mbps. It supports up to 64 bytes of data packets, built-in FIFO, and DMA. Timer: 3 sets of timers. TO/T1/T2 is the standard MCS51 timer. Capture: Timer T2 is expanded to support 2-way signal capture. PWM: 2 sets of PWM outputs, PWM1/PWM2 is 2-way 8-bit PWM output. UART: 2 sets of asynchronous serial ports, all of which support higher communication baud rate. UARTO is a standard MCS51 serial port. SPI: The SPI controller has a built-in FIFO, and the clock frequency can reach half of the main frequency of the system Fsys. It supports serial data input/output simplex multiplexing, and master/slave mode. ADC: 4-channel 8-bit A/D analog-to-digital converter, supporting voltage comparison. Touch-Key: 6-channel capacitance detection, support up to 15 touch keys, and support independent timing interrupt. Serial GPIO: supports up to 17 GPIO pins (including XI/XO, RST and USB signal pins). Lnterrupt: supports 14 groups of interrupt signal sources, including 6 groups of interrupts (INTO, TO, INT1, T1, UARTO, T2) compatible with standard MCS51, and 8 groups of extended interrupts (SPIO, TKEY, USB, ADC, UART1, PWMX, GPIO, WDOG), where GPIO interrupts can be selected from 7 pins. Watch-Dog: 8-bit watchdog timer WDOG can be preset, and timing interrupt is supported. Reset: supports 4 reset signal sources, built-in power-on reset, software reset and watchdog overflow reset, and optional pin external input reset. Clock: Built-in 24MHz clock source can support external crystal by multiplexing GPIO pin. Power: Built-in 5V to 3.3V low-voltage differential voltage regulator, supporting 5V or 3.3V or even 2.8V power supply voltage. Support low-power sleep, USB, UARTO, UART1, SPIO and some GPIO external wake-up The chip has a built-in uniqueID number. Parameters: Power supply voltage: 5V or 3.3V or even 2.8V Support USB-Device device mode Support USB-Device device mode Support USB type-C master-slave detection Board size: 49mm * 19.5mm Take CH552 as an example to download USB: 1. Use a short cap or tweezers to short connect the following two pins, and plug the CH552 development board into the computer USB 2. Select chip series: click the "8-bit CH55X series" tab page 3. Select chip model: select "CH552" in the "chip model" list 4. Select the download method: select "USB download" in the "Download method" list 5. Download the configuration; In the "Download Configuration" column, set the download configuration 6. Select the download device: you can select the specified device in the "USB device list": if the device is connected to the PC, the software will detect 7. If IAP is not enabled in the download configuration, just select the corresponding download file for "User program file"; If IAP is enabled, you need to select the corresponding download file for "IAP program file" and "User program file". Then click the "Download" button.