首页 > 器件类别 > 嵌入式处理器和控制器 > 微控制器和处理器

STM8S903K3B3

8-BIT, FLASH, 16MHz, MICROCONTROLLER, PDIP32, 0.400 INCH, ROHS COMPLIANT, PLASTIC, SDIP-32

器件类别:嵌入式处理器和控制器    微控制器和处理器   

厂商名称:ST(意法半导体)

厂商官网:http://www.st.com/

下载文档
器件参数
参数名称
属性值
厂商名称
ST(意法半导体)
零件包装代码
DIP
包装说明
SDIP, SDIP32,.4
针数
32
Reach Compliance Code
compliant
具有ADC
YES
地址总线宽度
位大小
8
最大时钟频率
16 MHz
DAC 通道
NO
DMA 通道
NO
外部数据总线宽度
JESD-30 代码
R-PDIP-T32
长度
27.94 mm
I/O 线路数量
28
端子数量
32
片上程序ROM宽度
32
最高工作温度
125 °C
最低工作温度
-40 °C
PWM 通道
YES
封装主体材料
PLASTIC/EPOXY
封装代码
SDIP
封装等效代码
SDIP32,.4
封装形状
RECTANGULAR
封装形式
IN-LINE, SHRINK PITCH
电源
3.3/5 V
认证状态
Not Qualified
RAM(字节)
1024
ROM(单词)
2048
ROM可编程性
FLASH
座面最大高度
5.08 mm
速度
16 MHz
最大压摆率
4.75 mA
最大供电电压
5.5 V
最小供电电压
2.95 V
标称供电电压
3.3 V
表面贴装
NO
技术
CMOS
温度等级
AUTOMOTIVE
端子形式
THROUGH-HOLE
端子节距
1.778 mm
端子位置
DUAL
宽度
10.16 mm
uPs/uCs/外围集成电路类型
MICROCONTROLLER
文档预览
STM8S903K3 STM8S903F3
16 MHz STM8S 8-bit MCU, up to 8 Kbytes Flash, 1 Kbyte RAM, 640
bytes EEPROM,10-bit ADC, 2 timers, UART, SPI, I²C
-
Switch-off peripheral clocks individually
Permanently active, low consumption power-on
and power-down reset
Interrupt management
Nested interrupt controller with 32 interrupts
LQFP32 7x7 UFQFPN32 5x5
SDIP32 400 mils
Up to 28 external interrupts on 7 vectors
Timers
Advanced control timer: 16-bit, 4 CAPCOM
channels, 3 complementary outputs, dead-time
insertion and flexible synchronization
TSSOP20
UFQFPN20 3x3 SO20W 300 mils
Features
Core
16 MHz advanced STM8 core with Harvard
architecture and 3-stage pipeline
purpose timer,
16-bit generalOC or PWM) with 3 CAPCOM
channels (IC,
8-bit basic timer with 8-bit prescaler
Auto wakeup timer
Window and independent watchdog timers
Communications interfaces
UART with clock output for synchronous
operation, Smartcard, IrDA, LIN master mode
Extended instruction set
Memories
Program memory: 8 Kbytes Flash; data retention
20 years at 55 °C after 10 kcycles
SPI interface up to 8 Mbit/s
I C interface up to 400 Kbit/s
2
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
Analog to digital converter (ADC)
10-bit, ±1 LSB ADC with up to 7 muxed channels
+ 1 internal channel, scan mode and analog
watchdog
Internal reference voltage measurement
I/Os
Up to 28 I/Os on a 32-pin package including 21
high sink outputs
clock
4 master
Flexible powercontrol, resonator clock sources:
oscillator
-
Low crystal
-
External clock input
-
Internal, user-trimmable 16 MHz RC
-
Internal low power 128 kHz RC
Clock security system with clock monitor
Power management: (wait, active-halt, halt)
-
Low power modes
July 2011
Highly robust I/O design, immune against current
injection
Development support
Embedded single wire interface module (SWIM)
for fast on-chip programming and non intrusive
debugging
Unique ID:
96-bit key including lot number
DocID15590 Rev 6
1/115
www.st.com
Contents
STM8S903K3 STM8S903F3
Contents
1
2
3
4
Introduction ..............................................................................................................8
Description ...............................................................................................................9
Block diagram ........................................................................................................10
Product overview ...................................................................................................11
4.1 Central processing unit STM8 .....................................................................................11
4.2 Single wire interface module (SWIM) and debug module (DM) ..................................11
4.3 Interrupt controller .......................................................................................................12
4.4 Flash program and data EEPROM memory ................................................................12
4.5 Clock controller ............................................................................................................13
4.6 Power management ....................................................................................................14
4.7 Watchdog timers ..........................................................................................................15
4.8 Auto wakeup counter ...................................................................................................15
4.9 Beeper ........................................................................................................................15
4.10 TIM1 - 16-bit advanced control timer .........................................................................16
4.11 TIM5 - 16-bit general purpose timer ..........................................................................16
4.12 TIM6 - 8-bit basic timer ..............................................................................................16
4.13 Analog-to-digital converter (ADC1) ............................................................................17
4.14 Communication interfaces .........................................................................................17
4.14.1 UART1 ...............................................................................................17
4.14.2 SPI .....................................................................................................18
4.14.3 I²C ......................................................................................................18
5 Pinout and pin description ...................................................................................20
5.1 STM8S903F3 TSSOP20/SO20 pinout ........................................................................21
5.2 STM8S903F3 UFQFPN20 pinout ................................................................................22
5.3 TSSOP/SO/UFQFPN20 pin description ......................................................................23
5.4 STM8S903K3 UFQFPN32/LQFP32/SDIP32 pinout ....................................................24
5.5 UFQFPN/LQFP/SDIP32 pin description ......................................................................25
5.6 Alternate function remapping .......................................................................................27
6 Memory and register map .....................................................................................28
6.1 Memory map
6.2 Register map
6.2.1
6.2.2
6.2.3
................................................................................................................28
...............................................................................................................29
I/O port hardware register map ............................................................29
General hardware register map ...........................................................30
CPU/SWIM/debug module/interrupt controller registers .....................39
7 Interrupt vector mapping ......................................................................................42
8 Option bytes ...........................................................................................................44
8.1 STM8S903K3/F3 alternate function remapping bits ....................................................46
2/115
DocID15590 Rev 6
STM8S903K3 STM8S903F3
Contents
9 Unique ID ................................................................................................................50
10 Electrical characteristics ....................................................................................51
10.1 Parameter conditions .................................................................................................51
10.1.1 Minimum and maximum values .........................................................51
10.1.2 Typical values .....................................................................................51
10.1.3 Typical curves ....................................................................................51
10.1.4 Loading capacitor ...............................................................................51
10.1.5 Pin input voltage .................................................................................51
10.2 Absolute maximum ratings ........................................................................................52
10.3 Operating conditions ..................................................................................................54
10.3.1 VCAP external capacitor ....................................................................55
10.3.2 Supply current characteristics ............................................................56
10.3.3 External clock sources and timing characteristics .............................66
10.3.4 Internal clock sources and timing characteristics ...............................68
10.3.5 Memory characteristics ......................................................................70
10.3.6
10.3.7
10.3.8
10.3.9
I/O port pin characteristics .................................................................71
Reset pin characteristics ....................................................................79
SPI serial peripheral interface ............................................................81
2
I C interface characteristics ...............................................................84
10.3.10 10-bit ADC characteristics ................................................................85
10.3.11 EMC characteristics .........................................................................88
11 Package information ............................................................................................92
11.1 32-pin LQFP package mechanical data .....................................................................92
11.2 32-lead UFQFPN package mechanical data .............................................................94
11.3 20-lead UFQFPN package mechanical data .............................................................95
11.4 UFQFPN recommended footprint ..............................................................................97
11.5 SDIP32 package mechanical data .............................................................................98
11.6 20-pin TSSOP package mechanical data ................................................................100
11.7 20-pin SO package mechanical data .......................................................................101
11.8 Thermal characteristics ............................................................................................102
11.8.1 Reference document ........................................................................103
11.8.2 Selecting the product temperature range .........................................103
12 Ordering information .........................................................................................104
12.1 STM8S903K3/F3 FASTROM microcontroller option list ..........................................104
13 STM8 development tools ..................................................................................110
13.1 Emulation and in-circuit debugging tools .................................................................110
13.2 Software tools ..........................................................................................................110
13.2.1 STM8 toolset ....................................................................................111
13.2.2 C and assembly toolchains ..............................................................111
13.3 Programming tools ..................................................................................................111
14 Revision history .................................................................................................112
DocID15590 Rev 6
3/115
List of tables
STM8S903K3 STM8S903F3
List of tables
Table 1. STM8S903K3/F3 access line features .......................................................................................9
Table 2. Peripheral clock gating bit assignments in CLK_PCKENR1/2 registers ..................................14
Table 3. TIM timer features ....................................................................................................................16
Table 4. Legend/abbreviations for pinout tables ...................................................................................20
Table 5. TSSOP20/SO20/UFQFPN20 pin description ...........................................................................25
Table 6. UFQFPN32/LQFP32/SDIP32 pin description ...........................................................................25
Table 7. I/O port hardware register map ................................................................................................29
Table 8. General hardware register map ................................................................................................44
Table 9. CPU/SWIM/debug module/interrupt controller registers .........................................................55
Table 10. Interrupt mapping ...................................................................................................................42
Table 11. Option bytes .........................................................................................................................112
Table 12. Option byte description ...........................................................................................................44
Table 13. STM8S903K3 alternate function remapping bits [7:2] for 32-pin packages ...........................46
Table 14. STM8S903F3 alternate function remapping bits [7:2] for 20-pin packages ...........................47
Table 15. STM8S903K3 alternate function remapping bits [1:0] for 32-pin packages .........................102
Table 16. STM8S903F3 alternate function remapping bits [1:0] for 20-pin packages ...........................49
Table 17. Unique ID registers (96 bits) .................................................................................................112
Table 18. Voltage characteristics ...........................................................................................................52
Table 19. Current characteristics ...........................................................................................................52
Table 20. Thermal characteristics ..........................................................................................................53
Table 21. General operating conditions .................................................................................................54
Table 22. Operating conditions at power-up/power-down ......................................................................55
Table 23. Total current consumption with code execution in run mode at V
DD
= 5 V .............................56
Table 24. Total current consumption with code execution in run mode at V
DD
= 3.3 V ..........................57
Table 25. Total current consumption in wait mode at V
DD
= 5 V ............................................................58
Table 26. Total current consumption in wait mode at V
DD
= 3.3 V .........................................................58
Table 27. Total current consumption in active halt mode at V
DD
= 5 V ..................................................59
Table 28. Total current consumption in active halt mode at V
DD
= 3.3 V ...............................................60
Table 29. Total current consumption in halt mode at V
DD
= 5 V .............................................................61
Table 30. Total current consumption in halt mode at V
DD
= 3.3 V ..........................................................61
Table 31. Wakeup times .........................................................................................................................61
Table 32. Total current consumption and timing in forced reset state ....................................................62
Table 33. Peripheral current consumption .............................................................................................63
Table 34. HSE user external clock characteristics .................................................................................66
Table 35. HSE oscillator characteristics .................................................................................................66
Table 36. HSI oscillator characteristics ..................................................................................................68
Table 37. LSI oscillator characteristics ...................................................................................................69
Table 38. RAM and hardware registers ..................................................................................................70
Table 39. Flash program memory/data EEPROM memory ....................................................................70
Table 40. I/O static characteristics .........................................................................................................71
Table 41. Output driving current (standard ports) ..................................................................................73
Table 42. Output driving current (true open drain ports) ........................................................................73
Table 43. Output driving current (high sink ports) ..................................................................................74
Table 44. NRST pin characteristics ........................................................................................................79
Table 45. SPI characteristics ..................................................................................................................82
2
Table 46. I C characteristics ..................................................................................................................84
Table 47. ADC characteristics ................................................................................................................85
4/115
DocID15590 Rev 6
STM8S903K3 STM8S903F3
List of tables
Table 48. ADC accuracy with R
AIN
< 10 kΩ , V
DD
= 5 V .........................................................................86
Table 49. ADC accuracy with R
AIN
< 10 kΩ R
AIN
, V
DD
= 3.3 V ..............................................................87
Table 50. EMS data ................................................................................................................................89
Table 51. EMI data .................................................................................................................................90
Table 52. ESD absolute maximum ratings .............................................................................................90
Table 53. Electrical sensitivities .............................................................................................................91
Table 54. 32-pin low profile quad flat package mechanical data .........................................................102
Table 55. 32-lead, ultra thin, fine pitch quad flat no-lead package mechanical data .............................94
Table 56. 20-lead, ultra thin, fine pitch quad flat no-lead package (3 x 3) package mechanical data ....96
Table 57. 32-lead shrink plastic DIP (400 ml) package mechanical data ..............................................99
Table 58. 20-pin, 4.40 mm body, 0.65 mm pitch mechanical data .......................................................101
Table 59. 20-lead, plastic small outline (300 mils) mechanical data ....................................................101
Table 60. Thermal characteristics ........................................................................................................102
Table 61. Document revision history ....................................................................................................112
DocID15590 Rev 6
5/115
查看更多>
参数对比
与STM8S903K3B3相近的元器件有:STM8S903K3B6TR、STM8S903K3B3TR、STM8SP903K3U3。描述及对比如下:
型号 STM8S903K3B3 STM8S903K3B6TR STM8S903K3B3TR STM8SP903K3U3
描述 8-BIT, FLASH, 16MHz, MICROCONTROLLER, PDIP32, 0.400 INCH, ROHS COMPLIANT, PLASTIC, SDIP-32 8-BIT, FLASH, 16MHz, MICROCONTROLLER, PDIP32, 0.400 INCH, ROHS COMPLIANT, PLASTIC, SDIP-32 8-BIT, FLASH, 16MHz, MICROCONTROLLER, PDIP32, 0.400 INCH, ROHS COMPLIANT, PLASTIC, SDIP-32 8-BIT, FLASH, 16MHz, MICROCONTROLLER, QCC32, 5 X 5 MM, 0.50 MM PITCH, ROHS COMPLIANT, UFQFPN-32
厂商名称 ST(意法半导体) ST(意法半导体) ST(意法半导体) ST(意法半导体)
零件包装代码 DIP DIP DIP QFN
包装说明 SDIP, SDIP32,.4 SDIP, SDIP, 5 X 5 MM, 0.50 MM PITCH, ROHS COMPLIANT, UFQFPN-32
针数 32 32 32 32
Reach Compliance Code compliant compliant compliant compli
具有ADC YES YES YES YES
位大小 8 8 8 8
最大时钟频率 16 MHz 16 MHz 16 MHz 16 MHz
DAC 通道 NO NO NO NO
DMA 通道 NO NO NO NO
JESD-30 代码 R-PDIP-T32 R-PDIP-T32 R-PDIP-T32 S-XQCC-N32
长度 27.94 mm 27.94 mm 27.94 mm 5 mm
I/O 线路数量 28 28 28 28
端子数量 32 32 32 32
片上程序ROM宽度 32 32 32 32
最高工作温度 125 °C 85 °C 125 °C 125 °C
最低工作温度 -40 °C -40 °C -40 °C -40 °C
PWM 通道 YES YES YES YES
封装主体材料 PLASTIC/EPOXY PLASTIC/EPOXY PLASTIC/EPOXY UNSPECIFIED
封装代码 SDIP SDIP SDIP HVQCCN
封装形状 RECTANGULAR RECTANGULAR RECTANGULAR SQUARE
封装形式 IN-LINE, SHRINK PITCH IN-LINE, SHRINK PITCH IN-LINE, SHRINK PITCH CHIP CARRIER, HEAT SINK/SLUG, VERY THIN PROFILE
RAM(字节) 1024 1024 1024 1024
ROM(单词) 2048 2048 2048 2048
ROM可编程性 FLASH FLASH FLASH FASTROM
座面最大高度 5.08 mm 5.08 mm 5.08 mm 0.6 mm
速度 16 MHz 16 MHz 16 MHz 16 MHz
最大供电电压 5.5 V 5.5 V 5.5 V 5.5 V
最小供电电压 2.95 V 2.95 V 2.95 V 2.95 V
标称供电电压 3.3 V 3.3 V 3.3 V 3.3 V
表面贴装 NO NO NO YES
技术 CMOS CMOS CMOS CMOS
温度等级 AUTOMOTIVE INDUSTRIAL AUTOMOTIVE AUTOMOTIVE
端子形式 THROUGH-HOLE THROUGH-HOLE THROUGH-HOLE NO LEAD
端子节距 1.778 mm 1.778 mm 1.778 mm 0.5 mm
端子位置 DUAL DUAL DUAL QUAD
宽度 10.16 mm 10.16 mm 10.16 mm 5 mm
uPs/uCs/外围集成电路类型 MICROCONTROLLER MICROCONTROLLER MICROCONTROLLER MICROCONTROLLER
热门器件
热门资源推荐
器件捷径:
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL CM CN CO CP CQ CR CS CT CU CV CW CX CY CZ D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF DG DH DI DJ DK DL DM DN DO DP DQ DR DS DT DU DV DW DX DZ
需要登录后才可以下载。
登录取消