ATTENTION: Due to increased demand and order volume, processing time may take an additional 1-3 business days.
HomeCommunitySubjectSTM8S103F3P6 Microcontroller, STM8 Pin, and STM8S103F3P6 VS ATMEGA328P [FAQ]

STM8S103F3P6 Microcontroller, STM8 Pin, and STM8S103F3P6 VS ATMEGA328P [FAQ]

Embedded - Microcontrollers A/D 5x10b 20-TSSOP (0.173, 4.40mm Width) 8kB Brown-out Detect/Reset, POR, PWM, WDT -40°C~85°C TA 2.95V~5.5V STM8S MICROCONTROLLER STM8S103 16MHz IC MCU 8BIT 8KB FLASH 20TSSOP

1309

Nov 11, 2021

Nigel Frances

STM8S103F3P6 Programming Development Board Installation Compile And Debugging | STM8 coding tutorial

Embedded - Microcontrollers A/D 5x10b 20-TSSOP (0.173, 4.40mm Width) 8kB Brown-out Detect/Reset, POR, PWM, WDT -40°C~85°C TA 2.95V~5.5V STM8S MICROCONTROLLER STM8S103 16MHz IC MCU 8BIT 8KB FLASH 20TSSOP

The STM8S103F3P6 access line 8-bit microcontrollers offer 8 Kbytes Flash program memory, plus integrated true data EEPROM. The STM8S microcontroller family reference manual (RM0016) refers to devices in this family as low-density. This article is going to introduce detailed information and a tutorial about the STM8S103F3P6 microcontroller board.

 

STM8S103F3P6

7400In Stock
Min.: 1 Mult.: 1
Quantity Unit Price Ext. Price
1+ $1.93229$1.93
10+ $1.82291$18.23
100+ $1.71973$171.97
500+ $1.62239$811.2
1000+ $1.53055$1530.55
Unit Price:$1.93229
Subtotal: $1.93
Looking for a better price? Want a lower wholesale price? Please send an RFQ, and we will respond immediately.
Quick Links

What is STM8S103F3P6?

The  STM8S access line 8-bit microcontrollers offer 8 Kbytes Flash program memory, plus integrated true data EEPROM. The STM8S microcontroller family reference manual (RM0016) refers to devices in this family as low-density.

STM8S103F3P6 microcontroller unit has 640 Bit ROM, 10-Bit 5-Channels ADC, 1kB RAM, and a program memory size of 8kB. Other than these features, it provides I2C,  SPI, and UART communication support with 7 timers.

It features 1 Kbyte of RAM  with 8 Kbyte of Flash memories. 2.95V to 5.5V operating voltage makes it a suitable choice for 3.3V as well as 5.0V logic level operations on both operating voltages.

STM8S103F3P6 Pinout

STM8S103F3P6 Pinout

 

Pin no. Pin name Type The main   function (after reset)
TSSOP20      
1 PD4/ BEEP/ TIM2_ CH1/   UART1 _CK I/O Port D4
2 PD5/ AIN5/ UART1 _TX I/O Port D5
3 PD6/ AIN6/ UART1 _RX I/O Port D6
4 NRST I/O Reset
5 PA1/ OSCIN I/O Port A1
6 PA2/ OSCOUT I/O Port A2
7 VSS S Digital ground
8 VCAP S 1.8 V regulator   capacitor
9 VDD S Digital power supply
10 PA3/ TIM2_ CH3 [SPI_   NSS] I/O Port A3
11 PB5/ I2C_ SDA [TIM1_   BKIN] I/O Port B5
12 PB4/ I2C_ SCL I/O Port B4
13 PC3/ TIM1_CH3 [TLI]   [TIM1_ CH1N] I/O Port C3
14 PC4/ CLK_CCO/ TIM1_   CH4/AIN2/ [TIM1_ CH2N] I/O Port C4
15 PC5/ SPI_SCK [TIM2_   CH1] I/O Port C5
16 PC6/ SPI_MOSI [TIM1_   CH1] I/O Port C6
17 PC7/ SPI_MISO [TIM1_   CH2] I/O Port C7
18 PD1/ SWIM I/O Port D1
19 PD2/AIN3/ [TIM2_ CH3] I/O Port D2
20 PD3/ AIN4/ TIM2_ CH2/   ADC_ ETR I/O Port D3

 

TM8S103F3P6 CAD Model

STM8S103F3P6 Symbol

STM8S103F3P6 Footprint

STM8S103F3P6 3D Model

Specifications

STMicroelectronics STM8S103F3P6 technical specifications, attributes, parameters and parts with similar specifications to STMicroelectronics STM8S103F3P6.

STM8S103F3P6 Tech Specifications

STMicroelectronics STM8S103F3P6 technical specifications, attributes, parameters and parts with similar specifications to STMicroelectronics STM8S103F3P6.

Product Attribute Attribute Value
Lifecycle StatusACTIVE (Last Updated: 7 months ago)
Factory Lead Time8 Weeks
MountSurface Mount
Mounting TypeSurface Mount
Package / Case20-TSSOP (0.173, 4.40mm Width)
Number of Pins20Pins
Data ConvertersA/D 5x10b
Number of I/Os16I/Os
Watchdog TimersYes
Operating Temperature-40°C~85°C TA
PackagingTray
SeriesSTM8S
JESD-609 Codee4
Part StatusActive
Moisture Sensitivity Level (MSL)1 (Unlimited)
Number of Terminations20Terminations
ECCN CodeEAR99
Terminal FinishNickel/Palladium/Gold (Ni/Pd/Au)
Product Attribute Attribute Value
Max Power Dissipation238mW
Terminal PositionDUAL
Terminal FormGULL WING
Peak Reflow Temperature (Cel)260
Supply Voltage3.3V
Frequency16MHz
Base Part NumberSTM8S103
Pin Count20
Operating Supply Voltage3.6V
InterfaceI2C, IrDA, LIN, SPI, UART, USART
Memory Size8kB
Oscillator TypeInternal
RAM Size1K x 8
Voltage - Supply (Vcc/Vdd)2.95V~5.5V
uPs/uCs/Peripheral ICs TypeMICROCONTROLLER
Core ProcessorSTM8
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
Program Memory TypeFLASH
Product Attribute Attribute Value
Core Size8-Bit
Program Memory Size8KB 8K x 8
ConnectivityI2C, IrDA, LINbus, SPI, UART/USART
Bit Size8
Has ADCYES
DMA ChannelsNO
Data Bus Width8b
Number of Timers/Counters7Timers/Counters
EEPROM Size640 x 8
Number of ADC Channels5ADC Channels
Number of PWM Channels3PWM Channels
Number of I2C Channels1I2C Channel
Height1.05mm
Length6.6mm
Width4.5mm
Radiation HardeningNo
RoHS StatusROHS3 Compliant
Lead FreeLead Free
0 Products View Similar

STM8S103F3P6 Features

Core

16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline

Extended instruction set

Memories

Program memory: 8 Kbytes Flash; data retention 20 years at 55 °C after 10 kcycles

Data memory: 640 bytes true data EEPROM; endurance 300 kcycles

RAM: 1 Kbytes

Clock, reset, and supply management

2.95 to 5.5 V operating voltage

Flexible clock control, 4 master clock sources low power crystal resonator oscillatorExternal clock inputInternal, user-trimmable 16 MHz RCInternal low-power 128 kHz RC

Clock security system with clock monitor

Power management: Low-power modes (wait, active-halt, halt)Switch-off peripheral clocks individually

Permanently active, low consumption power-on and power-down reset

Interrupt management

Nested interrupt controller with 32 interrupts

Up to 27 external interrupts on 6 vectors

Timers

Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion, and flexible synchronization

16-bit general-purpose timer, with 3 CAPCOM channels (IC, OC, or PWM)

8-bit basic timer with 8-bit Prescaler

Auto wake-up timer

Window watchdog and independent watchdog timers 

Communication interfaces

UART with clock output for synchronous operation, SmartCard, IrDA, LIN master mode

SPI interface up to 8 Mbit/s

I2C interface up to 400 kbit/s

Analog to digital converter (ADC)

10-bit, ±1 LSB ADC with up to 5 multiplexed channels, scan mode, and analog watchdog

I/Os

Up to 28  I/O s on a 32-pin package including 21 high sink outputs

Highly robust  I/O design, immune against current injection

Unique ID

96-bit unique key for each device

Alternatives for STM8S103F3P6

  • PIC16LF18444T

  • MSP430G2353

  • MSP430G2553

STM8S103F3P6 Applications

  • Data Acquisition

  • Low-cost Sensor integration

  • Low power Embedded devices.

  • Small data retention related purposes

STM8 Microcontroller Programming

STM8 microcontrollers can be programmed using a variety of commercially available software. The following information pertains to  STMicroelectronics ' most advanced and widely used software and compiler.

 

To program the STM8 microcontroller, we'll need an IDE (Integrated Development Environment), which acts as a programming environment. A compiler converts our software into HEX files, which can be read by MCUs.

IDE: ST Visual Develop

Compiler: COSMIC C Compiler

 

All of this software was provided by  STMicroelectronics for free. They are available for download directly from their official website. For your convenience, I've also included a link. Install these on your PC once they've been downloaded. If you have any difficulties, please let us know in the comments section below.

 

It's simple to connect sensors or other devices to the STM8S103F3P6 microcontroller. It contains peripheral support for UART, SPI, I2C, and ADC for interfacing tasks. For connectivity and integration-related actions, any available interface can be used.

 

How to select the STM Microcontroller?

From the STM8 series, STMicroelectronics offers a wide range of microcontrollers,  Each MCU has its own set of benefits and drawbacks. Before choosing an MCU for a project, there are several factors to consider. The following are only suggestions to aid in the selection of an MCU.

If you're new to the STM8 series of microcontrollers.  choosing an MCU with solid online community assistance and a wide range of applications is a good idea. In this scenario, STM8S103F3P6 is a good option. The STM8 series has a good online support forum from STMicroelectronics.

Consider your system's operating voltage. If they're 5V, go with a 5V MCU. Some sensors and devices operate and communicate at 3.3V; hence a 3.3V MCU can be used.

If space and cost are constraints, tiny 8-pin MCUs like the STM8S001J3 can be used. These are also less expensive in comparison.

Check which MCU modules you might need based on the sensors and actuators utilized in your project. If you're reading a lot of analog voltages, for example, be sure the STM8S103F3P6 series microcontroller you choose has enough ADC channels and a high enough resolution.

If your project requires the use of communication protocols such as UART, SPI, I2C, CAN, and others, be sure your STM8 microcontroller can handle them all. Some MCUs are capable of supporting multiple modules of the same protocol.

STM8S103F3P6 Package Outline

STM8S103F3P6 Package Outline

STM8S103F3P6 Manufacturer

STMicroelectronics is a global independent semiconductor company and is a leader in developing and delivering semiconductor solutions across the spectrum of microelectronics applications. An unrivaled combination of silicon and system expertise, manufacturing strength, Intellectual Property (IP) portfolio, and strategic partners positions the Company at the forefront of System-on-Chip (SoC) technology, and its products play a key role in enabling today's convergence trends.

Datasheet PDF

STM8S103F3P6 Documents

Download datasheets and manufacturer documentation for STM8S103F3P6

Frequently Asked Questions

What is the difference between atmega328 and atmega328p?
There is no major functional difference between them except for power. This microcontroller is mostly used in Arduino's. The Atmega 328 functions the same as Atmega 328p but the 328p has very low power consumption using the ATMEL's PicoPower Features. Hence P stands for PicoPower.
Why use STM8?
For commercial use, the STM8S offers some interesting advantages: Motor control: The STM8 has a strong focus on motor and position control systems. Things you need to handle yourself on an ATmega are implemented in hardware and work independently of the state of the software.
What is the meaning of 8 bit microcontroller?
8-bit microcontroller means CPU or ALU can process 8-bit data at a time. This means it has to take 8-bit data from memory (which it has to process). Thus each location in memory is 8 bit and the data bus is also 8 bit.
FAQ
What is the difference between atmega328 and atmega328p?
There is no major functional difference between them except for power. This microcontroller is mostly used in Arduino's. The Atmega 328 functions the same as Atmega 328p but the 328p has very low power consumption using the ATMEL's PicoPower Features. Hence P stands for PicoPower.
Why use STM8?
For commercial use, the STM8S offers some interesting advantages: Motor control: The STM8 has a strong focus on motor and position control systems. Things you need to handle yourself on an ATmega are implemented in hardware and work independently of the state of the software.
What is the meaning of 8 bit microcontroller?
8-bit microcontroller means CPU or ALU can process 8-bit data at a time. This means it has to take 8-bit data from memory (which it has to process). Thus each location in memory is 8 bit and the data bus is also 8 bit.

TAGS

Share