KiCad symbols for STC12C, STC15, STC8 μCs
STC, also known as Shenzhen Guoxin Artificial Intelligence Co., Ltd. in the STC8H datasheet, is a Chinese company that primarily produces 8051-compatible microcontrollers. Their STC15 and STC8 series come equipped with pipelined code execution, huge flash and RAM, and peripherals including SPI, I2C, A/D, and PWM, as well as DMA and USB in high-end variants.
In KiCad's MCU STC library as of September 2022, only the STC15W204S and its variations are available. The goal of these libraries is to take the place of MCU STC with something more complete.
Library Organisation
These libraries only include the most memory-efficient non-IAP model from each series to minimize repetition. As the single functional change between chips in each series is rarely functional, they ought to be enough. Because they differ from customary naming and have the potential to be confusing, "IAP" model names are not utilized.
Since it is doubtful that they would be used, chips with extremely low sales or no stock on LCSC have not been included.
LQFP and SOP are included whereas DFN/QFN and DIP are left out when a chip has many packages with the same pinout. After inserting the symbol, simply modify the Footprint box if you want to use one of the missing packages.
Symbol Design
These libraries contain only symbols that are 1000 mil wide.
GPIO ports are arranged top-to-bottom within each port, clockwise from the top-right corner of the symbol, in a manner similar to KiCad's AVR and STM32 libraries. Contrary to those libraries, a port near the bottom of the symbol is never divided into two halves for compactness; I prefer that each port remain a single unit, even if it results in a little bit more white space at the top-left.
Non-GPIO pins, such as ADC VREF+ and TCAP in capacitive touch circuits, are located in the top-left corner of the symbol. To avoid being too close to VCC, ADC VREF+ is moved down by 100 mil.
Except for RST and the UART1 pins for programming and debugging, which are always significant, GPIO pins are solely labeled with port and bit numbers. It would create too much visual clutter for all other pins to display all of their alternative uses. The user is expected to either use netlabels to describe the purpose of pins or update pin names to specify alternate functions used.
Download KiCad symbols for STC12C, STC15, STC8 μCs, below: