Hi, readers welcome to our new post. In today’s post, we will have a detailed look at Introduction to STM8 Microcontroller. The STM8 is a member of a group of microcontrollers that is STMicroelectronics and it is an eight-bit controller. This controller is a modern category of ST7 controllers and its structure is based on the ST7 controller structure. This module is generally less expensive than other types of controllers.
The inner structure of this board is based on Harvard Architecture and comprises of twenty-four-bit address space. In today’s post, we will have a detailed look at its working, operation, pinouts, and some other related terms. So let’s get started with Introduction to STM8 Microcontroller.
Introduction to STM8 Microcontroller
- The STM8 controller is an eight-bit MCU that belongs to the family of controllers that is STMicroelectronics. This controller is very commonly known due to its thirty-two bits ARM Cortex controllers.
- It is vigorous and provides different types of features that exist in different controllers. Like ARM core, thirty-two-bit structure, high speed, etc.
- This controller is also like the STM32 controller and also has similarities to the most commonly used controller family PIC and AVR.
- It has some similar features to the PIC and AVR but it is commonly used in SMD casings.
- There are very less boards of these controllers in the form of dual inline packaging exist. Due to this cause, small manufacturers do not use this board and prefer the other eight-bit controllers.
- Some engineers do a trial of their projects on breadboards and then create original projects. For that purpose, STM8 provides such a board over which these test projects can be done.
Features of STM8 Microcontroller
- These are some important features of this board.
- This board comprises of eight-bit Cortex M core.
- The frequency over which it operates is sixteen megahertz.
- It has a flash memory of an eight-kilo byre and a static random access memory of one-kilo byte.
- Ten-bit analog to digital converter is created on this board.
- there are three timers used in this controller one is eight-bit and two are of sixteen-bit.
- The range of functioning voltage is 4.5 volts to fifteen volts DC.
- It physical dimensions are of 28mm x 17mm x 5mm.
- this board also has less power-consuming crystal oscillator.
- There is an outer clock that exists on this controller.
- There is an inner sixteen megahertz RC is used on this board.
- the managing of power done at this board automatically.
- This board has a UART communication protocol.
- There is also SPI interfacing at this board in the range of eight megabits per second.
- There is an I2C communication protocol is used at this board in the range of four hundred kilobits per second.
- There are thirty-two pinouts at this board out of them twenty-eight are used for input and output purposes.
STM8 Microcontroller Block Diagram
- The block diagram of this board is shown in the below figure.
STM8S103F3P6 Micontroller
- STM8S103F3P6 is an 8-bit controller that provides high-performance features and supports the UART, I2C, SPI, and a 5-channel 10-bit ADC.
- This module also comes with 16-bit control timers with PWM, an 8-bit basic timer with having 8-bit Prescaler
- it also comes with EEPROM has features to store data for about 20 years, and offers 100k write and erase cycles.
- It has one kByte frame and 8Kbyte flash memory.
- Working voltages are 2.95V to 5.5V
- It is best for low space uses having 20 I/Os.
STM8S103F3P6 Pinout Configuration
- The pinout of this board is shown here.
1 | PD4/ BEEP/ TIM2_ CH1/ UART1 _CK | Port D4 |
2 | PD5/ AIN5/ UART1 _TX | Port D5 |
3 | PD6/ AIN6/ UART1 _RX | Port D6 |
4 | NRST | Reset |
5 | PA1/ OSCIN | Port A1 |
6 | PA2/ OSCOUT | Port A2 |
7 | VSS |
Digital ground
|
8 | VCAP |
1.8 V regulator capacitor
|
9 | VDD |
Digital power supply
|
10 | PA3/ TIM2_ CH3 [SPI_ NSS] | Port A3 |
11 | PB5/ I2C_ SDA [TIM1_ BKIN] | Port B5 |
12 | PB4/ I2C_ SCL | Port B4 |
13 | PC3/ TIM1_CH3 [TLI] [TIM1_ CH1N] |
Port C3 |
14 | PC4/ CLK_CCO/ TIM1_ CH4/AIN2/ [TIM1_ CH2N] | Port C4 |
15 | PC5/ SPI_SCK [TIM2_ CH1] | Port C5 |
16 | PC6/ SPI_MOSI [TIM1_ CH1] | Port C6 |
17 | PC7/ SPI_MISO [TIM1_ CH2] | Port C7 |
18 | PD1/ SWIM | Port D1 |
19 | PD2/AIN3/ [TIM2_ CH3] | Port D2 |
20 | PD3/ AIN4/ TIM2_ CH2/ ADC_ ETR | Port D3 |
STM8 Microcontrollers Types
So friends that is a detailed post about the STM8 Microcontroller. I hope you enjoyed this post. I tried my level best to make this post simple and easy for you and write every parameter related to this board. If you have any further queries ask in the comments. Thanks for reading. Have a good day. See you in the next post.