MAX34334CSE 第1页-第5页 PDF中文翻译页面详情预览
STM8S105xx
接入线路, 16兆赫STM8S 8位MCU ,最多32 KB闪存,
集成的EEPROM , 10位ADC ,定时器, UART , SPI , I²C
中断管理
嵌套中断控制器具有32个中断
6向量多达37个外部中断
LQFP48为7x7
LQFP44 10×10
LQFP32为7x7
计时器
2个16位通用定时器,2 + 3
CAPCOM通道( IC , OC或PWM)
高级3控制定时器: 16位, 4 CAPCOM
渠道,互补输出,死区时间
插入和灵活的同步
VFQFPN32 5x5的
UFQFPN32 5x5的
SDIP32 400毫升
特点
CORE
16 MHz的先进STM8内核,哈佛
架构和3级流水线
8位与8位预分频器基本定时器
自动唤醒定时器
窗口和独立的看门狗定时器
通信接口
UART时钟输出同步
操作时,智能卡,红外线, LIN
扩展指令集
-
-
回忆
中等密度的闪存/ EEPROM :
程序内存高达32K字节;数据
保留20年55°C后10 kcycles
数据存储高达1千字节的数据真实
EEPROM ;续航300 kcycles
SPI接口多达8兆比特/秒
I 2 C接口高达400千比特/秒
2
模拟数字转换器(ADC)的
10位, ± 1 LSB ADC具有多达10多路
渠道,扫描模式和模拟看门狗
RAM :高达2 KB的
时钟,复位和电源管理
2.95 V至5.5 V的工作电压
I / O的
多达38个I / O的48引脚封装,包括16
高灌电流输出
时钟
4主
灵活powercontrol ,谐振器的时钟源:
振荡器
-
小晶
-
外部时钟输入
-
内部,用户可微调的16 MHz的RC
-
内部低功耗128千赫RC
时钟安全系统时钟监控
电源管理: (等待,主动暂停,停止)
-
低功耗模式
-
关机外设时钟独立
永久激活,低功耗上
和掉电复位
2010年4月
非常强大的I / O设计,对当前免疫
注射
开发支持
嵌入式单线接口模块( SWIM )
快速片上编程和非侵入性
调试
唯一ID
96位的唯一的密钥对每个器件
表1 :设备摘要
参考
产品型号
STM8S105xx
STM8S105K4 , STM8S105K6 , STM8S105S4 , STM8S105S6 ,
STM8S105C4 , STM8S105C6
DocID14771第9版
1/127
www.st.com
目录
STM8S105xx
目录
1
2
3
4
介绍..............................................................................................................8
描述...............................................................................................................9
框图........................................................................................................11
产品概述...................................................................................................12
4.1中央处理单元STM8 ............................................. ........................................ 12
4.2单线接口模块( SWIM)和调试模块( DM) ................................. 12
4.3中断控制器.......................................................................................................13
4.4闪存程序存储器和数据EEPROM存储器........................................... ..................... 13
4.5时钟控制器............................................................................................................14
4.6电源管理....................................................................................................15
4.7看门狗定时器..........................................................................................................16
4.8自动唤醒计数器...................................................................................................16
4.9蜂鸣器........................................................................................................................16
4.10 TIM1 - 16位高级控制定时器......................................... ................................ 17
4.11 TIM2 , TIM3 - 16位通用定时器....................................... ....................... 17
4.12 TIM4 - 8位基本定时器.......................................... .................................................. ..17
4.13模拟数字转换器(ADC1 ) ........................................ .................................... 18
4.14通讯接口............................................... .......................................... 18
4.14.1 UART2 .............................................. ................................................. 18
4.14.2 SPI .....................................................................................................19
4.14.3 I²C ......................................................................................................19
5引脚与引脚说明............................................. ...................................... 21
5.1 STM8S105引脚与引脚说明............................................ ........................... 22
5.1.1复用功能重映射............................................ ................... 28
6内存和寄存器映射............................................. ........................................ 29
6.1存储器映射
6.2寄存器映射
6.2.1
6.2.2
6.2.3
................................................................................................................29
...............................................................................................................30
I / O端口的硬件寄存器映射........................................... ................. 30
一般硬件寄存器映射.............................................. ............. 33
CPU /游泳/调试模块/中断控制器寄存器...................... 47
7中断向量绘图.............................................. ........................................ 50
8个字节选项...........................................................................................................52
9唯一ID ................................................................................................................57
10电气特性............................................... ..................................... 58
10.1参数条件............................................... .................................................. 58
10.1.1最小值和最大值........................................... .............. 58
10.1.2典型值............................................. ........................................ 58
2/127
DocID14771第9版
STM8S105xx
目录
10.1.3典型曲线............................................. ....................................... 58
10.1.4典型电流消耗............................................ .................. 58
10.1.5负载电容............................................. .................................. 59
10.1.6引脚的输入电压............................................ ..................................... 59
10.2绝对最大额定值.............................................. .......................................... 59
10.3操作条件............................................... .................................................. 0.61
10.3.1 VCAP外部电容............................................ ........................ 64
10.3.2电源电流特性............................................ ................ 64
10.3.3外部时钟源和时序特性............................. 76
10.3.4内部时钟源和时序特性............................... 78
10.3.5内存特性............................................. ......................... 81
10.3.6 I / O端口引脚的特性......................................... ........................ 82
10.3.7典型的输出电平曲线........................................... ...................... 86
10.3.8复位引脚特性............................................ ........................ 91
10.3.9 SPI串行外设接口........................................... ................. 93
2
10.3.10 IC接口特性............................................ ................. 97
10.3.11 10位ADC特性.......................................... ...................... 98
10.3.12 EMC特性............................................. .......................... 102
11封装特性............................................... ..................................... 106
11.1 ECOPACK封装..................................................................................................106
11.2包装机械数据.............................................. .......................................... 106
11.2.1采用48引脚LQFP封装机械数据........................................ ... 106
11.2.2 44引脚LQFP封装机械数据........................................ ... 108
11.2.3 32引脚LQFP封装机械数据........................................ ... 109
11.2.4 32引脚VFQFPN包装机械数据.................................... 111
11.2.5 32引脚UFQFPN包装机械数据.................................... 112
11.2.6 SDIP32包装机械数据........................................... ........ 114
11.3热特性............................................... ............................................. 115
11.3.1参考文件............................................. ........................... 116
11.3.2选择产品的温度范围内......................................... 116
12订货信息............................................... .......................................... 117
12.1 STM8S105 FASTROM微控制器选项列表............................................ ....... 117
13 STM8开发工具.............................................. .................................... 122
13.1仿真和在线调试工具.......................................... ....................... 122
13.2软件工具..........................................................................................................122
13.2.1 STM8工具............................................. ....................................... 123
13.2.2 C语言和汇编工具链........................................... ................... 123
13.3编程工具..................................................................................................123
14修订历史............................................... .................................................. 124
DocID14771第9版
3/127
表格清单
STM8S105xx
表格清单
表1.设备摘要.........................................................................................................................1
表2. STM8S105xx接入线路特色........................................... .................................................. 9
在CLK_PCKENR1 / 2寄存器表3.外设时钟门控位分配.................................. 15
表4. TIM定时器功能...................................................................................................................17
表5.联想/缩写..............................................................................................................21
表6.引脚说明STM8S105单片机.......................................... ............................. 25
表7.闪存,数据EEPROM和RAM边界地址....................................... ................... 108
表8. I / O端口的硬件寄存器映射........................................ .................................................. 113 ....
表9.一般硬件寄存器映射........................................... .................................................. ... 33
表10. CPU /游泳/调试模块/中断控制器寄存器..................................... ................. 114
表11.中断映射....................................................................................................................50
表12.选项字节..........................................................................................................................57
表13.选项字节描述...........................................................................................................53
表14.复用功能说明重映射位: OPT2的[ 7:0] ................................. ............ 55
表15.唯一ID寄存器( 96位) ...................................................................................................57
表16.电压特性...........................................................................................................59
表17.电流特性...........................................................................................................60
表18.热特性..........................................................................................................61
表19.总的运行条件............................................ .................................................. ... 62
在上电/掉电表20.操作条件..................................... ................................. 63
表21.总电流消耗与执行代码的运行模式在V
DD
= 5 V .............................64
表22.总电流消耗与执行代码的运行模式在V
DD
= 3.3 V ..........................76
表23.总电流消耗在V等待模式
DD
= 5 V ............................................................67
表24.总电流消耗在V等待模式
DD
= 3.3 V .........................................................68
表25.总电流消耗在V主动停止模式
DD
= 5 V ..................................................68
表26.总电流消耗在V主动停止模式
DD
= 3.3 V ...............................................69
表27.总电流消耗在V HALT模式
DD
= 5 V .............................................................70
表28.总电流消耗在V HALT模式
DD
= 3.3 V ..........................................................71
表29.唤醒时间.........................................................................................................................71
表30.总电流消耗和时间的强制复位状态...................................... ............ 104
表31.外设电流消耗............................................ ................................................. 72
表32. HSE用户外部时钟特性.......................................... ....................................... 76
表33. HSE振荡器的特性............................................ .................................................. ... 77
表34. HSI振荡器的特性............................................ .................................................. .... 78
表35. LSI振荡器特性...................................................................................................80
表36. RAM和硬件寄存器........................................... .................................................. ..... 81
表37.闪存程序存储器/数据EEPROM存储器........................................ ............................ 81
表38. I / O的静态特性.........................................................................................................82
表39.​​输出驱动电流(标准端口) ........................................ .......................................... 84
表40.输出驱动电流(真正的开漏输出端口) ..................................... .................................. 85
表41.输出驱动电流(高灌口) ....................................... ........................................... 85
表42. NRST引脚特性........................................................................................................91
表43. SPI特点..................................................................................................................94
2
表44. I C特性..................................................................................................................97
表45. ADC特性................................................................................................................98
表46. ADC精度为R
艾因
<为10kΩ ,V
DDA
= 5 V .......................................................................99
表47. ADC精度为R
艾因
< 10 kΩ的ř
艾因
, V
DDA
= 3.3 V ..........................................................100
4/127
DocID14771第9版
STM8S105xx
表格清单
表48. EMS数据..............................................................................................................................103
表49. EMI数据...............................................................................................................................103
表50. ESD绝对最大额定值........................................... ................................................ 104
表51.电气敏感性...........................................................................................................104
表52. 48引脚薄型四方扁平封装机械数据..................................... .................... 106
表53. 44引脚薄型四方扁平封装机械数据..................................... .................... 108
表54. 32引脚薄型四方扁平封装机械数据..................................... .................... 124
表55. 32引脚非常薄的细间距四方扁平无引线封装机械数据.............................. 113
表56. 32引脚超薄细间距四方扁平无引线封装机械数据............................. 113
表57. 32引脚塑封DIP (400毫升)包装机械数据.................................. .......... 114
(1)
表58.热特性
....................................................................................................115
表59.文档修订历史记录...................................................................................................124
DocID14771第9版
5/127
相关元器件产品Datasheet PDF文档

STM8S105K6B3

Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
96 STMICROELECTR

STM8S105K6B3C

Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
12 STMICROELECTR

STM8S105K6B3CTR

Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
16 STMICROELECTR

STM8S105K6B3TR

Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
9 STMICROELECTR

STM8S105K6B6

Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
55 STMICROELECTR

STM8S105K6B6C

Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
12 STMICROELECTR