{"id":7814,"date":"2026-06-27T03:41:02","date_gmt":"2026-06-27T03:41:02","guid":{"rendered":"https:\/\/materialparts.com\/stm8s103f3p6tr-2\/"},"modified":"2026-06-27T03:41:02","modified_gmt":"2026-06-27T03:41:02","slug":"stm8s103f3p6tr-2","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/stm8s103f3p6tr-2\/","title":{"rendered":"STM8S103F3P6TR"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The STM8S103F3P6TR is a mainstream access line 8-bit microcontroller from STMicroelectronics featuring 8KB Flash, 640-byte EEPROM, 1KB RAM, 16 MHz STM8 core, 10-bit ADC, UART, SPI, I2C in a TSSOP-20 package.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>\u6838\u5fc3<\/td>\n<td>STM8 8-bit, Harvard architecture, 3-stage pipeline<\/td>\n<\/tr>\n<tr>\n<td>Max Clock Speed<\/td>\n<td>16 MHz<\/td>\n<\/tr>\n<tr>\n<td>Flash Memory<\/td>\n<td>8 KB (20-year data retention at 55\u00b0C)<\/td>\n<\/tr>\n<tr>\n<td>Data EEPROM<\/td>\n<td>640 bytes (300 kcycle endurance)<\/td>\n<\/tr>\n<tr>\n<td>RAM<\/td>\n<td>1 KB<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u7535\u538b<\/td>\n<td>2.95 V to 5.5 V<\/td>\n<\/tr>\n<tr>\n<td>ADC<\/td>\n<td>10-bit, \u00b11 LSB, up to 5 channels, scan mode<\/td>\n<\/tr>\n<tr>\n<td>\u8ba1\u65f6\u5668<\/td>\n<td>16-bit advanced (TIM1), 16-bit GP (TIM2), 8-bit basic (TIM4)<\/td>\n<\/tr>\n<tr>\n<td>\u4ea4\u6d41<\/td>\n<td>UART (SmartCard\/IrDA\/LIN), SPI (8 Mbit\/s), I2C (400 kbit\/s)<\/td>\n<\/tr>\n<tr>\n<td>I\/O Pins<\/td>\n<td>Up to 16 (TSSOP-20 package)<\/td>\n<\/tr>\n<tr>\n<td>Watchdogs<\/td>\n<td>Window WDG + Independent WDG<\/td>\n<\/tr>\n<tr>\n<td>Unique ID<\/td>\n<td>96-bit unique device key<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<td>-40\u00b0C to +85\u00b0C<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>TSSOP-20<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline<\/li>\n<li>Integrated true data EEPROM: 640 bytes, 300 kcycle endurance<\/li>\n<li>4 clock sources: crystal, external, 16 MHz RC (trimmable), 128 kHz RC<\/li>\n<li>Clock security system with clock monitor<\/li>\n<li>Low-power modes: wait, active-halt, halt<\/li>\n<li>10-bit ADC with analog watchdog<\/li>\n<li>Advanced control timer with complementary outputs and dead-time<\/li>\n<li>96-bit unique device identifier<\/li>\n<li>Highly robust I\/O design, immune against current injection<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Home appliances and consumer electronics<\/li>\n<li>Industrial controllers and sensors<\/li>\n<li>Motor control and lighting<\/li>\n<li>Building automation<\/li>\n<li>Low-cost embedded applications<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The STM8S103F3P6TR is a mainstream access line 8-bit microcontroller from STMicroelectronics featuring 8KB Flash, 640-byte EEPROM, 1KB RAM, 16 MHz STM8 core, 10-bit ADC, UART, SPI, I2C in a TSSOP-20 package. Key Specifications Core STM8 8-bit, Harvard architecture, 3-stage pipeline Max Clock Speed 16 MHz Flash Memory 8 KB (20-year data retention at [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,25],"tags":[],"chip_brand":[142],"class_list":["post-7814","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-microcontrollers-mcu","chip_brand-st"],"acf":{"brief_explanation":"8-bit STM8 MCU, 8KB Flash, 640B EEPROM, 1KB RAM, 16MHz, TSSOP-20","date_code":"","package_case":"TSSOP-20 (6.5 x 4.4 mm, 0.65mm pitch)","in_stock":8412,"datasheet":"https:\/\/www.st.com\/resource\/en\/datasheet\/stm8s103f3.pdf","price":"$0.46 @ 10ku","product_introduction":"The STM8S103F3P6TR is a mainstream access line 8-bit microcontroller from STMicroelectronics based on the STM8 core with Harvard architecture and 3-stage pipeline operating at up to 16 MHz. It integrates 8KB Flash program memory with 20-year data retention, 640 bytes of true data EEPROM with 300 kcycle endurance, and 1KB SRAM. The device features a 10-bit ADC with \u00b11 LSB accuracy and up to 5 multiplexed channels, an advanced 16-bit control timer with complementary outputs and dead-time insertion suitable for motor control, plus UART with SmartCard\/IrDA\/LIN support, SPI up to 8 Mbit\/s, and I2C up to 400 kbit\/s. Clock sources include internal 16 MHz RC (user-trimmable), 128 kHz RC, crystal oscillator, and external clock with a clock security system. The 96-bit unique device identifier provides a hardware-based serial number for each device.","working_principle":"The STM8S103F3P6TR uses ST's 8-bit STM8 core with Harvard architecture, meaning program Flash and data RAM are accessed through separate buses simultaneously for higher throughput. The 3-stage pipeline (fetch, decode, execute) allows most instructions to complete in 1-2 clock cycles. The extended instruction set supports bit manipulation, signed arithmetic, and pointer operations. The internal voltage regulator provides stable core voltage from the 2.95-5.5V supply. Four clock sources offer flexibility: the 16 MHz HSI RC is factory-trimmed to \u00b11% and can be user-trimmed for higher accuracy; the 128 kHz LSI RC drives the independent watchdog and auto-wakeup; external crystal or clock inputs are supported. The clock security system monitors the primary clock and automatically switches to the backup HSI if a failure is detected. The true data EEPROM uses a separate charge pump and write controller, allowing byte-level erase\/write without affecting Flash. Low-power modes progressively shut down subsystems: wait mode stops the CPU but keeps peripherals running; active-halt stops CPU and peripheral clocks but allows AWU wakeup; halt mode powers down everything except IWDG and AWU for minimum consumption.","pin_description":"<table border=\"1\" cellpadding=\"4\">\n<tr><th>Pin<\/th><th>Name<\/th><th>Type<\/th><th>Description<\/th><\/tr>\n<tr><td>1<\/td><td>PD4\/TIM2_BEEP<\/td><td>I\/O<\/td><td>Port D4, TIM2 capture\/compare, beeper output<\/td><\/tr>\n<tr><td>2<\/td><td>PD5\/AIN5\/UART_TX<\/td><td>I\/O<\/td><td>Port D5, ADC input 5, UART transmit<\/td><\/tr>\n<tr><td>3<\/td><td>PD6\/AIN6\/UART_RX<\/td><td>I\/O<\/td><td>Port D6, ADC input 6, UART receive<\/td><\/tr>\n<tr><td>4<\/td><td>NRST<\/td><td>System<\/td><td>Reset input (active low, internal pull-up)<\/td><\/tr>\n<tr><td>5<\/td><td>PA1\/OSCIN<\/td><td>I\/O<\/td><td>Port A1, crystal oscillator input<\/td><\/tr>\n<tr><td>6<\/td><td>PA2\/OSCOUT<\/td><td>I\/O<\/td><td>Port A2, crystal oscillator output<\/td><\/tr>\n<tr><td>7<\/td><td>VSS<\/td><td>Power<\/td><td>Ground<\/td><\/tr>\n<tr><td>8<\/td><td>VCAP<\/td><td>Power<\/td><td>Internal regulator capacitor (connect 1\u00b5F to GND)<\/td><\/tr>\n<tr><td>9<\/td><td>VDD<\/td><td>Power<\/td><td>Supply voltage (2.95-5.5V)<\/td><\/tr>\n<tr><td>10<\/td><td>PA3\/TIM2_CH3<\/td><td>I\/O<\/td><td>Port A3, TIM2 channel 3<\/td><\/tr>\n<tr><td>11<\/td><td>PB4\/I2C_SDA<\/td><td>I\/O<\/td><td>Port B4, I2C data<\/td><\/tr>\n<tr><td>12<\/td><td>PB5\/I2C_SCL<\/td><td>I\/O<\/td><td>Port B5, I2C clock<\/td><\/tr>\n<tr><td>13<\/td><td>PC3\/TIM1_CH3<\/td><td>I\/O<\/td><td>Port C3, TIM1 channel 3<\/td><\/tr>\n<tr><td>14<\/td><td>PC4\/TIM1_CH4\/CLK_CCO<\/td><td>I\/O<\/td><td>Port C4, TIM1 channel 4, clock output<\/td><\/tr>\n<tr><td>15<\/td><td>PC5\/SPI_SCK<\/td><td>I\/O<\/td><td>Port C5, SPI clock<\/td><\/tr>\n<tr><td>16<\/td><td>PC6\/SPI_MOSI<\/td><td>I\/O<\/td><td>Port C6, SPI master out slave in<\/td><\/tr>\n<tr><td>17<\/td><td>PC7\/SPI_MISO<\/td><td>I\/O<\/td><td>Port C7, SPI master in slave out<\/td><\/tr>\n<tr><td>18<\/td><td>PD1\/SPI_NSS<\/td><td>I\/O<\/td><td>Port D1, SPI chip select<\/td><\/tr>\n<tr><td>19<\/td><td>PD2\/AIN3\/TIM1_BKIN<\/td><td>I\/O<\/td><td>Port D2, ADC input 3, TIM1 break input<\/td><\/tr>\n<tr><td>20<\/td><td>PD3\/AIN4\/TIM2_CH1<\/td><td>I\/O<\/td><td>Port D3, ADC input 4, TIM2 channel 1<\/td><\/tr>\n<\/table>","application_scenarios":"<ul>\n<li><strong>Motor Control:<\/strong> Advanced 16-bit TIM1 with complementary outputs and dead-time insertion drives half-bridge and full-bridge power stages for BLDC and PMSM motors<\/li>\n<li><strong>Home Appliances:<\/strong> 2.95-5.5V operation, robust I\/O immune to current injection, and dual watchdogs suit washing machines and air conditioners<\/li>\n<li><strong>Industrial Sensors:<\/strong> 10-bit ADC with analog watchdog and scan mode monitors multiple analog channels autonomously<\/li>\n<li><strong>Communication Gateways:<\/strong> UART with LIN master, SPI, and I2C interfaces connect to wired and wireless modules<\/li>\n<li><strong>Low-Cost Controllers:<\/strong> Integrated EEPROM eliminates external memory; clock security and brown-out reset increase reliability without external components<\/li>\n<\/ul>","alternative_models":"<table border=\"1\" cellpadding=\"4\">\n<tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr>\n<tr><td>STM8S103F3M6TR<\/td><td>ST<\/td><td>Same in SO-20 package<\/td><\/tr>\n<tr><td>STM8S103F3U3TR<\/td><td>ST<\/td><td>Same in UFQFPN-20 (3x3mm)<\/td><\/tr>\n<tr><td>STM8S003F3P6TR<\/td><td>ST<\/td><td>8KB Flash, 128B EEPROM, lower cost<\/td><\/tr>\n<tr><td>STM8L051F3P6<\/td><td>ST<\/td><td>Ultra-low-power variant, TSSOP-20<\/td><\/tr>\n<tr><td>ATtiny441-SSU<\/td><td>Microchip<\/td><td>4KB Flash, 256B RAM, 14-SOIC<\/td><\/tr>\n<\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/7814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=7814"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/7814\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=7814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=7814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=7814"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=7814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}