STC12C5620AD series MCU STC12LE5620AD series MCU Data Sheet

Pages 375
Views 6

Please download to get full document.

View again

of 375
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Description
STC12C5620AD series MCU STC12LE5620AD series MCU Data Sheet STC MCU Limited Update date: CONTENTS Chapter 1. Introduction Features Block diagram Pin Configurations...
Transcript
STC12C5620AD series MCU STC12LE5620AD series MCU Data Sheet STC MCU Limited Update date: CONTENTS Chapter 1. Introduction Features Block diagram Pin Configurations STC12C5620AD series Selection Table STC12C5620AD series Minimum Application System STC12C5620AD series MCU Typical Application Circuit for ISP STC12C5620AD series MCU (28 pin) Typical Application Circuit for ISP STC12C5620AD series MCU (20 pin) Typical Application Circuit for ISP STC12C5620AD series MCU (32 pin) Typical Application Circuit for ISP Pin Descriptions Package Dimension Drawings STC12C5620AD series MCU naming rules Global Unique Identification Number (ID) Chapter 2. Clock, Power Management and Reset Clock On-Chip R/C Clock and External Crystal/Clcok are Optional in STC-ISP.exe. 30 STC MCU Limited Divider for System Clock How to Know Internal RC Oscillator frequency(internal clock frequency) Programmable Clock Output Timer 0 Programmable Clock-out on P Timer 1 Programmable Clock-out on P Power Management Modes Slow Down Mode Idle Mode Stop / Power Down (PD) Mode and Demo Program (C and ASM) RESET Sources RESET Pin Software RESET Power-On Reset (POR) MAX810 power-on-reset delay Internal Low Voltage Detection Reset... 49 2.3.6 Watch-Dog-Timer Warm Boot and Cold Boot Reset Chapter 3. Memory Organization Program Memory Data Memory(SRAM) On-chip Scratch-Pad RAM Auxiliary RAM Special Function Registers Special Function Registers Address Map Special Function Registers Bits Description Chapter 4. Configurable I/O Ports of STC12C5620AD series I/O Ports Configurations I/O ports Modes Quasi-bidirectional I/O Push-pull Output Input-only (High-Impedance)Mode Open-drain Output I/O port application notes Typical transistor control circuit Typical diode control circuit V/5V hybrid system How to make I/O port low after MCU reset I/O status while PWM outputing I/O drive LED application circuit I/O immediately drive LCD application circuit Using A/D Conversion to scan key application circuit Chapter 5. Instruction System Addressing Modes Instruction Set Summary Instruction Definitions Chapter 6. Interrupt System Interrupt Structure Interrupt Register Interrupt Priorities STC MCU Limited 6.4 How Interrupts Are Handled External Interrupts Response Time Demo Programs about Interrupts (C and ASM) External Interrupt 0 (INT0 ) Demo Programs (C and ASM) External Interrupt 1 (INT1 ) Demo Programs (C and ASM) Programs of P3.4/T0 Interrupt(falling edge) used to wake up PD mode Programs of P3.5/T1 Interrupt(falling edge) used to wake up PD mode Program of P3.0/RxD Interrupt(falling edge) used to wake up PD mode Program of PCA Interrupt used to wake up Power Down mode Chapter 7. Timer/Counter 0/ Special Function Registers about Timer/Counter Timer/Counter 0 Mode of Operation (Compatible with traditional 8051 MCU) Mode 0 (13-bit Timer/Counter) Mode 1 (16-bit Timer/Counter) and Demo Programs (C and ASM) Mode 2 (8-bit Auto-Reload Mode) and Demo Programs (C and ASM) Mode 3 (Two 8-bit Timers/Couters) Timer/Counter 1 Mode of Operation Mode 0 (13-bit Timer/Counter) STC MCU Limited Mode 1 (16-bit Timer/Counter) and Demo Programs (C and ASM) Mode 2 (8-bit Auto-Reload Mode) and Demo Programs (C and ASM) Programmable Clock Output and Demo Programs (C and ASM) Timer 0 Programmable Clock-out on P1.0 and Demo Program Timer 1 Programmable Clock-out on P1.1 and Demo Program Application note for Timer in practice Chapter 8. UART with Enhanced Function Special Function Registers about UART UART1 Operation Modes Mode 0: 8-Bit Shift Register Mode 1: 8-Bit UART with Variable Baud Rate Mode 2: 9-Bit UART with Fixed Baud Rate Mode 3: 9-Bit UART with Variable Baud Rate Frame Error Detection Multiprocessor Communications Automatic Address Recognition 8.6 Buad Rates Demo Programs about UART (C and ASM) Chapter 9. Analog to Digital Converter A/D Converter Structure Registers for ADC Application Circuit of A/D Converter ADC Application Circuit for Key Scan A/D reference voltage source Program using interrupts to demostrate A/D Conversion Program using polling to demostrate A/D Conversion Chapter 10. Programmable Counter Array(PCA) SFRs related with PCA PCA/PWM Structure PCA Modules Operation Mode PCA Capture Mode bit Software Timer Mode High Speed Output Mode STC MCU Limited Pulse Width Modulator Mode (PWM mode) Programs for PCA module extended external interrupt Demo Programs for PCA module acted as 16-bit Timer Programs for PCA module as 16-bit High Speed Output Demo Programs for PCA module as PWM Output Demo Program for PCA clock base on Timer 1 overflow rate Using PWM achieve D/A Conversion function reference circuit Chapter 11. Serial Peripheral Interface (SPI) Special Function Registers related with SPI SPI Structure SPI Data Communication SPI Configuration SPI Data Communication Modes SPI Data Modes SPI Function Demo Programs (Single Master Single Slave) SPI Function Demo Programs using Interrupts (C and ASM) SPI Function Demo Programs using Polling (C and ASM) 11.5 SPI Function Demo Programs (Each other as the Master-Slave) SPI Function Demo Programs using Interrupts (C and ASM) SPI Function Demo Programs using Polling Chapter 12. IAP / EEPROM IAP / EEPROM Special Function Registers STC12C5620AD series Internal EEPROM Allocation Table IAP/EEPROM Assembly Language Program Introduction EEPROM Demo Program (C and ASM) Chapter 13. STC12 series Development/Programming Tool In-System-Programming (ISP) principle STC12C5620AD series Typical Application Circuit for ISP PC side application usage Compiler / Assembler Programmer and Emulator Self-Defined ISP download Demo Appendix A: Assembly Language Programming Appendix B: 8051 C Programming Appendix C: STC12C5620AD series Electrical Characteristics Appendix D: Program for indirect addressing inner 256B RAM Appendix E: Using Serial port expand I/O interface Appendix F: Use STC MCU common I/O driving LCD Display Appendix G: LED driven by an I/O port and Key Scan Appendix H: How to reduce the Length of Code through Keil C Appendix I: Notes of STC12C5620AD series Application Appendix J: Notes of STC12 series Replaced Traditional Chapter 1. Introduction STC12C5620AD is a single-chip microcontroller based on a high performance 1T architecture 8051 CPU, which is produced by STC MCU Limited. With the enhanced kernel, STC12C5620AD executes instructions in 1~6 clock cycles (about 8~12 times the rate of a standard 8051 device), and has a fully compatible instruction set with industrial-standard 8051 series microcontroller. In-System-Programming (ISP) and In-Application-Programming (IAP) support the users to upgrade the program and data in system. ISP allows the user to download new code without removing the microcontroller from the actual end product; IAP means that the device can write nonvalatile data in Flash memory while the application program is running. The STC12C5620AD retains all features of the standard 80C51. In addition, the STC12C5620AD has a 9-sources, 4-priority-level interrupt structure, 10-bit ADC(100 thousands times per second), on-chip crystal oscillator, MAX810 special reset circuit, 4-channel PCA and PWM, SPI, a one-time enabled Watchdog Timer and so on. 1.1 Features Enhanced 8051 Central Processing Unit,1T per machine cycle, faster 8~12 times than the rate of a standard Operating voltage range: 5.5V ~ 3.5V or 2.2V ~ 3.6V (STC12LE5620AD). Operating frequency range: 0-35MHz, is equivalent to standard 8051:0~420MHz On-chip 30K/28K/24K/20K/16K/12K/8K/4K... FLASH program memory with flexible ISP/IAP capability On-chip 768 byte RAM Power control: idle mode(can be waked up by any interrupt) and power-down mode(can be waked up by external interrupts). Code protection for flash memory access Excellent noise immunity, very low power consumption six 16-bit timer/counter, be compatible with Timer0/Timer1 of standard 8051, 4-channel PCA can be available as four timers. 9 vector-address, 4 level priority interrupt capability One enhanced UART with hardware address-recognition and frame-error detection function One 15 bits Watch-Dog-Timer with 8-bit pre-scaler (one-time-enabled) SPI Master/Slave communication interface Four channel Programmable Counter Array (PCA) 10-bit, 8-channel high-speed Analog-to-Digital Converter (ADC), up to 100 thousands times per second Simple internal RC oscillator and external crystal clock Three power management modes: idle mode, slow down mode and power-down mode Power down mode can be woken-up by P3.2/INT0, P3.3/INT1, P3.4/T0, P3.5/T1, P3.0/RxD, P3.7/PCA0, and P3.5/PCA1, PCA2/P2.0, PCA3/P2.4 Operation Temperature: -40 ~ + 85 (industrial) / 0 ~ 75 (Commercial) Common (27/23/15) programmable I/O ports are available Programmable clock output Function. T0 output the clock on P1.0, T1 output the clock on P1.1. Five package type : LQFP-32, SOP-32, SOP-28, SKDIP-28, SOP-20, DIP-20, LSSOP-20. 7 1.2 Block diagram The CPU kernel of STC12C5620AD is fully compatible to the standard 8051 microcontroller, maintains all instruction mnemonics and binary compatibility. With some great architecture enhancements, STC12C5620AD executes the fastest instructions per clock cycle. Improvement of individual programs depends on the actual instructions used. AUX-RAM 512B RAM ADDR Register RAM 256B FLASH B Register ACC Stack Pointer ISP/IAP LVD/LVR TMP2 ALU TMP1 PSW WDT Timer 0/1 Enhanced UART Address Generator Program Counter PCA (4-channel) RESET Control Unit Port1 Latch ADC Port 0,2,3 Latch SPI XTAL1 XTAL2 Port 1 Driver 8 Port 0,2,3 Driver P1.0 ~ P1.7 P1.0 ~ P1.7 P0,P2,P3 STC12C5620AD Block Diagram 8 1.3 Pin Configurations All packages meet the European Union RoHS standards. LQFP-32 also conform to the Green standard. Packages such as SOP-20/28/32 and LQFP-32 are strongly recommended though the traditional DIP packages are steady supplied. P VCC P VCC P P2.1 P P2.1 RST 3 30 P2.0/PCA2/PWM2 RST 3 30 P2.0/PCA2/PWM2 RxD/P P1.7/SCLK/ADC7 RxD/P P1.7/SCLK TxD/P P1.6/MISO/ADC6 TxD/P P1.6/MISO P0.0 XTAL2 XTAL1 INT0/P SOP P1.5/MOSI/ADC5 P0.3 P1.4/SS/ADC4 P1.3/ADC3 P0.0 XTAL2 XTAL1 INT0/P SOP P1.5/MOSI P0.3 P1.4/SS P1.3 P0.1 INT1/P P0.2 P1.2/ADC2 P0.1 INT1/P P0.2 P1.2 ECI/T0/P P1.1/ADC1/CLKOUT1 ECI/T0/P P1.1/CLKOUT1 PWM1/PCA1/T1/P P1.0/ADC0/CLKOUT0 PWM1/PCA1/T1/P P1.0/CLKOUT0 PWM3/PCA3/P2.4 P P3.7/PCA0/PWM0 P2.7 PWM3/PCA3/P2.4 P P3.7/PCA0/PWM0 P2.7 Gnd P I/O ports Gnd P2.6 STC12C5620AD series (with A/D Converter), SOP-32 STC12C5620 series (without A/D Converter), SOP-32 LQFP-32 Package : length width = 9mm 9mm height 1.6mm ADC7/SCLK/P1.7 PWM2/PCA2/P2.0 P2.1 Vcc P2.2 P2.3 RST RxD/P P1.6/MISO/ADC6 P1.5/MOSI/ADC5 P0.3 P1.4/SS/ADC4 P1.3/ADC3 P LQFP-32 TxD/P3.1 P0.0 XTAL2 XTAL1 INT0/P3.2 P0.1 INT1/P3.3 P1.2/ADC2 ECI/T0/P3.4 P1.1/ADC1/CLKOUT P1.0/ADC0/CLKOUT0 P3.7/PCA0/PWM0 P2.7 P2.6 Gnd P2.5 P2.4/PCA3/PWM3 P3.5/T1/PCA1/PWM1 27 I/O ports ADC7/SCLK/P1.7 PWM2/PCA2/P2.0 P2.1 Vcc P2.2 P2.3 RST RxD/P P1.6/MISO/ADC6 P1.5/MOSI/ADC5 P0.3 P1.4/SS P1.3 P LQFP-32 TxD/P3.1 P0.0 XTAL2 XTAL1 INT0/P3.2 P0.1 INT1/P3.3 P1.2 ECI/T0/P3.4 P1.1/CLKOUT P1.0/CLKOUT0 P3.7/PCA0/PWM0 P2.7 P2.6 Gnd P2.5 P2.4/PCA3/PWM3 P3.5/T1/PCA1/PWM1 STC12C5620AD series (with A/D Converter), LQFP-32 STC12C5620 series (without A/D Converter), LQFP-32 9 P2.2 P2.3 RST RxD/P3.0 TxD/P3.1 XTAL2 XTAL1 INT0/P3.2 INT1/P3.3 ECI/T0/P3.4 PWM1/PCA1/T1/P3.5 PWM3/PCA3/P2.4 P2.5 Gnd SOP-28 / SKDIP VCC P2.1 P2.0/PCA2/PWM2 P2.2 P2.3 RST P1.7/SCLK/ADC7 RxD/P3.0 P1.6/MISO/ADC6 TxD/P3.1 P1.5/MOSI/ADC5 XTAL2 P1.4/SS/ADC4 XTAL1 P1.3/ADC3 P1.2/ADC2 P1.1/ADC1/CLKOUT1 INT0/P3.2 INT1/P3.3 ECI/T0/P3.4 P1.0/ADC0/CLKOUT0 PWM1/PCA1/T1/P3.5 P3.7/PCA0/PWM0 PWM3/PCA3/P2.4 P2.7 P2.5 P I/O ports Gnd SOP-28 / SKDIP VCC P2.1 P2.0/PCA2/PWM2 P1.7/SCLK P1.6/MISO P1.5/MOSI P1.4/SS P1.3 P1.2 P1.1/CLKOUT1 P1.0/CLKOUT0 P3.7/PCA0/PWM0 P2.7 P2.6 STC12C5620AD series (with A/D Converter) 28-Pin STC12C5620 series (without A/D Converter) 28-Pin RST RxD/P3.0 TxD/P3.1 XTAL2 XTAL1 INT0/P3.2 INT1/P3.3 ECI/T0/P3.4 PWM1/PCA1/T1/P3.5 Gnd SOP-20 / DIP-20 TSSOP VCC P1.7/SCLK/ADC7 P1.6/MISO/ADC6 P1.5/MOSI/ADC5 P1.4/SS/ADC4 P1.3/ADC3 P1.2/ADC2 P1.1/ADC1/CLKOUT1 P1.0/ADC0/CLKOUT0 P3.7/PCA0/PWM0 15 I/O ports RST RxD/P3.0 TxD/P3.1 XTAL2 XTAL1 INT0/P3.2 INT1/P3.3 ECI/T0/P3.4 PWM/PCA1/T1/P3.5 Gnd SOP-20 / DIP-20 TSSOP VCC P1.7/SCLK P1.6/MISO P1.5/MOSI P1.4/SS P1.3 P1.2 P1.1/CLKOUT1 P1.0/CLKOUT0 P3.7/PCA0/PWM0 STC12C5620AD series (with A/D Converter) 20-Pin STC12C5620 series (without A/D Converter) 20-Pin Super small package : TSSOP-20, 6.4mm 6.4mm 10 1.4 STC12C5620AD series Selection Table Type 1T 8051 MCU Operation Voltage (V) Flash SRAM (Byte) (Byte) Timer T0&T1 U PCA Programmable A Timer Clock Output R T EEP ROM 16-bit PCA/ 8-bit PWM D/A A/D 8-ch STC12C5620AD series Selection Table W Built-in D SPI Reset T Package of 20-Pin (15 I/O ports) Package of 28-Pin (23 I/O ports) Package of 32-Pin (27 I/O ports) STC12C K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C5604AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C5608AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C K 768 Y 4 Y Y IAP 2/4-ch Y Y Y STC12C5612AD K 768 Y 4 Y Y IAP 2/4-ch 10-bit Y Y Y Application program can be modified in application program area (AP area) STC12C K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C5616AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C5620AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C5624AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12C K 768 Y 4 Y Y IAP 2/4-ch Y Y Y STC12C5628AD K 768 Y 4 Y Y IAP 2/4-ch 10-bit Y Y Y STC12C K 768 Y 4 Y Y IAP 2/4-ch Y Y Y STC12C5630AD K 768 Y 4 Y Y IAP 2/4-ch 10-bit Y Y Y STC12LE5620AD series Selection Table Application program can be modified in application program area (AP area) Application program can be modified in application program area (AP area) Application program can be modified in application program area (AP area) Application program can be modified in application program area (AP area) STC12LE K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE5604AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE5608AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE K 768 Y 4 Y Y Y 2/4-ch Y Y Y Application program can be modified in STC12LE5612AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y application program area (AP area) STC12LE K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE5616AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE5620AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE K 768 Y 4 Y Y Y 2/4-ch Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE5624AD K 768 Y 4 Y Y Y 2/4-ch 10-bit Y Y Y SOP/LSSOP/DIP SOP/SKDIP SOP/LQFP STC12LE K 768 Y 4 Y Y IAP 2/4-ch Y Y Y STC12LE5628AD K 768 Y 4 Y Y IAP 2/4-ch 10-bit Y Y Y STC12LE K 768 Y 4 Y Y IAP 2/4-ch Y Y Y STC12LE5630AD K 768 Y 4 Y Y IAP 2/4-ch 10-bit Y Y Y Application program can be modified in application program area (AP area) Application program can be modified in application program area (AP area) Application program can be modified in application program area (AP area) Application program can be modified in application program area (AP area) 11 1.5 STC12C5620AD series Minimum Application System When the frequency of crystal oscillator is lower than 20MHz, it is suggested not to use C1 and R1 replaced by 1K resistor connect to ground. But R/C reset circuit is also suggest to reserve. 10μF+ C1 10K 1 P2.2 VCC R14 P2.3 RST P3.0/RxD P2.1 PWM2/PCA2/P2.0 ADC7/SCLK/P C6 0.1μF + Vin Power On SW1 C5 10μF System power/5v/3v C2 33pF 5 P3.1/TxD ADC6/MIOS/P X1 6 7 XTAL2 XTAL1 ADC5/MOSI/P1.5 ADC4/SS/P C3 33pF 8 P3.2/INT0 ADC3/P P3.3/INT1 ADC2/P P3.4/T0/ECI CLKOUT1/ADC1/P P3.5/T1/PCA1/PWM1 P2.4/PCA3/PWM3 CLKOUT0/ADC0/P PWM0/PCA0/P P2.5 P Gnd P About crystals circuit: If using internal R/C oscillator clock (4MHz ~ 8MHz, manufacturing error), XTAL1 and XTAL2 pin should be floated. If External clock frequency is higher than 33MHz, it is recommended to directly use external active crystals which clock are input from XTAL1 pin and XTAL2 pin must be floated. 12 1.6 STC12C5620AD series MCU Typical Application Circuit for ISP MCU should be connected to computer through RS-232 converter to download program STC12C5620AD series MCU (28 pin) Typical Application Circuit for ISP Vcc MAX232,MAX3232,SP232,SP μF 1 C1+ Vcc 16 + Vcc 0.1μF 2 V+ Gnd 15 Gnd 3 C1- T1OUT PC_RxD(COM Pin2) 14 4 C2+ R1IN 13 PC_TxD(COM Pin3) 0.1μF 5 6 C2- V- R1OUT T1IN μF 7 8 T2OUT R2IN T2IN R2OUT 10 9 When the frequency of crystal oscillator is lower than 20MHz, it is suggested not to use C1 and R1 replaced by 1K resistor connect to ground. But R/C reset circuit is Vcc also suggest to reserve. 1K + 10 μf C1 10K R1 PC COM Users are suggested stay this interface on the system, which can be convenient download the users program online. Reset U1-P1.0 U1-P1.1 MCU-VCC U1-P3.0 U1-P3.1 GND 28 Pin Download user procedure to STC MCU by the software STC-ISP programmer USB+5V T1OUT R1IN GND USB1 1 P2.2 VCC P2.3 RST P3.0/RxD P2.1 PWM2/PCA2/P2.0 ADC7/SCLK/P K USB +5V System Power Vin SW1 Power On Vcc 0.1μF + 10μF 33pF 5 6 P3.1/TxD XTAL2 ADC6/MISO/P1.6 ADC5/MOSI/P 33pF 7 XTAL1 ADC4/SS/P P3.2/INT0 ADC3/P P3.3/INT1 ADC2/P P3.4/T0/ECI CLKOUT1/ADC1/P P3.5/T1/PCA1/PWM1 CLKOUT0/ADC0/P P2.4/PCA3/PWM3 PWM0/PCA0/P P2.5 P If using internal R/C oscillator clock (4MHz ~ 8MHz, manufacturing error), XTAL1 and XTAL2 pin should be floated. 14 Gnd P If External clock frequency is higher than 33MHz, it is recommended to directly use external active crystals which clock are input from XTAL1 pin and XTAL2 pin must be floated. This circuit has been made as a STC12C5620AD series microcontroller ISP download programming tool 13 Users in their target system, such as the P3.0/P3.1 through the RS-232 level shifter connected to the computer after the conversion of ordinary RS-232 serial port to connect the system programming / upgrading client software. If the user panel recommended no RS-232 level converter, should lead to a socket, with Gnd/P3.1/ P3.0/Vcc four signal lines, so that the user system can be programmed directly. Of course, if the six signal lines can lead to Gnd/P3.1/P3.0/Vcc/P1.1/P1.0 as well, because you can download the program by P1.0/P1.1 ISP ban. If you can Gnd/P3.1/P3.0/Vcc/P1.1/P1.0/Reset seven signal lines leads to better, so you can easily use offline download board (no computer) . ISP programming on the Theory and Application Guide to see STC12C5620AD Series MCU Development / Programming Tools Help section. In addition, we have standardized programming download tool, the user can then program into the goal in the above systems, you can borrow on top of it RS-232 level shifter connected to the computer to download the program used to do. Programming a chip roughly be a few seconds, faster than the ordinary universal programmer much faster, there is no need to buy expensive third-party programmer?. PC STC-ISP software downloaded from the website 14 1.6.2 STC12C5620AD series MCU (20 pin) Typical Application Circuit for ISP Vcc MAX232,MAX3232,SP232,SP μF 1 C1+ Vcc 16 + Vcc 0.1μF 2 V+ Gnd 15 Gnd 3 C1- T1OUT PC_RxD(COM Pin2) 14 4 C2+ R1IN 13 PC_TxD(COM Pin3) 0.1μF 5 6 C2- V- R1OUT T1IN μF 7 8 T2OUT R2IN T2IN R2OUT 10 9 When the frequency of crystal oscillator is lower than 20MHz, it is suggested not to use C1 and R1 replaced by 1K resistor connect to ground. But R/C reset circuit is also suggest to reserve. Vcc 10K R1 + C1 1K 33pF 33pF PC COM 2 3 Users are suggested hold this interface o
Advertisements
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x