0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
FM33LC025N

FM33LC025N

  • 厂商:

    FUDANMICRO(复旦微电子)

  • 封装:

    LQFP48_7X7MM

  • 描述:

  • 数据手册
  • 价格&库存
FM33LC025N 数据手册
FM33LC0 系列 低功耗 MCU 芯片 产品说明书 2020. 06 产品说明书 FM33LC0xx 版本 2.4 1 本资料是为了让用户根据用途选择合适的上海复旦微电子集团股份有限公司(以下简称复旦微电子)的产品而提供的参考资料,不 保证其中不含任何瑕疵,不转让属于复旦微电子或者第三者所有的知识产权以及其他权利的许可。 在使用本资料所记载的信息最终做出有关信息和产品是否适用的判断前,请您务必将所有信息作为一个整体系统来进行评价。 采购方对于选择与使用本文描述的复旦微电子的产品和服务全权负责,复旦微电子不承担采购方选择与使用本文描述的产品和服务 的责任。除非以书面形式明确地认可,复旦微电子的产品不推荐、不授权、不担保用于包括军事、航空、航天、救生及生命维持系 统在内的,由于失效或故障可能导致人身伤亡、严重的财产或环境损失的产品或系统中。 未经复旦微电子的许可,不得翻印或者复制全部或部分本资料的内容。 今后日常的产品更新会在适当的时候发布,恕不另行通知。在购买本资料所记载的产品时,请预先向复旦微电子在当地的销售办事 处确认最新信息,并请您通过各种方式关注复旦微电子公布的信息,包括复旦微电子的网站(http://www.fmsh.com/)。 如果您需要了解有关本资料所记载的信息或产品的详情,请与上海复旦微电子集团股份有限公司在当地的销售办事处联系。 商标 上海复旦微电子集团股份有限公司的公司名称、徽标以及“复旦”徽标均为上海复旦微电子集团股份有限公司及其分公司在中国的商标 或注册商标。 上海复旦微电子集团股份有限公司在中国发布,版权所有。 产品说明书 FM33LC0xx 版本 2.4 2 章节列表 章节列表 章节列表 ............................................................................................................................................................................... 3 表目录 ................................................................................................................................................................................. 19 图目录 ................................................................................................................................................................................. 21 1 产品综述 ..................................................................................................................................................................... 26 1.1 1.2 1.3 1.4 2 概述 ..................................................................................................................................................................... 26 芯片结构框图 ...................................................................................................................................................... 28 产品型号列表 ...................................................................................................................................................... 29 产品特性对照表 .................................................................................................................................................. 29 引脚和封装 ................................................................................................................................................................. 32 2.1 封装和引脚排列 .................................................................................................................................................. 32 2.1.1 FM33LC0x6U 封装图(LQFP64) ..................................................................................................................... 32 2.1.2 FM33LC0x6N 封装图(LQFP64) ..................................................................................................................... 33 2.1.3 FM33LC0x5N 封装图(LQFP48) ..................................................................................................................... 34 2.1.4 FM33LC0x4NR 封装图(LQFP44) ................................................................................................................... 35 2.1.5 FM33LC0x3N 封装图(QFN32) ...................................................................................................................... 36 2.1.6 FM33LC0x3U 封装图(QFN32) ...................................................................................................................... 37 2.1.7 FM33LC0x2N 封装图(TSSOP20) ................................................................................................................... 37 2.1.8 引脚功能定义(FM33LC0xxU) .................................................................................................................. 38 2.1.9 引脚功能定义(FM33LC0xxN) .................................................................................................................. 43 2.1.10 引脚功能定义(FM33LC0x4NR) ................................................................................................................ 48 2.1.11 封装尺寸图.................................................................................................................................................. 52 3 电参数 ......................................................................................................................................................................... 60 3.1 参数说明 ............................................................................................................................................................. 60 3.2 参数测试条件 ...................................................................................................................................................... 60 3.2.1 供电方案 ..................................................................................................................................................... 60 3.3 极限参数 ............................................................................................................................................................. 63 3.4 性能参数 ............................................................................................................................................................. 64 3.4.1 典型工作条件 .............................................................................................................................................. 64 3.4.2 功耗参数 ..................................................................................................................................................... 65 3.4.3 复位和电源监控 .......................................................................................................................................... 71 3.4.4 高精度基准源 .............................................................................................................................................. 73 3.4.5 低功耗模式唤醒时间 .................................................................................................................................. 75 3.4.6 外部时钟源特性 .......................................................................................................................................... 76 3.4.7 内部时钟源特性 .......................................................................................................................................... 77 3.4.8 PLL 特性 ........................................................................................................................................................... 80 3.4.9 ADC 特性.......................................................................................................................................................... 81 3.4.10 温度传感器.................................................................................................................................................. 85 3.4.11 运算放大器特性 .......................................................................................................................................... 87 3.4.12 模拟比较器特性 .......................................................................................................................................... 88 3.4.13 Flash 存储器特性......................................................................................................................................... 89 3.4.14 GPIO 特性 .................................................................................................................................................... 90 3.4.15 LCD 特性 ...................................................................................................................................................... 93 3.4.16 USB 特性 ...................................................................................................................................................... 93 4 电源管理单元(PMU) .............................................................................................................................................. 96 4.1 芯片工作电源 ...................................................................................................................................................... 96 产品说明书 FM33LC0xx 版本 2.4 3 章节列表 4.1.1 电源域划分.................................................................................................................................................. 96 4.1.2 电源结构图.................................................................................................................................................. 97 4.1.3 ADC 和基准电压的独立供电 ........................................................................................................................... 97 4.2 功耗模式 ............................................................................................................................................................. 98 4.2.1 概述 ............................................................................................................................................................. 98 4.2.1 功耗模式与系统频率 .................................................................................................................................. 99 4.2.2 Active 模式..................................................................................................................................................... 100 4.2.3 LP Active 模式 ................................................................................................................................................ 100 4.2.4 LP Run 模式.................................................................................................................................................... 100 4.2.5 SLEEP 模式 ..................................................................................................................................................... 101 4.2.6 DEEPSLEEP 模式 ............................................................................................................................................. 102 4.3 唤醒源 ............................................................................................................................................................... 103 4.4 休眠唤醒后的时钟 ............................................................................................................................................ 104 4.5 寄存器 ............................................................................................................................................................... 105 4.5.1 低功耗控制寄存器(PMU_CR) ............................................................................................................... 105 4.5.2 唤醒时间控制寄存器(PMU_WKTR) ...................................................................................................... 106 4.5.3 唤醒源标志查询寄存器(PMU_WKFR) .................................................................................................. 107 4.5.4 PMU 中断使能寄存器(PMU_IER).............................................................................................................. 108 4.5.5 PMU 中断标志寄存器(PMU_ISR).............................................................................................................. 108 5 内部基准源(VREF) ................................................................................................................................................ 111 5.1 概述 ................................................................................................................................................................... 111 5.2 寄存器 ............................................................................................................................................................... 112 5.2.1 VREF1p2 控制寄存器(VREF_CR) ................................................................................................................ 112 5.2.2 VREF1p2 标志寄存器(VREF_SR) ................................................................................................................ 112 5.2.3 VREF1p2 中断使能寄存器(VREF_IER) ....................................................................................................... 113 5.2.4 模拟 BUFFER 控制寄存器(VREF_BUFCR) ............................................................................................... 114 6 CPU ............................................................................................................................................................................ 115 6.1 概述 ................................................................................................................................................................... 115 6.1.1 处理器配置................................................................................................................................................ 115 6.2 寄存器 ............................................................................................................................................................... 116 6.3 异常和中断........................................................................................................................................................ 117 6.3.1 中断向量表................................................................................................................................................ 117 6.3.2 中断优先级................................................................................................................................................ 118 6.3.3 错误处理 ................................................................................................................................................... 118 6.3.4 锁定(Lockup)......................................................................................................................................... 119 6.4 调试特性 ........................................................................................................................................................... 120 6.4.1 调试功能引脚 ............................................................................................................................................ 120 6.4.2 调试状态下的看门狗控制 ......................................................................................................................... 120 6.4.3 DEBUG 的复位 ............................................................................................................................................... 120 6.5 寄存器 ............................................................................................................................................................... 121 6.5.1 DEBUG 配置寄存器(DBG_CR) ................................................................................................................... 121 6.5.2 HardFault 查询寄存器(DBG_HDFR)........................................................................................................... 122 7 总线与存储 ............................................................................................................................................................... 124 7.1 系统总线 ........................................................................................................................................................... 124 7.2 存储空间分配 .................................................................................................................................................... 126 7.2.1 概述 ........................................................................................................................................................... 126 7.2.2 外设模块寄存器地址分配 ......................................................................................................................... 127 7.3 RAM ................................................................................................................................................................... 129 7.3.1 概述 ........................................................................................................................................................... 129 7.4 FLASH .................................................................................................................................................................. 130 7.4.1 概述 ........................................................................................................................................................... 130 产品说明书 FM33LC0xx 版本 2.4 4 章节列表 7.4.2 特殊信息扇区说明 .................................................................................................................................... 130 7.4.3 Flash 编程 ...................................................................................................................................................... 134 7.4.4 Data Flash ...................................................................................................................................................... 139 7.4.5 Flash 的内容保护........................................................................................................................................... 139 7.5 寄存器 ............................................................................................................................................................... 142 7.5.1 Flash 读取控制寄存器(FLS_RDCR) ............................................................................................................ 142 7.5.2 预取指控制寄存器(FLS_PFCR) .............................................................................................................. 143 7.5.3 用户配置字寄存器(FLS_OPTBR) ........................................................................................................... 143 7.5.4 ACLOCK 寄存器 1(FLS_ACLOCK1) ............................................................................................................... 144 7.5.5 ACLOCK 寄存器 2(FLS_ACLOCK2) ............................................................................................................... 145 7.5.6 Flash 擦写控制寄存器(FLS_EPCR)............................................................................................................. 145 7.5.7 Flash Key 输入寄存器(FLS_KEY) ................................................................................................................ 146 7.5.8 Flash 中断使能寄存器(FLS_IER)................................................................................................................ 146 7.5.9 Flash 标志寄存器(FLS_ISR) ....................................................................................................................... 147 8 复位管理单元(RMU) ............................................................................................................................................ 149 8.1 概述 ................................................................................................................................................................... 149 8.2 模块框图 ........................................................................................................................................................... 150 8.3 上下电复位........................................................................................................................................................ 151 8.4 独立看门狗(IWDT) ...................................................................................................................................... 152 8.5 窗口看门狗(WWDT) .................................................................................................................................... 152 8.6 软件复位 ........................................................................................................................................................... 152 8.7 NRST 引脚复位 .................................................................................................................................................. 152 8.8 寄存器 ............................................................................................................................................................... 153 8.8.1 PDR 控制寄存器(RMU_PDRCR) ................................................................................................................. 153 8.8.2 BOR 控制寄存器(RMU_BORCR) ................................................................................................................ 153 9 独立看门狗(IWDT) ............................................................................................................................................... 155 9.1 概述 ................................................................................................................................................................... 155 9.2 结构框图 ........................................................................................................................................................... 155 9.3 IWDT 功能描述 .................................................................................................................................................. 155 9.4 IWDT 窗口功能 .................................................................................................................................................. 156 9.5 IWDT 冻结.......................................................................................................................................................... 157 9.6 寄存器 ............................................................................................................................................................... 158 9.6.1 IWDT 清除寄存器(IWDT_SERV)................................................................................................................. 158 9.6.2 IWDT 配置寄存器(IWDT_CR) .................................................................................................................... 158 9.6.3 IWDT 计数值寄存器(IWDT_CNT) .............................................................................................................. 159 9.6.1 IWDT 窗口寄存器(IWDT_WIN).................................................................................................................. 160 9.6.2 IWDT 中断使能寄存器(IWDT_IER) ............................................................................................................ 160 9.6.3 IWDT 中断标志寄存器(IWDT_ISR) ............................................................................................................ 160 10 窗口看门狗(WWDT) ......................................................................................................................................... 162 10.1 功能描述 ........................................................................................................................................................... 162 10.2 结构框图 ........................................................................................................................................................... 162 10.3 WWDT 工作方式................................................................................................................................................ 163 10.4 寄存器 ............................................................................................................................................................... 165 10.4.1 WWDT 控制寄存器(WWDT_CR) ........................................................................................................... 165 10.4.2 WWDT 配置寄存器(WWDT_CFGR) ....................................................................................................... 165 10.4.3 WWDT 计数寄存器(WWDT_CNT) ......................................................................................................... 166 10.4.4 WWDT 中断使能寄存器(WWDT_IER) ................................................................................................... 166 10.4.5 WWDT 中断标志寄存器(WWDT_ISR) ................................................................................................... 167 10.4.6 WWDT 预分频寄存器(WWDT_PSC) ...................................................................................................... 167 11 时钟管理单元(CMU) ........................................................................................................................................ 170 产品说明书 FM33LC0xx 版本 2.4 5 章节列表 11.1 概述 ................................................................................................................................................................... 170 11.2 时钟架构 ........................................................................................................................................................... 171 11.2.1 SYSCLK 切换说明........................................................................................................................................ 172 11.2.2 主要时钟说明 ............................................................................................................................................ 172 11.2.3 外设模块的总线时钟和工作时钟.............................................................................................................. 172 11.2.4 休眠模式下的外设时钟............................................................................................................................. 174 11.2.5 LSCLK 切换逻辑.......................................................................................................................................... 174 11.3 USB PHY BCK....................................................................................................................................................... 174 11.4 高频 RC 振荡器(RCHF) ....................................................................................................................................... 176 11.4.1 概述 ........................................................................................................................................................... 176 11.4.2 软件使用说明 ............................................................................................................................................ 176 11.5 中频 RC 振荡器(RCMF) ...................................................................................................................................... 177 11.5.1 概述 ........................................................................................................................................................... 177 11.6 高精度低功耗 RC 振荡器(LPOSC) ...................................................................................................................... 178 11.6.1 概述 ........................................................................................................................................................... 178 11.7 低频晶体振荡电路(XTLF) ................................................................................................................................... 179 11.7.1 概述 ........................................................................................................................................................... 179 11.7.2 工作方式 ................................................................................................................................................... 179 11.7.3 停振检测 ................................................................................................................................................... 179 11.8 高频晶体振荡电路(XTHF) .................................................................................................................................. 180 11.8.1 概述 ........................................................................................................................................................... 180 11.8.2 工作方式 ................................................................................................................................................... 180 11.8.3 停振检测 ................................................................................................................................................... 180 11.9 锁相环(PLL) ........................................................................................................................................................ 181 11.9.1 概述 ........................................................................................................................................................... 181 11.9.2 软件应用指南 ............................................................................................................................................ 181 11.10 低功耗模式下的时钟源................................................................................................................................. 182 11.11 休眠唤醒的时钟处理 .................................................................................................................................... 182 11.12 寄存器 ........................................................................................................................................................... 183 11.12.1 LOCKUP 复位控制寄存器(RCC_LKPCR) .................................................................................................. 184 11.12.2 软件复位寄存器(RCC_SOFTRST) ....................................................................................................... 184 11.12.3 复位标志寄存器(RCC_RSTFR) ........................................................................................................... 185 11.12.4 系统时钟控制寄存器(RCC_SYSCLKCR) .............................................................................................. 186 11.12.5 RCHF 控制寄存器(RCC_RCHFCR) ........................................................................................................... 187 11.12.6 RCHF 调校寄存器(RCC_RCHFTR) ........................................................................................................... 188 11.12.7 PLL 控制寄存器(RCC_PLLCR) ................................................................................................................. 188 11.12.8 LPOSC 控制寄存器(RCC_LPOSCCR)........................................................................................................ 189 11.12.9 LPOSC 调校寄存器(RCC_LPOSCTR) ........................................................................................................ 190 11.12.10 XTLF 控制寄存器(RCC_XTLFCR) ......................................................................................................... 190 11.12.11 外设总线时钟控制寄存器 1(RCC_PCLKCR1) ..................................................................................... 191 11.12.12 外设总线时钟控制寄存器 2(RCC_PCLKCR2) ..................................................................................... 192 11.12.13 外设总线时钟控制寄存器 3(RCC_PCLKCR3) ..................................................................................... 193 11.12.14 外设总线时钟控制寄存器 4(RCC_PCLKCR4) ..................................................................................... 194 11.12.15 LSCLK 选择寄存器(RCC_LSCLKSEL)..................................................................................................... 194 11.12.16 AHB Master 控制寄存器(RCC_AHBMCR) ........................................................................................... 195 11.12.17 外设复位使能寄存器(RCC_PRSTEN) ................................................................................................. 195 11.12.18 AHB 外设复位寄存器(RCC_AHBRSTCR) ............................................................................................. 196 11.12.19 APB 外设复位寄存器 1(RCC_APBRSTCR1) ......................................................................................... 196 11.12.20 APB 外设复位寄存器 2(RCC_APBRSTCR2) ......................................................................................... 198 11.12.21 XTHF 控制寄存器(RCC_XTHFCR) ....................................................................................................... 199 11.12.22 RCMF 控制寄存器(RCC_RCMFCR) ..................................................................................................... 200 11.12.23 RCMF 调校寄存器(RCC_RCMFTR) ..................................................................................................... 200 11.12.24 外设工作时钟控制寄存器 1(RCC_OPCCR1) ...................................................................................... 201 产品说明书 FM33LC0xx 版本 2.4 6 章节列表 11.12.25 11.12.26 11.12.27 12 外设工作时钟控制寄存器 2(RCC_OPCCR2) ...................................................................................... 202 PHY 控制寄存器(RCC_PHYCR) ........................................................................................................... 204 PHY BCK 控制寄存器(RCC_PHYBCKCR) .............................................................................................. 205 停振检测(FDET) ................................................................................................................................................ 206 12.1 低频停振检测 .................................................................................................................................................... 206 12.2 高频停振检测 .................................................................................................................................................... 206 12.3 寄存器 ............................................................................................................................................................... 207 12.3.1 停振检测中断使能寄存器(FDET_IER) ................................................................................................... 207 12.3.2 停振检测中断标志寄存器(FDET_ISR) ................................................................................................... 207 13 电源电压监测(SVD) .......................................................................................................................................... 209 13.1 概述 ................................................................................................................................................................... 209 13.2 结构框图 ........................................................................................................................................................... 209 13.3 引脚定义 ........................................................................................................................................................... 210 13.4 功能描述 ........................................................................................................................................................... 210 13.5 外部电源检测 .................................................................................................................................................... 211 13.6 电源检测阈值 .................................................................................................................................................... 212 13.7 寄存器 ............................................................................................................................................................... 215 13.7.1 SVD 配置寄存器(SVD_CFGR) ................................................................................................................. 215 13.7.2 SVD 控制寄存器(SVD_CR) ..................................................................................................................... 216 13.7.3 SVD 中断使能寄存器(SVD_IER) ............................................................................................................ 216 13.7.4 SVD 状态和标志寄存器(SVD_ISR) ......................................................................................................... 217 13.7.5 SVD 参考电压选择寄存器(SVD_VSR) .................................................................................................... 218 14 AES 硬件运算单元(AES) ....................................................................................................................................... 219 14.1 功能描述 ........................................................................................................................................................... 219 14.2 工作模式 ........................................................................................................................................................... 219 14.3 AES 数据流处理模式 ......................................................................................................................................... 220 14.3.1 ECB 模式 .................................................................................................................................................... 220 14.3.2 CBC 模式 .................................................................................................................................................... 221 14.3.3 暂停模式 ................................................................................................................................................... 223 14.3.4 CTR 模式 .................................................................................................................................................... 224 14.3.5 CTR 模式下的暂停模式 ............................................................................................................................. 225 14.3.6 GCM 模式 .................................................................................................................................................. 225 14.3.7 MultH 模块 ................................................................................................................................................ 228 14.3.8 推荐的 GCM 流程 ...................................................................................................................................... 229 14.4 数据类型 ........................................................................................................................................................... 230 14.5 工作流程 ........................................................................................................................................................... 231 14.5.1 模式 1:加密............................................................................................................................................. 231 14.5.2 模式 2:密钥扩展 ..................................................................................................................................... 232 14.5.3 模式 3:解密............................................................................................................................................. 233 14.5.4 模式 4:密钥扩展+解密............................................................................................................................ 233 14.5.5 使用 MultH 模块 ........................................................................................................................................ 234 14.6 DMA 接口 .......................................................................................................................................................... 235 14.6.1 MultH 模块与 DMA 间接口........................................................................................................................ 236 14.7 错误标志 ........................................................................................................................................................... 236 14.8 寄存器 ............................................................................................................................................................... 237 14.8.1 AES 控制寄存器(AES_CR)...................................................................................................................... 237 14.8.2 AES 中断使能寄存器(AES_IER) ............................................................................................................. 239 14.8.3 AES 中断标志寄存器(AES_ISR) ............................................................................................................. 239 14.8.4 AES 数据输入寄存器(AES_DIR) ............................................................................................................. 240 14.8.5 AES 数据输出寄存器(AES_DOR) ........................................................................................................... 240 14.8.6 AES 秘钥寄存器 x(AES_KEYx) ................................................................................................................ 241 产品说明书 FM33LC0xx 版本 2.4 7 章节列表 14.8.7 15 AES 初始向量寄存器 x(AES_IVRx) ......................................................................................................... 241 随机数发生器(TRNG) ....................................................................................................................................... 243 15.1 概述 ................................................................................................................................................................... 243 15.2 功能描述 ........................................................................................................................................................... 244 15.2.1 随机数产生................................................................................................................................................ 244 15.2.2 工作时钟 ................................................................................................................................................... 244 15.2.3 随机数读取................................................................................................................................................ 244 15.2.4 CRC 运算 .................................................................................................................................................... 245 15.3 寄存器 ............................................................................................................................................................... 246 15.3.1 随机数控制寄存器(RNGCTL_CR) .......................................................................................................... 246 15.4 寄存器 ............................................................................................................................................................... 246 15.4.1 随机数/CRC 结果输出寄存器(RNG_DOR) ............................................................................................. 247 15.4.2 RNG 标志寄存器(RNG_SR).................................................................................................................... 247 15.4.3 CRC 控制寄存器(RNG_CRCCR) .............................................................................................................. 248 15.4.4 CRC 输入数据寄存器(RNG_CRCDIR) ..................................................................................................... 248 15.4.5 CRC 标志寄存器(RNG_CRCSR)............................................................................................................... 248 16 运算放大器(OPA) ............................................................................................................................................. 250 16.1 概述 ................................................................................................................................................................... 250 16.2 结构框图 ........................................................................................................................................................... 251 16.3 引脚定义 ........................................................................................................................................................... 253 16.4 功能描述 ........................................................................................................................................................... 253 16.4.1 Standalone 模式......................................................................................................................................... 253 16.4.2 比较器模式................................................................................................................................................ 254 16.4.3 Buffer 模式................................................................................................................................................. 256 16.4.4 PGA 模式 ................................................................................................................................................... 256 16.4.5 Offset 校准................................................................................................................................................. 258 16.4.6 低功耗比较器 ............................................................................................................................................ 258 16.4.7 中断及触发信号输出 ................................................................................................................................ 258 16.4.8 低功耗模式下的 OPA................................................................................................................................. 259 16.5 寄存器 ............................................................................................................................................................... 260 16.5.1 OPA1 控制寄存器(OPA1_CR)................................................................................................................. 260 16.5.2 OPA1 校准寄存器(OPA1_CALR)............................................................................................................. 261 16.5.3 OPA1 中断使能寄存器(OPA1_IER) ........................................................................................................ 262 16.5.4 OPA1 中断标志寄存器(OPA1_ISR) ........................................................................................................ 263 16.5.5 OPA2 控制寄存器(OPA2_CR)................................................................................................................. 263 16.5.6 OPA2 校准寄存器(OPA2_CALR)............................................................................................................. 264 16.5.7 OPA2 中断使能寄存器(OPA2_IER) ........................................................................................................ 265 16.5.8 OPA2 中断标志寄存器(OPA2_ISR) ........................................................................................................ 266 17 模拟比较器(COMPARATOR) ............................................................................................................................. 267 17.1 概述 ................................................................................................................................................................... 267 17.2 结构框图 ........................................................................................................................................................... 268 17.3 引脚定义 ........................................................................................................................................................... 269 17.4 功能描述 ........................................................................................................................................................... 270 17.4.1 基本功能 ................................................................................................................................................... 270 17.4.2 输出数字滤波 ............................................................................................................................................ 270 17.4.3 内部比较基准选择 .................................................................................................................................... 270 17.4.4 中断及触发信号输出 ................................................................................................................................ 271 17.4.5 比较器输出连接 ........................................................................................................................................ 271 17.5 寄存器 ............................................................................................................................................................... 272 17.5.1 COMP 控制寄存器 1(COMP_CR1) ......................................................................................................... 272 17.5.2 COMP 控制寄存器 2(COMP_CR2) ......................................................................................................... 273 产品说明书 FM33LC0xx 版本 2.4 8 章节列表 17.5.3 17.5.4 18 COMP 中断配置寄存器(COMP_ICR) ..................................................................................................... 273 COMP 中断标志寄存器(COMP_ISR)...................................................................................................... 274 硬件除法器(HDIV) ............................................................................................................................................ 276 18.1 概述 ............................................................................................................................................................... 276 18.2 工作流程 ....................................................................................................................................................... 276 18.3 寄存器 ............................................................................................................................................................... 277 18.3.1 被除数寄存器(HDIV_END) .................................................................................................................... 277 18.3.2 除数寄存器(HDIV_SOR) ........................................................................................................................ 277 18.3.3 商寄存器(HDIV_QUOT) ......................................................................................................................... 278 18.3.4 余数寄存器(HDIV_REMD) ..................................................................................................................... 278 18.3.5 状态标志寄存器(HDIV_SR) ................................................................................................................... 279 19 I2C .............................................................................................................................................................................. 280 19.1 概述 ............................................................................................................................................................... 280 19.2 结构框图 ........................................................................................................................................................... 280 19.3 引脚定义和上拉电阻范围 ................................................................................................................................. 281 19.4 时钟 ................................................................................................................................................................... 284 19.5 接口时序 ........................................................................................................................................................... 285 19.5.1 接口时序图................................................................................................................................................ 285 19.5.2 接口时序描述 ............................................................................................................................................ 286 19.6 I2C 工作模式 ...................................................................................................................................................... 288 19.7 I2C 从机地址格式............................................................................................................................................... 289 19.8 I2C 初始化 .......................................................................................................................................................... 290 19.8.1 IO 配置....................................................................................................................................................... 290 19.8.2 主机波特率配置 ........................................................................................................................................ 290 19.8.3 从机的输入模拟滤波和输出延迟.............................................................................................................. 291 19.9 I2C 主机功能 ...................................................................................................................................................... 292 19.9.1 7bit 寻址 .................................................................................................................................................... 292 19.9.2 10bit 寻址 .................................................................................................................................................. 297 19.9.3 DMA ........................................................................................................................................................... 300 19.9.4 SCL 延展(Slave Clock Stretching)............................................................................................................ 304 19.9.5 超时机制 ................................................................................................................................................... 304 19.9.6 可编程时序................................................................................................................................................ 304 19.10 I2C 从机功能 .................................................................................................................................................. 306 19.10.1 从机寻址 ............................................................................................................................................... 306 19.10.2 从机发送数据 ........................................................................................................................................ 306 19.10.3 从机接收数据 ........................................................................................................................................ 307 19.10.4 从机低功耗接收唤醒............................................................................................................................. 309 19.10.5 DMA ........................................................................................................................................................... 309 19.10.6 从机时序 ............................................................................................................................................... 313 19.11 寄存器 ........................................................................................................................................................... 314 19.11.1 I2C 主机配置寄存器(I2C_MSPCFGR) ..................................................................................................... 314 19.11.2 I2C 主机控制寄存器(I2C_MSPCR) ......................................................................................................... 315 19.11.3 I2C 主机中断使能寄存器(I2C_MSPIER)................................................................................................. 316 19.11.4 I2C 主机中断标志寄存器(I2C_MSPISR)................................................................................................. 317 19.11.5 I2C 主机状态寄存器(I2C_MSPSR) ......................................................................................................... 317 19.11.6 I2C 主机波特率寄存器(I2C_MSPBGR)................................................................................................... 318 19.11.7 I2C 主机收发缓存寄存器(I2C_MSPBUF) ............................................................................................... 319 19.11.8 I2C 主机时序控制寄存器(I2C_MSPTCR)................................................................................................ 319 19.11.9 I2C 主机超时寄存器(I2C_MSPTOR)....................................................................................................... 320 19.11.10 I2C 从机控制寄存器(I2C_SSPCR)....................................................................................................... 321 19.11.11 I2C 从机中断使能寄存器(I2C_SSPIER) .............................................................................................. 321 19.11.12 I2C 从机中断标志寄存器(I2C_SSPISR) .............................................................................................. 322 产品说明书 FM33LC0xx 版本 2.4 9 章节列表 19.11.13 19.11.14 19.11.15 20 I2C 从机状态寄存器(I2C_SSPSR) ....................................................................................................... 323 I2C 从机收发缓存寄存器(I2C_SSPBUF) ............................................................................................. 324 I2C 从机地址寄存器(I2C_SSPADR) .................................................................................................... 324 UART .......................................................................................................................................................................... 326 20.1 概述 ................................................................................................................................................................... 326 20.2 结构框图 ........................................................................................................................................................... 327 20.3 引脚定义 ........................................................................................................................................................... 328 20.4 UART 类型区分 .................................................................................................................................................. 329 20.5 UART 字符描述 .................................................................................................................................................. 329 20.6 功能描述 ........................................................................................................................................................... 331 20.6.1 时钟结构 ................................................................................................................................................... 331 20.6.2 位接收采样................................................................................................................................................ 331 20.6.3 数据发送 ................................................................................................................................................... 332 20.6.4 数据接收 ................................................................................................................................................... 334 20.6.5 使用 DMA 进行 UART 收发 ........................................................................................................................ 334 20.6.6 DMA 模式下的发送完成中断 .................................................................................................................... 335 20.7 波特率发生........................................................................................................................................................ 335 20.7.1 波特率发生................................................................................................................................................ 335 20.7.1 波特率自适应 ............................................................................................................................................ 336 20.8 红外调制 ........................................................................................................................................................... 337 20.9 接收超时 ........................................................................................................................................................... 338 20.10 发送延迟 ....................................................................................................................................................... 338 20.11 寄存器 ........................................................................................................................................................... 338 20.11.1 红外调制配置寄存器(UART_IRCR).................................................................................................... 339 20.11.2 UARTx 控制状态寄存器(UARTx_CSR) .................................................................................................... 340 20.11.3 UARTx 中断使能寄存器(UARTx_IER) ..................................................................................................... 341 20.11.4 UARTx 中断标志寄存器(UARTx_ISR) ..................................................................................................... 342 20.11.5 UARTx 超时和延迟寄存器(UARTx_TODR).............................................................................................. 343 20.11.6 UARTx 接收缓冲寄存器(UARTx_RXBUF)................................................................................................ 343 20.11.7 UARTx 发送缓冲寄存器(UARTx_TXBUF) ................................................................................................ 344 20.11.8 UATRx 波特率产生寄存器(UARTx_BGR)................................................................................................ 344 21 LPUART ...................................................................................................................................................................... 346 21.1 概述 ................................................................................................................................................................... 346 21.2 结构框图 ........................................................................................................................................................... 347 21.3 引脚定义 ........................................................................................................................................................... 348 21.4 工作时钟 ........................................................................................................................................................... 348 21.5 字符描述 ........................................................................................................................................................... 349 21.6 功能描述 ........................................................................................................................................................... 350 21.6.1 位接收采样................................................................................................................................................ 350 21.6.2 接收流程 ................................................................................................................................................... 350 21.6.3 发送流程 ................................................................................................................................................... 350 21.6.4 使用 DMA 进行 LPUART 收发 .................................................................................................................... 350 21.6.5 休眠模式下的数据接收唤醒 ..................................................................................................................... 351 21.6.6 LPRUN 模式下的数据 DMA 收发 ............................................................................................................... 351 21.6.7 DMA 模式下的发送完成中断 .................................................................................................................... 352 21.7 寄存器 ............................................................................................................................................................... 353 21.7.1 LPUARTx 控制状态寄存器(LPUARTx_CSR) ............................................................................................. 353 21.7.2 LPUARTx 中断使能寄存器(LPUARTx _IER) ............................................................................................. 355 21.7.3 LPUARTx 中断标志寄存器(LPUARTx _ISR) ............................................................................................. 355 21.7.4 LPUARTx 波特率调制寄存器(LPUARTx _BMR) ....................................................................................... 356 21.7.5 LPUARTx 接收缓存寄存器(LPUARTx _RXBUF)........................................................................................ 357 21.7.6 LPUARTx 发送缓存寄存器(LPUARTx _TXBUF) ........................................................................................ 357 产品说明书 FM33LC0xx 版本 2.4 10 章节列表 21.7.7 22 LPUARTx 数据匹配寄存器(LPUARTx _DMR) .......................................................................................... 358 SPI.............................................................................................................................................................................. 359 22.1 概述 ................................................................................................................................................................... 359 22.2 结构框图 ........................................................................................................................................................... 359 22.3 引脚定义 ........................................................................................................................................................... 360 22.4 接口时序 ........................................................................................................................................................... 360 22.4.1 CPHA=0 ...................................................................................................................................................... 361 22.4.2 CPHA=1 ...................................................................................................................................................... 361 22.4.1 4 线半双工模式(主机) .......................................................................................................................... 362 22.5 功能描述 ........................................................................................................................................................... 363 22.5.1 I/O 配置 ..................................................................................................................................................... 363 22.5.2 全双工数据通信 ........................................................................................................................................ 364 22.5.3 TX-ONLY 模式 ............................................................................................................................................. 365 22.5.4 RX-ONLY 模式 ............................................................................................................................................. 365 22.5.5 主机 SSN 控制............................................................................................................................................ 366 22.5.6 数据冲突 ................................................................................................................................................... 366 22.5.7 使用 DMA 进行 SPI 收发............................................................................................................................ 367 22.6 寄存器 ............................................................................................................................................................... 369 22.6.1 SPIx 控制寄存器 1(SPIx_CR1) ................................................................................................................ 369 22.6.2 SPIx 控制寄存器 2(SPIx_CR2) ................................................................................................................ 370 22.6.3 SPIx 控制寄存器 3(SPIx_CR3) ................................................................................................................ 372 22.6.4 SPIx 中断控制寄存器(SPIx_IER) ............................................................................................................ 372 22.6.5 SPIx 中断标志寄存器(SPIx_ISR) ............................................................................................................ 373 22.6.6 SPIx 发送缓存寄存器(SPIx_TXBUF) ....................................................................................................... 374 22.6.7 SPIx 接收缓存寄存器(SPIx_RXBUF) ....................................................................................................... 374 23 智能卡接口(ISO7816) ....................................................................................................................................... 375 23.1 概述 ................................................................................................................................................................... 375 23.2 结构框图 ........................................................................................................................................................... 375 23.3 接口时序 ........................................................................................................................................................... 376 23.4 功能描述 ........................................................................................................................................................... 376 23.4.1 数据接收 ................................................................................................................................................... 376 23.4.2 数据发送 ................................................................................................................................................... 377 23.4.3 使用 DMA 进行 7816 收发......................................................................................................................... 378 23.5 寄存器 ............................................................................................................................................................... 380 23.5.1 U7816 控制寄存器(U7816_CR) ............................................................................................................. 380 23.5.2 U7816 帧格式寄存器(U7816_FFR)........................................................................................................ 381 23.5.3 U7816 额外保护时间寄存器(U7816_EGTR).......................................................................................... 382 23.5.4 U7816 工作时钟分频寄存器(U7816_PSC) ............................................................................................ 383 23.5.5 U7816 波特率寄存器(U7816_BGR)....................................................................................................... 383 23.5.6 U7816 数据接收缓存寄存器(U7816_RXBUF)........................................................................................ 384 23.5.7 U7816 数据发送缓存寄存器(U7816_TXBUF) ........................................................................................ 384 23.5.8 U7816 中断使能寄存器(U7816_IER)..................................................................................................... 385 23.5.9 U7816 中断状态标志寄存器(U7816_ISR) ............................................................................................. 385 24 DMA .......................................................................................................................................................................... 388 24.1 概述 ................................................................................................................................................................... 388 24.2 工作原理 ........................................................................................................................................................... 389 24.3 结构框图 ........................................................................................................................................................... 390 24.4 工作流程 ........................................................................................................................................................... 390 24.5 访问带宽 ........................................................................................................................................................... 392 24.6 通道控制 ........................................................................................................................................................... 393 24.6.1 DMA 请求映射........................................................................................................................................... 393 产品说明书 FM33LC0xx 版本 2.4 11 章节列表 24.6.2 通道优先级................................................................................................................................................ 394 24.6.3 传输方向定义 ............................................................................................................................................ 394 24.6.4 循环模式 ................................................................................................................................................... 394 24.7 寄存器 ............................................................................................................................................................... 395 24.7.1 DMA 全局控制寄存器(DMA_GCR)........................................................................................................ 395 24.7.2 通道 x 控制寄存器(DMA_CHxCR) ......................................................................................................... 396 24.7.3 通道 x 存储器指针寄存器(DMA_CHxMAD) .......................................................................................... 397 24.7.4 通道 7 控制寄存器(DMA_CH7CR)......................................................................................................... 398 24.7.5 通道 7 Flash 指针寄存器(DMA_CH7FLSAD) .......................................................................................... 399 24.7.6 通道 7 RAM 指针寄存器(DMA_CH7RAMAD) ........................................................................................ 399 24.7.7 DMA 中断状态标志寄存器(DMA_ISR) .................................................................................................. 400 25 CRC ............................................................................................................................................................................ 401 25.1 概述 ................................................................................................................................................................... 401 25.2 软件配置过程 .................................................................................................................................................... 402 25.3 GOLDEN 数据 ...................................................................................................................................................... 403 25.4 DMA 接口 .......................................................................................................................................................... 403 25.5 FLASH 数据完整性校验 ....................................................................................................................................... 404 25.6 寄存器 ............................................................................................................................................................... 405 25.6.1 CRC 数据寄存器(CRC_DR) ..................................................................................................................... 405 25.6.2 CRC 控制状态寄存器(CRC_CR).............................................................................................................. 405 25.6.3 CRC LFSR 寄存器(CRC_LFSR) .................................................................................................................. 407 25.6.4 CRC 输出异或寄存器(CRC_XOR) ........................................................................................................... 407 25.6.5 CRC 多项式寄存器(CRC_POLY) .............................................................................................................. 408 26 高级定时器(ATIM) ............................................................................................................................................ 409 26.1 概述 ................................................................................................................................................................... 409 26.2 主要特性 ........................................................................................................................................................... 409 26.3 结构框图 ........................................................................................................................................................... 410 26.4 功能描述 ........................................................................................................................................................... 411 26.4.1 定时单元 ................................................................................................................................................... 411 26.4.2 定时器工作模式 ........................................................................................................................................ 413 26.4.3 重复计数器................................................................................................................................................ 420 26.4.4 Preload 寄存器 .......................................................................................................................................... 421 26.4.5 计数器工作时钟 ........................................................................................................................................ 422 26.4.6 内部触发信号(ITRx).............................................................................................................................. 427 26.4.7 捕捉/比较通道 .......................................................................................................................................... 428 26.4.8 输入捕捉模式 ............................................................................................................................................ 430 26.4.9 软件 Force 输出 ......................................................................................................................................... 432 26.4.10 输出比较模式 ........................................................................................................................................ 433 26.4.11 PWM 输出 ................................................................................................................................................. 434 26.4.12 互补输出和死区插入............................................................................................................................. 436 26.4.13 刹车功能 ............................................................................................................................................... 437 26.4.14 互补输出通道信号状态逻辑表 ............................................................................................................. 439 26.4.15 6-step PWM 输出 ....................................................................................................................................... 440 26.4.16 单脉冲输出............................................................................................................................................ 441 26.4.17 外部事件清除 OCxREF ........................................................................................................................... 443 26.4.18 编码器接口模式(encoder interface) .................................................................................................. 444 26.4.19 TIM 从机模式 ............................................................................................................................................ 446 26.4.20 DMA 访问 .................................................................................................................................................. 449 26.4.21 DMA Burst .................................................................................................................................................. 450 26.4.22 输入异或功能 ........................................................................................................................................ 451 26.4.23 Debug 模式 ................................................................................................................................................ 451 26.5 寄存器 ............................................................................................................................................................... 452 产品说明书 FM33LC0xx 版本 2.4 12 章节列表 26.5.1 26.5.2 26.5.3 26.5.4 26.5.5 26.5.6 26.5.7 26.5.8 26.5.9 26.5.10 26.5.11 26.5.12 26.5.13 26.5.14 26.5.15 26.5.16 26.5.17 26.5.18 26.5.19 26.5.20 26.5.21 27 ATIM 控制寄存器 1(ATIM_CR1)............................................................................................................. 452 ATIM 控制寄存器 2(ATIM_CR2)............................................................................................................. 454 ATIM 从机模式控制寄存器(ATIM_SMCR) ............................................................................................. 455 ATIM DMA 和中断使能寄存器(ATIM_DIER) .......................................................................................... 457 ATIM 状态寄存器(ATIM_ISR)................................................................................................................. 458 ATIM 事件产生寄存器(ATIM_EGR)........................................................................................................ 460 ATIM 捕捉/比较模式寄存器 1(ATIM_CCMR1)....................................................................................... 460 ATIM 捕捉/比较模式寄存器 2(ATIM_CCMR2)....................................................................................... 463 ATIM 捕捉/比较使能寄存器(ATIM_CCER) ............................................................................................. 465 ATIM 计数器寄存器(ATIM_CNT) ........................................................................................................... 466 ATIM 预分频寄存器(ATIM_PSC) ............................................................................................................ 466 ATIM 自动重载寄存器(ATIM_ARR) ....................................................................................................... 467 ATIM 重复计数寄存器(ATIM_RCR)........................................................................................................ 467 ATIM 捕捉/比较寄存器 1(ATIM_CCR1).................................................................................................. 468 ATIM 捕捉/比较寄存器 2(ATIM_CCR2).................................................................................................. 469 ATIM 捕捉/比较寄存器 3(ATIM_CCR3).................................................................................................. 469 ATIM 捕捉/比较寄存器 4(ATIM_CCR4).................................................................................................. 470 ATIM 刹车和死区控制寄存器(ATIM_BDTR) .......................................................................................... 470 ATIM DMA 控制寄存器(ATIM_DCR) ...................................................................................................... 472 ATIM DMA 访问寄存器(ATIM_DMAR) ................................................................................................... 473 ATIM 刹车输入控制寄存器(ATIM_BKCR) .............................................................................................. 473 通用定时器(GPTIM) ......................................................................................................................................... 475 27.1 概述 ................................................................................................................................................................... 475 27.2 主要特性 ........................................................................................................................................................... 475 27.3 结构框图 ........................................................................................................................................................... 476 27.4 功能描述 ........................................................................................................................................................... 477 27.4.1 定时单元 ................................................................................................................................................... 477 27.4.2 定时器工作模式 ........................................................................................................................................ 479 27.4.3 计数器工作时钟 ........................................................................................................................................ 486 27.4.4 内部触发信号(ITRx)的捕捉 .................................................................................................................. 492 27.4.5 捕捉/比较通道 .......................................................................................................................................... 493 27.4.6 输入捕捉模式 ............................................................................................................................................ 494 27.4.7 软件 Force 输出 ......................................................................................................................................... 495 27.4.8 输出比较模式 ............................................................................................................................................ 495 27.4.9 PWM 输入模式 .......................................................................................................................................... 496 27.4.10 单脉冲输出............................................................................................................................................ 498 27.4.11 外部事件清除 OCxREF ........................................................................................................................... 500 27.4.12 编码器接口模式(encoder interface) .................................................................................................. 500 27.4.13 GPTIM 从机模式 ........................................................................................................................................ 501 27.4.14 DMA 访问 .................................................................................................................................................. 504 27.4.15 DMA Burst .................................................................................................................................................. 505 27.4.16 输入异或功能 ........................................................................................................................................ 505 27.4.17 Debug 模式 ................................................................................................................................................ 506 27.5 寄存器 ............................................................................................................................................................... 506 27.5.1 GPTIMx 控制寄存器 1(GPTIMx_CR1) .................................................................................................... 507 27.5.2 GPTIMx 控制寄存器 2(GPTIMx_CR2) .................................................................................................... 509 27.5.3 GPTIMx 从机模式控制寄存器(GPTIMx_SMCR) ..................................................................................... 509 27.5.4 GPTIMx DMA 和中断使能寄存器(GPTIMx_DIER) .................................................................................. 511 27.5.5 GPTIMx 状态寄存器(GPTIMx_ISR) ........................................................................................................ 513 27.5.6 GPTIMx 事件产生寄存器(GPTIMx_EGR) ............................................................................................... 514 27.5.7 GPTIMx 捕捉/比较模式寄存器 1(GPTIMx_CCMR1)............................................................................... 515 27.5.8 GPTIMx 捕捉/比较模式寄存器 2(GPTIMx_CCMR2)............................................................................... 517 产品说明书 FM33LC0xx 版本 2.4 13 章节列表 27.5.9 27.5.10 27.5.11 27.5.12 27.5.13 27.5.14 27.5.15 27.5.16 27.5.17 27.5.18 27.5.19 28 GPTIMx 捕捉/比较使能寄存器(GPTIMx_CCER)..................................................................................... 519 GPTIMx 计数器寄存器(GPTIMx_CNT) ................................................................................................... 520 GPTIMx 预分频寄存器(GPTIMx_PSC).................................................................................................... 521 GPTIMx 自动重载寄存器(GPTIMx_ARR) ............................................................................................... 521 GPTIMx 捕捉/比较寄存器 1(GPTIMx_CCR1) ......................................................................................... 522 GPTIMx 捕捉/比较寄存器 2(GPTIMx_CCR2) ......................................................................................... 522 GPTIMx 捕捉/比较寄存器 3(GPTIMx_CCR3) ......................................................................................... 523 GPTIMx 捕捉/比较寄存器 4(GPTIMx_CCR4) ......................................................................................... 523 GPTIMx DMA 控制寄存器(GPTIMx_DCR) .............................................................................................. 524 GPTIMx DMA 访问寄存器(GPTIMx_DMAR)........................................................................................... 525 GPTIMx ITR 选择寄存器(GPTIMx_ITRSEL).............................................................................................. 525 基本定时器(BSTIM32) ...................................................................................................................................... 527 28.1 概述 ................................................................................................................................................................... 527 28.2 主要特性 ........................................................................................................................................................... 527 28.3 结构框图 ........................................................................................................................................................... 527 28.4 功能描述 ........................................................................................................................................................... 528 28.4.1 定时单元 ................................................................................................................................................... 528 28.4.2 定时器工作模式 ........................................................................................................................................ 530 28.4.3 计数器工作时钟 ........................................................................................................................................ 532 28.4.1 Debug 模式 ................................................................................................................................................ 533 28.5 寄存器 ............................................................................................................................................................... 534 28.5.1 BSTIM 控制寄存器 1(BSTIM_CR1) ......................................................................................................... 534 28.5.2 BSTIM 控制寄存器 2(BSTIM_CR2) ......................................................................................................... 535 28.5.3 BSTIM 中断使能寄存器(BSTIM_IER) ..................................................................................................... 535 28.5.4 BSTIM 中断标志寄存器(BSTIM_ISR) ..................................................................................................... 536 28.5.5 BSTIM 事件产生寄存器(BSTIM_EGR) .................................................................................................... 537 28.5.6 BSTIM 计数器寄存器(BSTIM_CNT)........................................................................................................ 537 28.5.7 BSTIM 预分频寄存器(BSTIM_PSC) ........................................................................................................ 537 28.5.8 BSTIM 自动重载寄存器(BSTIM_ARR).................................................................................................... 538 29 低功耗定时器(LPTIM32) .................................................................................................................................. 539 29.1 概述 ................................................................................................................................................................... 539 29.2 结构框图 ........................................................................................................................................................... 540 29.3 定时器功能........................................................................................................................................................ 540 29.3.1 普通定时器................................................................................................................................................ 540 29.3.2 外部脉冲触发计数 .................................................................................................................................... 541 29.3.3 外部异步脉冲计数 .................................................................................................................................... 541 29.3.4 Timeout 模式 ............................................................................................................................................. 541 29.4 捕捉比较功能 .................................................................................................................................................... 542 29.4.1 32bit PWM ................................................................................................................................................. 543 29.4.2 输入捕捉 ................................................................................................................................................... 543 29.5 寄存器 ............................................................................................................................................................... 545 29.5.1 LPTIM 配置寄存器(LPTIM_CFGR) .......................................................................................................... 545 29.5.2 LPTIM 计数值寄存器(LPTIM_CNT) ........................................................................................................ 546 29.5.3 LPTIM 捕捉比较控制和状态寄存器(LPTIM_CCSR) ................................................................................ 547 29.5.4 LPTIM 目标值寄存器(LPTIM_ARR) ........................................................................................................ 548 29.5.5 LPTIM 中断使能寄存器(LPTIM_IER)...................................................................................................... 549 29.5.6 LPTIM 中断标志寄存器(LPTIM_ISR)...................................................................................................... 550 29.5.7 LPTIM 控制寄存器(LPTIM_CR) .............................................................................................................. 550 29.5.8 LPTIM 捕捉比较寄存器 1(LPTIM_CCR1)................................................................................................ 551 29.5.9 LPTIM 捕捉比较寄存器 2(LPTIM_CCR2)................................................................................................ 551 30 实时时钟(RTC) .................................................................................................................................................. 553 产品说明书 FM33LC0xx 版本 2.4 14 章节列表 30.1 概述 ................................................................................................................................................................... 553 30.2 结构框图 ........................................................................................................................................................... 553 30.3 工作原理 ........................................................................................................................................................... 554 30.3.1 时基计数器(LTBC) ................................................................................................................................. 554 30.3.2 LTBC 数字调校 ........................................................................................................................................... 554 30.3.3 BCD 时间.................................................................................................................................................... 556 30.3.4 RTC 使能与停止 ......................................................................................................................................... 557 30.3.5 RTC 时间设置............................................................................................................................................. 557 30.3.6 RTC 时间读取............................................................................................................................................. 557 30.3.7 闰年判断 ................................................................................................................................................... 558 30.4 寄存器 ............................................................................................................................................................... 559 30.4.1 RTC 写使能寄存器(RTC_WER)............................................................................................................... 560 30.4.2 RTC 中断使能寄存器(RTC_IER) ............................................................................................................. 560 30.4.3 RTC 中断标志寄存器(RTC_ISR) ............................................................................................................. 561 30.4.4 BCD 时间秒寄存器(RTC_BCDSEC) ......................................................................................................... 563 30.4.5 BCD 时间分钟寄存器(RTC_BCDMIN)..................................................................................................... 563 30.4.6 BCD 时间小时寄存器(RTC_BCDHOUR) .................................................................................................. 564 30.4.7 BCD 时间天寄存器(RTC_BCDDAY) ......................................................................................................... 564 30.4.8 BCD 时间星期寄存器(RTC_BCDWEEK) .................................................................................................. 565 30.4.9 BCD 时间月寄存器(RTC_BCDMONTH)................................................................................................... 565 30.4.10 BCD 时间年寄存器(RTC_BCDYEAR) ....................................................................................................... 565 30.4.11 闹钟寄存器(RTC_ALARM) ................................................................................................................. 566 30.4.12 RTC 时间信号输出寄存器(RTC_TMSEL) ................................................................................................ 566 30.4.13 LTBC 数值调整寄存器(RTC_ADJUST) ..................................................................................................... 567 30.4.14 LTBC 数值调整方向寄存器(RTC_ADSIGN) ............................................................................................. 568 30.4.15 毫秒计数值寄存器(RTC_SBSCNT) ..................................................................................................... 568 30.4.16 RTC 备份寄存器组 x(RTC_BKRx)............................................................................................................ 569 31 LCD 显示 .................................................................................................................................................................... 570 31.1 概述 ................................................................................................................................................................... 570 31.2 结构框图 ........................................................................................................................................................... 570 31.3 IO 配置............................................................................................................................................................... 572 31.4 功能说明 ........................................................................................................................................................... 572 31.4.1 工作时钟和显示帧频率............................................................................................................................. 572 31.4.2 LCD Type A 扫描波形.................................................................................................................................. 572 31.4.3 LCD Type B 扫描波形.................................................................................................................................. 573 31.4.4 片内 buffer 驱动模式................................................................................................................................. 574 31.4.5 显示闪烁功能 ............................................................................................................................................ 575 31.4.6 偏置电压调整 ............................................................................................................................................ 575 31.5 寄存器 ............................................................................................................................................................... 577 31.5.1 显示控制寄存器(LCD_CR)..................................................................................................................... 577 31.5.2 显示测试控制寄存器(LCD_TEST) .......................................................................................................... 579 31.5.3 测试模式下引脚输出数据寄存器.............................................................................................................. 580 31.5.4 显示频率控制寄存器(LCD_FCR) ........................................................................................................... 580 31.5.5 闪烁时间寄存器(LCD_FLKT).................................................................................................................. 580 31.5.6 显示中断使能寄存器(LCD_IER) ............................................................................................................ 581 31.5.7 显示中断标志寄存器(LCD_ISR) ............................................................................................................ 582 31.5.8 显示数据缓存寄存器 x(LCD_DATAx) ..................................................................................................... 582 31.5.9 COM 使能控制寄存器(LCD_COMEN) .................................................................................................... 587 31.5.10 SEG 使能控制寄存器 0(LCD_SEGEN0) ................................................................................................... 587 32 ADC ............................................................................................................................................................................ 589 32.1 32.2 概述 ................................................................................................................................................................... 589 结构框图 ........................................................................................................................................................... 589 产品说明书 FM33LC0xx 版本 2.4 15 章节列表 32.3 输入通道 ........................................................................................................................................................... 590 32.4 功能描述 ........................................................................................................................................................... 591 32.4.1 采样值与实际电压转换............................................................................................................................. 591 32.4.2 温度传感器................................................................................................................................................ 591 32.4.3 温度传感器的斜率和标定 ......................................................................................................................... 593 32.4.4 可编程采样时间 ........................................................................................................................................ 593 32.4.5 外部引脚控制的采样时间 ......................................................................................................................... 594 32.4.6 转换模式 ................................................................................................................................................... 596 32.4.7 转换触发 ................................................................................................................................................... 597 32.4.8 过采样和硬件平均 .................................................................................................................................... 598 32.4.9 ADC 工作时钟 ............................................................................................................................................ 599 32.4.10 ADC 电源和基准电压................................................................................................................................. 599 32.4.11 数据冲突和自动等待............................................................................................................................. 599 32.4.12 DMA ........................................................................................................................................................... 600 32.4.13 模拟窗口看门狗(AWD) ..................................................................................................................... 601 32.5 低功耗模式........................................................................................................................................................ 601 32.6 寄存器 ............................................................................................................................................................... 602 32.6.1 ADC 中断和状态寄存器( ADC_ISR) ...................................................................................................... 602 32.6.2 ADC 中断使能寄存器( ADC_IER) .......................................................................................................... 603 32.6.3 ADC 控制寄存器(ADC_CR) .................................................................................................................... 604 32.6.4 ADC 配置寄存器(ADC_CFGR) ................................................................................................................ 604 32.6.5 ADC 采样时间控制寄存器(ADC_SMTR) ................................................................................................ 607 32.6.6 ADC 通道控制寄存器(ADC_CHER) ........................................................................................................ 608 32.6.7 ADC 数据寄存器(ADC_DR) .................................................................................................................... 609 32.6.8 ADC 软件采样控制寄存器(ADC_SAMPT) .............................................................................................. 609 32.6.9 ADC 模拟看门狗阈值寄存器(ADC_HLTR).............................................................................................. 610 33 USB 全速设备 ............................................................................................................................................................ 611 33.1 概述 ................................................................................................................................................................... 611 33.2 主要特性 ........................................................................................................................................................... 611 33.3 电源管理 ........................................................................................................................................................... 611 33.4 系统总线架构 .................................................................................................................................................... 611 33.5 功能框图 ........................................................................................................................................................... 612 33.6 USB CONTROLLER ................................................................................................................................................... 613 33.6.1 概述 ........................................................................................................................................................... 613 33.7 USB DEVICE 的时钟和复位 ................................................................................................................................... 616 33.7.1 系统时钟 ................................................................................................................................................... 616 33.7.2 系统复位 ................................................................................................................................................... 616 33.8 VBUS 接入唤醒 .................................................................................................................................................. 616 33.9 中断层级 ........................................................................................................................................................... 616 33.10 寄存器 ........................................................................................................................................................... 618 33.10.1 AHB 配置寄存器(USB_GAHBCFG) ......................................................................................................... 620 33.10.2 USB 全局配置寄存器(USB_GUSBCFG)................................................................................................... 620 33.10.3 复位控制寄存器(USB_GRSTCTL) ....................................................................................................... 621 33.10.4 中断标志寄存器(USB_GINTSTS)........................................................................................................ 622 33.10.5 中断屏蔽寄存器(USB_GINTMSK) ...................................................................................................... 624 33.10.6 接收状态 debug 读寄存器(USB_GRXSTSR)........................................................................................ 624 33.10.7 接收状态读和 POP 寄存器(USB_GRXSTSP) ....................................................................................... 625 33.10.8 RxFIFO size 寄存器(USB_GRXFXIZ)......................................................................................................... 625 33.10.9 Non-Periodic TxFIFO size 寄存器(USB_GNPTXFSIZ)................................................................................. 625 33.10.10 LPM 配置寄存器(USB_GLPMCFG) ..................................................................................................... 626 33.10.11 Device 配置寄存器(USB_DCFG)......................................................................................................... 627 33.10.12 Device 控制寄存器(USB_DCTL) ......................................................................................................... 628 33.10.13 Device 状态寄存器(USB_DSTS) ......................................................................................................... 629 产品说明书 FM33LC0xx 版本 2.4 16 章节列表 33.10.14 Device IN 端点通用中断屏蔽寄存器(USB_DIEPMSK) ........................................................................ 630 33.10.15 Device OUT 端点通用中断屏蔽寄存器(USB_DOEPMSK) ................................................................... 631 33.10.16 Device 全部端点中断寄存器(USB_DAINT) ........................................................................................ 632 33.10.17 Device 全部端点中断屏蔽寄存器(USB_DAINTMSK).......................................................................... 632 33.10.18 Device IN 端点 FIFO 空中断屏蔽寄存器(USB_DIEPEMPMSK) ............................................................ 633 33.10.19 Device Control IN 端点 0 控制寄存器(USB_DIEPCTL0) ....................................................................... 633 33.10.20 Device Control OUT 端点 0 控制寄存器(USB_DOEPCTL0) .................................................................. 634 33.10.21 Device IN 端点 1 控制寄存器(USB_DIEPCTLx) ................................................................................... 635 33.10.22 Device OUT 端点 1 控制寄存器(USB_DOEPCTLx) .............................................................................. 637 33.10.23 Device 端点中断寄存器(USB_DIEPINTx)............................................................................................ 638 33.10.24 Device 端点中断寄存器(USB_DOEPINTx) .......................................................................................... 639 33.10.25 Device IN 端点 0 传输长度寄存器(USB_DIEPTSIZ0)........................................................................... 640 33.10.26 Device OUT 端点 0 传输长度寄存器(USB_DOEPTSIZ0)...................................................................... 640 33.10.27 Device IN 端点 1 传输长度寄存器(USB_DIEPTSIZx) ........................................................................... 641 33.10.28 Device OUT 端点 1 传输长度寄存器(USB_DOEPTSIZx) ...................................................................... 642 33.10.29 Device IN 端点发送 FIFO 状态寄存器(USB_DTXFSTSx) ...................................................................... 642 33.10.30 功耗控制寄存器(USB_PCGCCTL)....................................................................................................... 643 33.11 编程模型 ....................................................................................................................................................... 644 33.11.1 模块初始化............................................................................................................................................ 644 33.11.2 设备初始化............................................................................................................................................ 644 33.11.3 设备编程 ............................................................................................................................................... 645 33.11.4 操作模型 ............................................................................................................................................... 646 33.11.5 LPM 编程 ................................................................................................................................................... 666 34 I/O 端口 ..................................................................................................................................................................... 670 34.1 概述 ................................................................................................................................................................... 670 34.2 引脚类型 ........................................................................................................................................................... 670 34.2.1 GPIO,输入输出使能,可控上拉电阻,可控开漏输出 ........................................................................... 671 34.2.2 GPIO,输入输出使能,真开漏输出(PA11、PA12)............................................................................... 672 34.2.3 GPIO,输入输出使能,2 个可控上拉电阻,可控开漏输出(仅 7816 数据口) .................................... 673 34.2.4 GPIO,输入输出使能,可控上拉电阻,可控开漏输出,HV tolerant(PB12) ...................................... 674 34.3 IO 端口功能定义 ............................................................................................................................................... 675 34.3.1 GPIO 输入 .................................................................................................................................................. 675 34.3.2 GPIO 输出 .................................................................................................................................................. 675 34.3.3 数字外设功能 ............................................................................................................................................ 675 34.3.4 模拟功能 ................................................................................................................................................... 676 34.3.5 使用外部晶体引脚 .................................................................................................................................... 677 34.4 NRST 引脚 .......................................................................................................................................................... 677 34.5 WKUPX 引脚 ....................................................................................................................................................... 677 34.6 外部引脚中断(EXTI)...................................................................................................................................... 678 34.6.1 功能说明 ................................................................................................................................................... 678 34.6.2 应用指南 ................................................................................................................................................... 679 34.7 快速 GPIO 输出.................................................................................................................................................. 680 34.8 寄存器 ............................................................................................................................................................... 681 34.8.1 GPIOx 输入使能寄存器(GPIOx_INEN) ................................................................................................... 683 34.8.2 GPIOx 上拉使能寄存器(GPIOx_PUEN) .................................................................................................. 683 34.8.3 GPIOx 开漏使能寄存器(GPIOx_ODEN).................................................................................................. 684 34.8.4 GPIOx 功能选择寄存器(GPIOx_FCR) ..................................................................................................... 684 34.8.5 GPIOx 输出数据寄存器(GPIOx_DO) ...................................................................................................... 686 34.8.6 GPIOx 输出数据置位寄存器(GPIOx_DSET)............................................................................................ 687 34.8.7 GPIOx 输出数据复位寄存器(GPIOx_DRST) ........................................................................................... 687 34.8.8 GPIOx 输入数据寄存器(GPIOx_DIN) ..................................................................................................... 688 34.8.9 GPIOx 额外数字功能寄存器(GPIOx_DFS).............................................................................................. 689 产品说明书 FM33LC0xx 版本 2.4 17 章节列表 34.8.10 34.8.11 34.8.12 34.8.13 34.8.14 34.8.15 34.8.16 34.8.17 专用编程接口........................................................................................................................................................ 698 35 35.1 35.2 36 GPIOx 模拟开关使能寄存器(GPIOx_ANEN) .......................................................................................... 689 EXTI 输入选择寄存器(GPIO_EXTISEL) ................................................................................................... 690 EXTI 边沿选择和使能寄存器(GPIO_EXTIEDS) ....................................................................................... 692 EXTI 数字滤波控制寄存器(GPIO_EXTIDF) ............................................................................................. 694 EXTI 中断标志寄存器(GPIO_EXTIISR) .................................................................................................... 694 EXTI 输入信号寄存器(GPIO_EXTIDI) ..................................................................................................... 695 FOUT 配置寄存器(GPIO_FOUTSEL) ....................................................................................................... 695 WKUP 使能寄存器(GPIO_PINWKEN) ..................................................................................................... 697 概述 ................................................................................................................................................................... 698 编程器使用........................................................................................................................................................ 698 调试支持 ............................................................................................................................................................... 699 36.1 概述 ................................................................................................................................................................... 699 36.2 DEBUG 引脚 ......................................................................................................................................................... 699 36.2.1 SWD 引脚................................................................................................................................................... 699 36.2.2 上拉电阻 ................................................................................................................................................... 699 36.3 SWD 接口协议 ................................................................................................................................................... 700 36.3.1 协议简介 ................................................................................................................................................... 700 36.3.2 传输序列 ................................................................................................................................................... 700 36.3.3 SW-DP ID code ............................................................................................................................................ 701 36.3.4 主机读操作................................................................................................................................................ 701 36.3.5 主机写操作................................................................................................................................................ 702 36.4 SWD-DP 寄存器 ................................................................................................................................................. 702 36.4.1 寄存器列表................................................................................................................................................ 702 36.5 CORE DEBUG 寄存器 .............................................................................................................................................. 703 36.6 DEBUG 相关的配置项.......................................................................................................................................... 703 37 器件签名信息........................................................................................................................................................ 704 37.1 寄存器 ............................................................................................................................................................... 704 37.1.1 存储器容量查询寄存器(SCU_CQR)....................................................................................................... 704 37.2 器件 UID ............................................................................................................................................................ 705 版本列表 ........................................................................................................................................................................... 706 上海复旦微电子集团股份有限公司销售及服务网点 ....................................................................................................... 707 产品说明书 FM33LC0xx 版本 2.4 18 表目录 表目录 表 1-1FM33LC0XX 型号列表 ................................................................................................................................................ 29 表 1-2FM33LC0XXU 特性列表............................................................................................................................................... 29 表 1-3FM33LC0XXN 特性列表............................................................................................................................................... 30 表 2-1 FM33LC0XXU 引脚列表 .............................................................................................................................................. 42 表 2-2 FM33LC0XXN 引脚列表 .............................................................................................................................................. 47 表 2-3 引脚功能分布表 ........................................................................................................................... 错误!未定义书签。 表 3-1FM33LC0XX 极限参数 ................................................................................................................................................ 63 表 3-2FM33LC0XX 典型工作条件 ......................................................................................................................................... 64 表 3-3ACTIVE 电流参数........................................................................................................................................................ 65 表 3-4LP ACTIVE 电流参数 ................................................................................................................................................... 68 表 3-5LP RUN 电流参数 ....................................................................................................................................................... 68 表 3-6SLEEP 电流参数.......................................................................................................................................................... 69 表 3-7DEEPSLEEP 电流参数.................................................................................................................................................. 69 表 3-8 复位和电源监控参数................................................................................................................................................ 71 表 3-9 高精度基准源参数 ................................................................................................................................................... 74 表 3-10 唤醒时间参数 ......................................................................................................................................................... 75 表 3-11 低频晶体振荡器参数.............................................................................................................................................. 76 表 3-12 高频晶体振荡器参数.............................................................................................................................................. 76 表 3-13 内部高频 RC 振荡器参数 ........................................................................................................................................ 77 表 3-14 内部 RC 振荡器参数 ............................................................................................................................................... 79 表 3-15 内部低频 RC 振荡器参数 ........................................................................................................................................ 79 表 3-16PLL 参数 ................................................................................................................................................................... 80 表 3-17ADC 参数 .................................................................................................................................................................. 82 表 3-18ADC 采样时间 .......................................................................................................................................................... 84 表 3-19 温度传感器参数 ..................................................................................................................................................... 85 表 3-20OPA 参数 .................................................................................................................................................................. 88 表 3-21 模拟比较器参数 ..................................................................................................................................................... 88 表 3-22 FLASH 参数 ................................................................................................................................................................ 89 表 3-23 普通 I/O 参数 .......................................................................................................................................................... 90 表 3-24 真开漏 I/O 参数 ...................................................................................................................................................... 91 表 3-25 NRST 引脚参数 ........................................................................................................................................................ 92 表 3-26 引脚 AC 参数........................................................................................................................................................... 92 表 3-27 LCD 片内电阻分压................................................................................................................................................... 93 表 3-28 USB PHY 电特性....................................................................................................................................................... 93 表 3-29 USB 时钟特性 ......................................................................................................................................................... 94 表 4-1 芯片功耗模式表 ....................................................................................................................................................... 98 表 4-2 功耗模式和可用系统时钟 ........................................................................................................................................ 99 表 6-1FM33LC0XX CPU 配置简表 ........................................................................................................................................ 115 表 6-2CORTEX-M0 内核寄存器简表 ..................................................................................................................................... 116 表 6-3FM33LC0XX 中断向量表............................................................................................................................................ 118 表 6-4HARDFAULT 触发原因列表 .......................................................................................................................................... 119 表 7-1 外设模块总线地址列表 .......................................................................................................................................... 128 表 7-2LDT1 数据内容定义 ................................................................................................................................................. 130 表 7-3 用户选项字节定义 ................................................................................................................................................. 131 表 7-4LOCK 信息定义......................................................................................................................................................... 131 表 7-5LOCK 位与 FLASH 地址对应表.................................................................................................................................... 132 表 7-6LOCK 位权限定义 ..................................................................................................................................................... 140 表 7-7 FLASH 访问权限表 .................................................................................................................................................... 141 表 9-1 IWDT 溢出周期表.................................................................................................................................................... 156 产品说明书 FM33LC0xx 版本 2.4 19 表目录 表 10-1 WWDT 溢出周期表 ............................................................................................................................................... 164 表 11-1 系统时钟切换条件................................................................................................................................................ 172 表 11-2 主要系统时钟说明................................................................................................................................................ 172 表 11-3 总线时钟和外设工作时钟 .................................................................................................................................... 174 表 11-4 RCHF 校准数据 ...................................................................................................................................................... 176 表 11-5 RCMF 校准数据 ..................................................................................................................................................... 177 表 11-6 LPOSC 控制状态 .................................................................................................................................................... 178 表 11-7 LPOSC 校准数据 .................................................................................................................................................... 178 表 11-8 低功耗下的时钟源................................................................................................................................................ 182 表 16-1OPA 引脚列表 ........................................................................................................................................................ 253 表 16-2OPA 比较器模式..................................................................................................................................................... 255 表 17-1 比较器引脚列表 ................................................................................................................................................... 269 表 19-1I2C 引脚列表 .......................................................................................................................................................... 281 表 19-2I2C 协议电参数表 .................................................................................................................................................. 282 表 19-3I2C 协议时序参数表 .............................................................................................................................................. 282 表 19-4 I2C 接口时序要求 .................................................................................................................................................. 287 表 19-5I2C 从机保留地址定义........................................................................................................................................... 289 表 20-1 UART 引脚列表...................................................................................................................................................... 328 表 20-2 UART 类型列表...................................................................................................................................................... 329 表 20-3 UART 数据帧格式 .................................................................................................................................................. 330 表 20-4 DMA 发送中断 ...................................................................................................................................................... 335 表 20-5 常用时钟频率下波特率计算 ................................................................................................................................ 336 表 21-1LPUART 数据帧格式 ............................................................................................................................................... 349 表 21-2LPUART 位调制参数表 ........................................................................................................................................... 350 表 21-3LPUART DMA 中断说明 .......................................................................................................................................... 352 表 24-1DMA 通道映射 ....................................................................................................................................................... 393 表 25-1CRC GOLDEN 数据 ..................................................................................................................................................... 403 表 26-1 通道状态表 ........................................................................................................................................................... 439 表 26-2ENCODER INTERFACE 计数方式 .................................................................................................................................... 444 表 26-3DMA 请求配置 ....................................................................................................................................................... 449 表 27-1 内部触发信号表 ................................................................................................................................................... 492 表 27-2ENCODER INTERFACE 计数方式 .................................................................................................................................... 500 表 27-3DMA 操作表 .......................................................................................................................................................... 505 表 31-1 帧频率计算公式 ................................................................................................................................................... 572 表 31-2 典型帧频率和 DF 的关系...................................................................................................................................... 572 表 32-1ADC 输入通道分配 ................................................................................................................................................ 590 表 32-2ADC 采样时间表 .................................................................................................................................................... 594 表 34-1GPIO 功能逻辑定义表 ........................................................................................................................................... 671 表 34-2 真开漏 IO 功能逻辑定义表 .................................................................................................................................. 672 表 34-3GPIO 功能逻辑定义表 ........................................................................................................................................... 675 表 34-4FCR 定义表............................................................................................................................................................. 675 表 34-5 多个数字外设功能选择表 .................................................................................................................................... 676 表 34-6 外部引脚中断配置 ............................................................................................................................................... 678 产品说明书 FM33LC0xx 版本 2.4 20 图目录 图目录 图 1-1 芯片结构框图 ........................................................................................................................................................... 28 图 2-1FM33LC0X6U LQFP64 封装图 ...................................................................................................................................... 32 图 2-2FM33LC0X6N LQFP64 封装图 ...................................................................................................................................... 33 图 2-3FM33LC0X5N LQFP48 封装图 ...................................................................................................................................... 34 图 2-4 FM33LC0X3NQFN32 封装图 ....................................................................................................................................... 36 图 2-5 FM33LC0X3U QFN32 封装图 ...................................................................................................................................... 37 图 2-6 FM33LC0X3N TSSOP20 封装图 ................................................................................................................................... 37 图 2-2 LQFP64 封装尺寸图................................................................................................................................................... 52 图 2-3LQFP48 封装尺寸图 ................................................................................................................................................... 54 图 2-4QFN32 封装尺寸图 .................................................................................................................................................... 57 图 3-1FM33LC0X6U 供电方案 .............................................................................................................................................. 61 图 3-2FM33LC0X6N 供电方案 .............................................................................................................................................. 62 图 3-2ADC 通道输入阻抗..................................................................................................................................................... 83 图 3-3USB 差分信号时序图 ................................................................................................................................................. 93 图 4-1 芯片电源结构图 ....................................................................................................................................................... 97 图 4-2 功耗模式与系统主频................................................................................................................................................ 99 图 7-1 系统总线示意图 ..................................................................................................................................................... 125 图 7-2FM33LC04X 总线地址 ............................................................................................................................................... 126 图 7-3FM33LC02X 总线地址 ............................................................................................................................................... 127 图 7-4BOOTSWAP 示意图 ...................................................................................................................................................... 132 图 8-1 芯片复位源框图 ..................................................................................................................................................... 150 图 8-2 上下电复位示意图 ................................................................................................................................................. 151 图 9-1 IWDT 结构框图 ....................................................................................................................................................... 155 图 9-2 IWDT 窗口示意图.................................................................................................................................................... 157 图 10-1WWDT 结构框图 .................................................................................................................................................... 162 图 10-2WWDT 窗口示意图 ................................................................................................................................................ 164 图 11-1 芯片时钟框图 ....................................................................................................................................................... 171 图 11-2USB PHY 参考时钟源选择 ...................................................................................................................................... 175 图 13-1 低压检测电路框图................................................................................................................................................ 209 图 13-2SVD 工作时序......................................................................................................................................................... 210 图 13-3 电源检测电路间歇工作模式 ...................................................................................................... 错误!未定义书签。 图 13-4 外部电阻分压用于外部电源检测 ......................................................................................................................... 211 图 13-5 内部电阻分压用于外部电源检测 ......................................................................................................................... 212 图 14-1 ECB 模式加密流程................................................................................................................................................. 220 图 14-2 ECB 模式解密流程................................................................................................................................................. 221 图 14-3 CBC 加密过程 ........................................................................................................................................................ 222 图 14-4 CBC 解密过程 ........................................................................................................................................................ 223 图 14-5 暂停模式流程 ....................................................................................................................................................... 223 图 14-6 CTR 加密流程 ........................................................................................................................................................ 224 图 14-7 CTR 解密流程 ........................................................................................................................................................ 225 图 14-8 32 位计数器和随机数的存储方式 ........................................................................................................................ 225 图 14-9 GCM 加密流程 ...................................................................................................................................................... 227 图 14-10 GCM 解密流程 .................................................................................................................................................... 228 图 14-11 MULTH 模块框图................................................................................................................................................... 229 图 14-12 根据数据类型存储数据的示意图 ....................................................................................................................... 231 图 14-13 模式 1:加密流程............................................................................................................................................... 232 图 14-14 模式 2 示意图 ..................................................................................................................................................... 232 图 14-15 模式 3 示意图 ..................................................................................................................................................... 233 图 14-16 模式 4 示意图 ..................................................................................................................................................... 234 产品说明书 FM33LC0xx 版本 2.4 21 图目录 图 14-17 MULTH 模块使用流程示意图................................................................................................................................ 235 图 14-18 输入时 DMA 请求和数据传输示意图 ................................................................................................................. 235 图 14-19 输出时 DMA 请求和数据传输示意图 ................................................................................................................. 236 图 15-1 真随机数模块框图................................................................................................................................................ 244 图 15-2 真随机数模块工作时钟 ........................................................................................................................................ 244 图 16-1OPA1 电路框图 ...................................................................................................................................................... 251 图 16-2OPA2 电路框图 ...................................................................................................................................................... 251 图 16-3OPA 用作 ADC 前端放大 ........................................................................................................................................ 252 图 16-4OPA 独立模式 ........................................................................................................................................................ 253 图 16-5OPA 比较器模式..................................................................................................................................................... 254 图 16-6OPA 比较器基准电压产生 ..................................................................................................................................... 254 图 16-7OPA 比较器输出数字滤波 ..................................................................................................................................... 255 图 16-8OPA 缓冲器模式..................................................................................................................................................... 256 图 16-9OPA PGA 模式......................................................................................................................................................... 257 图 16-10OPA 环路滤波 ...................................................................................................................................................... 257 图 16-11OPA 比较器中断产生 ........................................................................................................................................... 259 图 17-1 比较器电路框图 ................................................................................................................................................... 268 图 17-2 数字滤波波形示意图............................................................................................................................................ 270 图 17-3 比较器中断产生 ................................................................................................................................................... 271 图 17-4 比较器触发输出信号产生 .................................................................................................................................... 271 图 19-1 I2C 模块框图 ......................................................................................................................................................... 280 图 19-3 I2C 总线时序 .......................................................................................................................................................... 285 图 19-4 数据有效时序 ....................................................................................................................................................... 285 图 19-5 起始(START)与停止(STOP)命令定义 ................................................................................................................... 285 图 19-6 输出应答(ACK) ...................................................................................................................................................... 286 图 19-7 从机信号滤波 ....................................................................................................................................................... 291 图 19-8 主机向 7 位地址从机写入数据时的帧格式.......................................................................................................... 292 图 19-9I2C 软件发送数据流图........................................................................................................................................... 293 图 19-10I2C 主机对 7 位地址从机发送数据流图 .............................................................................................................. 294 图 19-11 主机从 7 位地址从机读取数据时的帧格式........................................................................................................ 294 图 19-12I2C 软件发送数据流图......................................................................................................................................... 295 图 19-13I2C 从 7 位地址从机读取数据流图 ...................................................................................................................... 296 图 19-14 双向数据通信帧格式 .......................................................................................................................................... 296 图 19-15 10BIT 寻址,主机向从机写入数据 ...................................................................................................................... 297 图 19-16I2C 软件发送数据流图......................................................................................................................................... 298 图 19-17 10BIT 寻址,主机从从机读取数据 ...................................................................................................................... 298 图 19-18I2C 软件发送数据流图......................................................................................................................................... 299 图 19-19I2C 软件发送数据流图......................................................................................................................................... 300 图 19-20 I2C 主机 DMA 发送流程图 .................................................................................................................................. 301 图 19-21 I2C 主机 DMA 接收流程图 .................................................................................................................................. 303 图 19-22 主机时序控制 ..................................................................................................................................................... 305 图 19-23 从机数据发送波形.............................................................................................................................................. 307 图 19-24 从机数据接收波形 ............................................................................................................................................. 308 图 19-25 从机数据接收波形(SCLSEN=0,接收溢出).................................................................................................... 309 图 19-26 I2C 从机 DMA 接收流程图 .................................................................................................................................. 311 图 19-27 I2C 从机 DMA 发送流程图 .................................................................................................................................. 312 图 19-28 SDA 输出延迟波形 .............................................................................................................................................. 313 图 20-1 UART 接口时序...................................................................................................................................................... 327 图 20-2 UART 字符描述...................................................................................................................................................... 329 图 20-3 位接收采样 ........................................................................................................................................................... 331 图 20-4 UART 异步发送波形 1 ........................................................................................................................................... 332 图 20-5 UART 异步发送波形 2 ........................................................................................................................................... 333 图 20-6 UART 异步发送波形 3 ........................................................................................................................................... 334 产品说明书 FM33LC0xx 版本 2.4 22 图目录 图 20-7 红外调制波形 ....................................................................................................................................................... 337 图 20-8 UART 发送延迟...................................................................................................................................................... 338 图 21-1LPUART 结构框图................................................................................................................................................... 347 图 21-2 字符描述............................................................................................................................................................... 349 图 22-1 SPI 结构框图 ......................................................................................................................................................... 360 图 22-2 SPI 数据/时钟时序图(CPHA=0)......................................................................................................................... 361 图 22-3 SPI 数据/时钟时序图(CPHA=1)......................................................................................................................... 361 图 22-4 4 线半双工写操作................................................................................................................................................. 362 图 22-5 4 线半双工读操作(无 DUMMY CYCLE) .................................................................................................................. 363 图 22-6 4 线半双工读操作(有 DUMMY CYCLE) .................................................................................................................. 363 图 22-7 SPI MASTER/SPI SLAVE 互连 ....................................................................................................................................... 364 图 22-8 SPI SSN 时序图(SSNM=1,CPHA=0) .................................................................................................................. 366 图 22-9 SPI SSN 时序图(SSNM=0) .................................................................................................................................. 366 图 23-1 ISO7816 结构框图 ................................................................................................................................................. 375 图 23-2 ISO7816 数据帧结构 ............................................................................................................................................. 376 图 23-3 ISO7816 数据接收过程.......................................................................................................................................... 377 图 23-4 ISO7816 数据发送过程.......................................................................................................................................... 378 图 24-1 DMA 结构框图 ...................................................................................................................................................... 390 图 24-2 DMA 寄存器配置 .................................................................................................................................................. 391 图 24-3 DMA 工作流程 ...................................................................................................................................................... 392 图 25-1CRC 运算流程图 ..................................................................................................................................................... 402 图 25-2 使用 DMA 对 RAM 中的数据进行 CRC 运算 ........................................................................................................ 403 图 26-1 高级定时器结构框图............................................................................................................................................ 410 图 26-2 预分频从 1 变为 2 的波形 .................................................................................................................................... 412 图 26-3 预分频从 1 变为 4 的波形 .................................................................................................................................... 412 图 26-4 向上计数波形,内部时钟不分频 ......................................................................................................................... 413 图 26-5 向上计数波形,内部时钟 2 分频 ......................................................................................................................... 414 图 26-6ARPE=0(ATIM_ARR 没有预装载)时的更新事件................................................................................................. 414 图 26-7ARPE=1(ATIM_ARR 预装载)时的更新事件 ........................................................................................................ 415 图 26-8 向下计数,内部时钟不分频 ................................................................................................................................ 416 图 26-9 向下计数,内部时钟 2 分频 ................................................................................................................................ 416 图 26-10 向下计数,内部时钟 2 分频 .............................................................................................................................. 417 图 26-11 向下计数,不使用重复计数时的更新事件 ........................................................................................................ 417 图 26-12 中心对齐计数器时序图,ATIM_PCS=0,ATIM_ARR=0X6.................................................................................... 418 图 26-13 计数器时序图,ARPE=1 时的更新事件(计数器下溢) ......................................................................................... 419 图 26-14 计数器时序图,ARPE=1 时的更新事件(计数器溢出) ......................................................................................... 419 图 26-15 不同模式下更新速率的例子,及 ATIM_RCR 的寄存器设置 .............................................................................. 420 图 26-16 ATIM 时钟源框图 ................................................................................................................................................ 422 图 26-17 内部时钟源模式,时钟分频因子为 1 ................................................................................................................ 422 图 26-18TI2 外部时钟连接例子 ......................................................................................................................................... 423 图 26-19 外部时钟模式 1 下的时序 .................................................................................................................................. 423 图 26-20 外部时钟模式 1 下的时序 .................................................................................................................................. 424 图 26-21 外部触发输入框图.............................................................................................................................................. 425 图 26-22 外部时钟模式 2 下的时序 1 ............................................................................................................................... 425 图 26-23 外部时钟模式 2 下的时序 2 ............................................................................................................................... 426 图 26-24 捕获/比较通道(通道 1 输入部分) ...................................................................................................................... 428 图 26-25 捕获/比较通道 1 的主电路 ................................................................................................................................ 428 图 26-26 捕获/比较通道的输出部分(通道 1 至 3) ............................................................................................................ 429 图 26-27 捕获/比较通道的输出部分(通道 4).................................................................................................................... 429 图 26-28PWM 输入捕获模式时序..................................................................................................................................... 430 图 26-29 输出比较模式,翻转 OC1 .................................................................................................................................. 433 图 26-30 边沿对齐的 PWM 波形(ARR=7) .......................................................................................................................... 434 图 26-31 中央对齐的 PWM 波形(APR=7) .......................................................................................................................... 435 产品说明书 FM33LC0xx 版本 2.4 23 图目录 图 26-32 带死区插入的互补输出 ...................................................................................................................................... 436 图 26-33 死区波形延迟大于负脉冲 .................................................................................................................................. 436 图 26-34 死区波形延迟大于正脉冲 .................................................................................................................................. 436 图 26-35 刹车控制逻辑 ..................................................................................................................................................... 437 图 26-36 响应刹车的输出 ................................................................................................................................................. 438 图 26-37 产生六步 PWM,使用 COM 的例子(OSSR=1) .................................................................................................... 440 图 26-38 单脉冲模式的例子 ............................................................................................................................................. 441 图 26-39 ETR 信号清除 ATIM 的 OCXREF ........................................................................................................................... 443 图 26-40 编码器模式下的计数器操作实例 ....................................................................................................................... 444 图 26-41 复位模式下的时序 ............................................................................................................................................. 446 图 26-42 门控模式下的时序 ............................................................................................................................................. 447 图 26-43 触发器模式下的时序.......................................................................................................................................... 448 图 26-44 外部时钟模式 2+触发模式下的时序 ................................................................................................................ 448 图 27-1 通用定时器架构示意图 ........................................................................................................................................ 476 图 27-2 预分频从 1 变为 2 的波形 .................................................................................................................................... 478 图 27-3 预分频从 1 变为 4 的波形 .................................................................................................................................... 478 图 27-4 向上计数波形,内部时钟不分频 ......................................................................................................................... 479 图 27-5 向上计数波形,内部时钟 2 分频 ......................................................................................................................... 480 图 27-6ARPE=0(ATIM_ARR 没有预装载)时的更新事件................................................................................................. 480 图 27-7ARPE=1(ATIM_ARR 预装载)时的更新事件 ........................................................................................................ 481 图 27-8 向下计数,内部时钟不分频 ................................................................................................................................ 482 图 27-9 向下计数,内部时钟 2 分频 ................................................................................................................................ 482 图 27-10 向下计数,内部时钟 2 分频 .............................................................................................................................. 483 图 27-11 向下计数,不使用重复计数时的更新事件 ........................................................................................................ 483 图 27-12 中心对齐计数器时序图,ATIM_PCS=0,ATIM_ARR=0X6.................................................................................... 484 图 27-13 计数器时序图,ARPE=1 时的更新事件(计数器下溢) ......................................................................................... 485 图 27-14 计数器时序图,ARPE=1 时的更新事件(计数器溢出) ......................................................................................... 485 图 27-15 ATIM 时钟源框图 ................................................................................................................................................ 486 图 27-16 内部时钟源模式,时钟分频因子为 1 ................................................................................................................ 486 图 27-17TI2 外部时钟连接例子 ......................................................................................................................................... 487 图 27-18 外部时钟模式 1 下的时序 .................................................................................................................................. 487 图 27-19 外部时钟模式 1 下的时序 .................................................................................................................................. 488 图 27-20 外部触发输入框图.............................................................................................................................................. 489 图 27-21 外部时钟模式 2 下的时序 1 ............................................................................................................................... 489 图 27-22 外部时钟模式 2 下的时序 2 ............................................................................................................................... 490 图 27-23 捕获/比较通道(通道 1 输入部分) ...................................................................................................................... 493 图 27-24 捕获/比较通道 1 的主电路 ................................................................................................................................ 493 图 27-25 捕获/比较通道的输出部分 ................................................................................................................................ 494 图 27-26PWM 输入捕获模式时序..................................................................................................................................... 495 图 27-27 输出比较模式,翻转 OC1 .................................................................................................................................. 496 图 27-28 边沿对齐的 PWM 波形(ARR=7) .......................................................................................................................... 497 图 27-29 中央对齐的 PWM 波形(APR=7) .......................................................................................................................... 498 图 27-30 单脉冲模式的例子 ............................................................................................................................................. 499 图 27-31 ETR 信号清除 GPTIM 的 OCXREF ......................................................................................................................... 500 图 27-32 编码器模式下的计数器操作实例 ....................................................................................................................... 501 图 27-33 复位模式下的时序 ............................................................................................................................................. 502 图 27-34 门控模式下的时序 ............................................................................................................................................. 503 图 27-35 触发器模式下的时序.......................................................................................................................................... 503 图 27-36 外部时钟模式 2+触发模式下的时序 ................................................................................................................ 504 图 28-1BSTIM32 结构框图................................................................................................................................................. 527 图 28-2 预分频从 1 变为 2 的波形 .................................................................................................................................... 529 图 28-3 预分频从 1 变为 4 的波形 .................................................................................................................................... 529 图 28-4 向上计数波形,内部时钟不分频 ......................................................................................................................... 530 产品说明书 FM33LC0xx 版本 2.4 24 图目录 图 28-5 向上计数波形,内部时钟 2 分频 ......................................................................................................................... 531 图 28-6ARPE=0(ARR 没有预装载)时的更新事件 .......................................................................................................... 531 图 28-7ARPE=1(ARR 预装载)时的更新事件 .................................................................................................................. 532 图 28-8 内部时钟源模式,时钟分频因子为 1 .................................................................................................................. 532 图 29-1LPTIM32 结构框图 ................................................................................................................................................. 540 图 29-2 外部 ETR 脉冲上升沿触发计数............................................................................................................................. 541 图 29-3 外部 ETR 脉冲异步计数 ........................................................................................................................................ 541 图 29-4TIMEOUT 模式 .......................................................................................................................................................... 542 图 29-5PWM 输出.............................................................................................................................................................. 543 图 29-6PWM 输出.............................................................................................................................................................. 544 图 30-1RTC 结构框图 ......................................................................................................................................................... 553 图 30-2LTBC 结构框图 ....................................................................................................................................................... 554 图 30-3RTC 时间读取流程图.............................................................................................................................................. 558 图 31-1 LCD 显示控制模块结构框图 ................................................................................................................................. 571 图 31-2LCD 驱动波形(1/4 DUTY, 1/3 BIAS, TYPE A) .................................................................................................................. 573 图 31-3 LCD 驱动波形(1/4 DUTY, 1/3 BIAS, TYPE B) .................................................................................................................. 574 图 31-4LCD 片内电阻 BUFFER 型驱动电路........................................................................................................................... 575 图 32-1 ADC 结构框图 ....................................................................................................................................................... 589 图 32-2 ADC 单端输入通道示意图..................................................................................................................................... 594 图 32-3 ADC 单端输入通道示意图..................................................................................................................................... 595 图 32-4 ADC 触发通道示意图 ............................................................................................................................................ 597 图 32-5 ADC 触发信号滤波 ................................................................................................................................................ 598 图 32-6 ADC 工作时钟 ....................................................................................................................................................... 599 图 32-7 连续模式下的自动等待 ........................................................................................................................................ 600 图 32-8 模拟看门狗 ........................................................................................................................................................... 601 图 33-1USB 外设在总线上的位置...................................................................................................................................... 612 图 33-2USB 外设内部地址分配 ......................................................................................................................................... 614 图 33-3USB 外设中断示意图 ............................................................................................................................................. 617 图 34-1 普通 GPIO 结构框图 ............................................................................................................................................. 671 图 34-2 真开漏 GPIO 结构框图.......................................................................................................................................... 672 图 34-3 普通 GPIO(两路上拉)结构框图........................................................................................................................ 673 图 34-45V-TOLERANT GPIO 结构框图 .................................................................................................................................... 674 图 34-5 引脚输入数字滤波................................................................................................................................................ 679 图 34-6 EXTI 信号输入示意图 ............................................................................................................................................ 679 图 36-1 CORTEX-M0 调试系统示意图 .................................................................................................................................. 699 产品说明书 FM33LC0xx 版本 2.4 25 2 引脚和封装 1 产品综述 1.1 概述 FM33LC0xxx系列低功耗MCU,基于ARM Cortex-M0内核,集成大容量嵌入式闪存,具备丰富的模 拟和数字外设,并具有优异的低功耗特性。FM33LC0xxx系列包含两个子系列,分别为支持无晶振 USB FS device的FM33LC0xxU系列,和不支持USB的FM33LC0xxN系列,以及FM33LC0x4NR系 列。 ⚫ 工作电压范围: 1.8V~3.6V (USB);1.8V~5.5V (no USB) ⚫ 工作温度范围:-40℃~+85℃ ⚫ 处理器内核 ⚫ ⚫ ⚫ ◼ ARM Cortex-M0 ◼ 支持用户/特权模式 ◼ 最高主频64Mhz ◼ SWD调试接口 ◼ 24bit Systick定时器 低功耗技术平台 ◼ 典型运行功耗120uA/MHz@48MHz,98uA/MHz@64MHz (Coremark) ◼ 32KHz下LPRUN功耗:typ 30uA ◼ Sleep模式:typ 6uA ◼ DeepSleep模式,RTC走时+全部RAM保持+CPU内核保持:typ 1uA ◼ DeepSleep模式,RTC停止+全部RAM保持+CPU内核保持:typ 0.8uA 存储器 ◼ 64/128/256KB Flash空间 ◼ Flash擦写寿命:100,000次 ◼ Flash数据保存时间:10年@85℃ ◼ 用户代码保护 ◼ 最大24KB RAM空间 丰富的模拟外设 ◼ 高可靠、可配置BOR电路(支持4级可编程下电复位阈值) ◼ 超低功耗PDR电路(支持4级可编程下电复位阈值) ◼ 可编程电源监测模块(SVD) ◼ 2xOPA ◼ 2x低功耗模拟比较器 产品说明书 FM33LC0xx 版本 2.4 26 2 引脚和封装 ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ◼ 12bit 1Msps SAR-ADC ◼ 高精度温度传感器,精度+/-2℃ 通用通信接口 ◼ UART*4 ◼ LPUART*2 ◼ 7816主机*1 ◼ SPI*2,主从模式 ◼ I2C*1,1Mbps Fm+,主从模式 ◼ 7通道外设DMA ◼ 可编程CRC校验模块 USB从机 ◼ USB2.0 FS device,支持无晶振 ◼ 支持以下端点:1个双向control,2个可配置IN,2个可配置OUT ◼ 512 bytes Packet RAM ◼ USB2.0 LPM支持 ◼ Suspend/Resume 定时资源 ◼ 16bit高级定时器*1,最高PWM分辨率120MHz ◼ 16bit通用定时器*2 ◼ 32bit基本定时器*1 ◼ 24-bit Systick*1 ◼ 32-bit低功耗定时器*1 ◼ 带窗口的CPU看门狗定时器*1 ◼ 系统看门狗定时器*1 ◼ 低功耗实时时钟日历(RTCC),带有数字调校功能,调校精度+/-0.476ppm LCD显示控制电路 ◼ 最大支持4COM×32SEG / 6COM×30SEG / 8COM×28SEG ◼ 1/3 bias、1/4bias ◼ 片内电阻分压 ◼ 支持休眠显示 安全算法 ◼ AES硬件运算单元,128/192/256-bit ◼ AES支持ECB/CBC/CTR/GCM/GMAC模式 ◼ 真随机数发生器 时钟发生电路 产品说明书 FM33LC0xx 版本 2.4 27 2 引脚和封装 ◼ 片上可配置高速RC振荡器,可配置频率输出8/16/24/32MHz,出厂调校误差+/-0.5%, 8/16MHz全温区变化小于+/-2% ◼ 低功耗32768Hz晶体振荡器,带有停振检测电路 ◼ 低功耗低速RC振荡器,32KHz ◼ 高频晶体振荡器,4~32MHz ◼ PLL,输入1MHz,最高输出64MHz,非分频输出128MHz 芯片结构框图 1.2 NVMIF Cortex-M0 Flash (max 256KB) SRAM (24KB) BusMatrix RTC LCD Driver I2C SPI2 UART0/1 BOR/PDR LPTIM32 ISO7816 DMAC LFDET AHB to APB Bridge 32768 Crystal 32K LPOSC PLL Clock and Reset Controller APB BUS 1 WWDT UART4/5 AES TRNG ADC OPA AFDD BSTIM32 ATIM Power Manager SVD CRC AHB BUS AHB to APB Bridge APB BUS 2 System Controller VOLTAGE REFERENCE Dividor GPIO IWDT USB (PHY+MAC) GTIM0/1 4M RCMF LDO SPI1 4~32M XTHF LPUART1 HFDET LPUART0 8~24M RCHF 图 1-1 芯片结构框图 产品说明书 FM33LC0xx 版本 2.4 28 2 引脚和封装 1.3 产品型号列表 型号 Flash 容量(Kbytes) RAM 容量(Kbytes) 封装 FM33LC046U/N FM33LC026U/N FM33LC016U/N FM33LC045U/N FM33LC025U/N FM33LC015U/N FM33LC043U/N FM33LC023U/N FM33LC013U/N FM33LC044NR FM33LC024NR FM33LC014NR 256 128 64 256 128 64 256 128 64 256 128 64 24 24 16 24 24 16 24 24 16 24 24 16 LQFP64 LQFP64 LQFP64 LQFP48 LQFP48 LQFP48 QFN32 QFN32 QFN32 LQFP44 LQFP44 LQFP44 表 1-1FM33LC0XX 型号列表 1.4 产品特性对照表 型号 CPU Max Freq. Flash RAM AES RNG ATIM GTIM Timer BSTIM32 LPTIM32 systick RTC/WWDT/IWD T SPI I2C UART LPUART USB1.1 FS GPIO LCD OPA 12bit SAR-ADC TempSensor FM33LC046U FM33LC043U FM33LC026U FM33LC023U Cortex-M0 64MHz 256KB 128KB 24KB 1 1 1 2 1 1 1 1/1/1 2 1 4 2 1 54 4*32 6*30 8*28 2 16ch 2 1 4 2 1 26 2 1 4 2 1 54 4*32 6*30 8*28 2 16ch 1 9 2 1 4 2 1 26 1 9 1 表 1-2FM33LC0xxU 特性列表 产品说明书 FM33LC0xx 版本 2.4 29 2 引脚和封装 型号 FM33LC0x6N CPU Max Freq. RAM LCD OPA 12bit SAR-ADC TempSensor FM33LC0x3N Cortex-M0 64MHz 256KB 128KB 64KB 24KB 24KB 16KB 1 1 1 2 1 1 1 Flash AES RNG ATIM GTIM Timer BSTIM32 LPTIM32 systick RTC/WWDT/IWD T SPI I2C UART LPUART USB1.1 FS GPIO FM33LC0x5N 1/1/1 2 1 4 2 56 4*32 6*30 8*28 2 16ch 2 4 2 44 4*24 6*22 8*20 2 11ch 1 2 4 2 28 2 9ch 表 1-3FM33LC0xxN 特性列表 型号 CPU Max Freq. Flash RAM AES RNG ATIM GTIM Timer BSTIM32 LPTIM32 systick RTC/WWDT/IWD T SPI I2C UART FM33LC044NR 256KB 24KB FM33LC024NR Cortex-M0 64MHz 128KB 24KB 1 1 1 2 1 1 1 FM33LC014NR 64KB 16KB 1/1/1 1 4 产品说明书 FM33LC0xx 版本 2.4 30 2 引脚和封装 型号 FM33LC044NR LPUART USB1.1 FS GPIO FM33LC024NR FM33LC014NR 2 41 4*25 6*23 8*21 2 11ch 1 LCD OPA 12bit SAR-ADC TempSensor 表 1-4 FM33LC0x4NR 特性列表 产品说明书 FM33LC0xx 版本 2.4 31 2 引脚和封装 2 引脚和封装 2.1 封装和引脚排列 FM33LC0x6U 封装图(LQFP64) XT32KO/PD9 PC12/SEG21/U7816IO/GPT0_CH4 PC11/SEG20/U7816CLK/GPT0_CH3 PC10(WKUP5)/SEG19/ADC_IN1/SPI2_MOSI PC9/SEG18/ADC_IN0/SPI2_MISO PC8/SEG17/ADC_IN9/SPI2_SCK PC7/SEG16/ADC_IN8/SPI2_SSN PC6(WKUP4)/SEG15/ADC_IN11/GPT1_ETR PC5/SEG14/UART5_TX/OPA2_OUT PC4/SEG13/UART5_RX/OPA1_OUT PC3/XTHOUT/UART1_TX/LPUART1_TX PC2/XTHIN/UART1_RX/LPUART1_RX PC1/OPA2_INP2/GPT1_CH2 PC0/OPA2_INN2/GPT1_CH1 VDD VSS 2.1.1 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 PD10/XT32KI VDD15 VSS VDD VSSA VDDA ATIM_BRK1/ADC_IN2/FOUT0/(WKUP6)PD11 ADC_IN3/UART5_RX/SEG22/PD0 ADC_IN4/UART5_TX/SEG23/PD1 ADC_IN5/SPI1_SSN/SEG24/PD2 SPI1_SCK/SEG25/PD3 COMP1_INP1/SPI1_MISO/SEG26/PD4 COMP1_INP2/SPI1_MOSI/SEG27/PD5 ATIM_BRK2/ANATST/PD6(WKUP7) SWCLK/PD7 SWIO/PD8 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 FM33LC0x6U LQFP64 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 64 DM DP PB14/OPA2_INP1/SEG12/UART1_TX/LPUART1_TX PB13/OPA2_INN1/SEG11/UART1_RX/LPUART1_RX PB12(WKUP3)/ATIM_ETR/FOUT1 PB11/SEG10/SPI1_MOSI/GPT0_CH2/OPA1_INP1 PB10/SEG9/SPI1_MISO/GPT0_CH1/OPA1_INN1 PB9/SEG8/SPI1_SCK/GPT0_ETR/ANATST PB8/SEG7/SPI1_SSN/ATIM_CH3N PB7/SEG6/ATIM_CH4 PB6/SEG5/ATIM_CH3 PB5/SEG4/ATIM_CH2 PB4/SEG3/ATIM_CH1 PB3/UART4_TX/ATIM_CH2N PB2(WKUP2)/UART4_RX/ATIM_CH1N PA12/SDA NRST ADC_IN6/LPUART0_RX/UART0_RX/PA13 ADC_IN7/LPUART0_TX/UART0_TX/PA14 ADC_IN10/SVS/(WKUP0)PA15 UART4_RX/COM0/PA0 UART4_TX/COM1/PA1 LPUART0_RX/UART0_RX/COM2/PA2 LPUART0_TX/UART0_TX/COM3/PA3 COMP2_INN1/GPT1_CH3/COM4/SEG28/PA4 COMP2_INN2/GPT1_CH4/COM5/SEG29/PA5 OPA1_INN2/COM6/SEG30/PA6 OPA1_INP2/COM7/SEG31/PA7 COMP2_INP1/LPT32_CH1/SEG0/PA8 COMP2_INP2/LPT32_CH2/SEG1/PA9 COMP1_INN1/LPT32_ETR/SEG2/(WKUP1)PA10 SCL/PA11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 图 2-1FM33LC0x6U LQFP64 封装图 【注】 1、 PA11和PA12为真开漏引脚 2、 PB12为5V tolerant引脚 产品说明书 FM33LC0xx 版本 2.4 32 2 引脚和封装 FM33LC0x6N 封装图(LQFP64) XT32KO/PD9 PC12/SEG21/U7816IO/GPT0_CH4 PC11/SEG20/U7816CLK/GPT0_CH3 PC10(WKUP5)/SEG19/ADC_IN1/SPI2_MOSI PC9/SEG18/ADC_IN0/SPI2_MISO PC8/SEG17/ADC_IN9/SPI2_SCK PC7/SEG16/ADC_IN8/SPI2_SSN PC6(WKUP4)/SEG15/ADC_IN11/GPT1_ETR PC5/SEG14/UART5_TX/OPA2_OUT PC4/SEG13/UART5_RX/OPA1_OUT PC3/XTHOUT/UART1_TX/LPUART1_TX PC2/XTHIN/UART1_RX/LPUART1_RX PC1/OPA2_INP2/GPT1_CH2 PC0/OPA2_INN2/GPT1_CH1 VDD VSS 2.1.2 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 PD10/XT32KI VDD15 VSS VDD VSSA VDDA ATIM_BRK1/ADC_IN2/FOUT0/(WKUP6)PD11 ADC_IN3/UART5_RX/SEG22/PD0 ADC_IN4/UART5_TX/SEG23/PD1 ADC_IN5/SPI1_SSN/SEG24/PD2 SPI1_SCK/SEG25/PD3 COMP1_INP1/SPI1_MISO/SEG26/PD4 COMP1_INP2/SPI1_MOSI/SEG27/PD5 ATIM_BRK2/ANATST/PD6(WKUP7) SWCLK/PD7 SWIO/PD8 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 FM33LC0x6N LQFP64 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 64 PB14/OPA2_INP1/SEG12/UART1_TX/LPUART1_TX PB13/OPA2_INN1/SEG11/UART1_RX/LPUART1_RX PB12(WKUP3)/ATIM_ETR/FOUT1 PB11/SEG10/SPI1_MOSI/GPT0_CH2/OPA1_INP1 PB10/SEG9/SPI1_MISO/GPT0_CH1/OPA1_INN1 PB9/SEG8/SPI1_SCK/GPT0_ETR/ANATST PB8/SEG7/SPI1_SSN/ATIM_CH3N PB7/SEG6/ATIM_CH4 PB6/SEG5/ATIM_CH3 PB5/SEG4/ATIM_CH2 PB4/SEG3/ATIM_CH1 PB3/UART4_TX/ATIM_CH2N PB2(WKUP2)/UART4_RX/ATIM_CH1N PB1/ADC_EXSAMP PB0/ADC_EXSYNC PA12/SDA NRST ADC_IN6/LPUART0_RX/UART0_RX/PA13 ADC_IN7/LPUART0_TX/UART0_TX/PA14 ADC_IN10/SVS/(WKUP0)PA15 UART4_RX/COM0/PA0 UART4_TX/COM1/PA1 LPUART0_RX/UART0_RX/COM2/PA2 LPUART0_TX/UART0_TX/COM3/PA3 COMP2_INN1/GPT1_CH3/COM4/SEG28/PA4 COMP2_INN2/GPT1_CH4/COM5/SEG29/PA5 OPA1_INN2/COM6/SEG30/PA6 OPA1_INP2/COM7/SEG31/PA7 COMP2_INP1/LPT32_CH1/SEG0/PA8 COMP2_INP2/LPT32_CH2/SEG1/PA9 COMP1_INN1/LPT32_ETR/SEG2/(WKUP1)PA10 SCL/PA11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 图 2-2FM33LC0x6N LQFP64 封装图 产品说明书 FM33LC0xx 版本 2.4 33 2 引脚和封装 FM33LC0x5N 封装图(LQFP48) XT32KO/PD9 PC10(WKUP5)/SEG19/ADC_IN1/SPI2_MOSI PC9/SEG18/ADC_IN0/SPI2_MISO PC8/SEG17/ADC_IN9/SPI2_SCK PC7/SEG16/ADC_IN8/SPI2_SSN PC6(WKUP4)/SEG15/ADC_IN11/GPT1_ETR PC5/SEG14/UART5_TX/OPA2_OUT PC4/SEG13/UART5_RX/OPA1_OUT PC3/XTHOUT/UART1_TX/LPUART1_TX PC2/XTHIN/UART1_RX/LPUART1_RX PC1/OPA2_INP2/GPT1_CH2 PC0/OPA2_INN2/GPT1_CH1 2.1.3 36 35 34 33 32 31 30 29 28 27 26 25 PD10/XT32KI VDD15 VSS VDD ATIM_BRK1/ADC_IN2/FOUT0/(WKUP6)PD11 ADC_IN3/UART5_RX/SEG22/PD0 ADC_IN4/UART5_TX/SEG23/PD1 ATIM_BRK2/ANATST/PD6(WKUP7) SWCLK/PD7 SWIO/PD8 NRST ADC_IN6/LPUART0_RX/UART0_RX/PA13 37 38 39 40 41 42 43 44 45 46 47 FM33LC0x5N LQFP48 24 23 22 21 20 19 18 17 16 15 14 13 48 PB14/OPA2_INP1/SEG12/UART1_TX/LPUART1_TX PB13/OPA2_INN1/SEG11/UART1_RX/LPUART1_RX PB12(WKUP3)/ATIM_ETR/FOUT1 PB11/SEG10/SPI1_MOSI/GPT0_CH2/OPA1_INP1 PB10/SEG9/SPI1_MISO/GPT0_CH1/OPA1_INN1 PB9/SEG8/SPI1_SCK/GPT0_ETR/ANATST PB8/SEG7/SPI1_SSN/ATIM_CH3N PB5/SEG4/ATIM_CH2 PB4/SEG3/ATIM_CH1 PB3/UART4_TX/ATIM_CH2N PB2(WKUP2)/UART4_RX/ATIM_CH1N PA10(WKUP1)/SEG2/LPT32_ETR/COMP1_INN1 ADC_IN7/LPUART0_TX/UART0_TX/PA14 ADC_IN10/SVS/(WKUP0)PA15 UART4_RX/COM0/PA0 UART4_TX/COM1/PA1 LPUART0_RX/UART0_RX/COM2/PA2 LPUART0_TX/UART0_TX/COM3/PA3 COMP2_INN1/GPT1_CH3/COM4/SEG28/PA4 COMP2_INN2/GPT1_CH4/COM5/SEG29/PA5 OPA1_INN2/COM6/SEG30/PA6 OPA1_INP2/COM7/SEG31/PA7 COMP2_INP1/LPT32_CH1/SEG0/PA8 COMP2_INP2/LPT32_CH2/SEG1/PA9 1 2 3 4 5 6 7 8 9 10 11 12 图 2-3FM33LC0x5N LQFP48 封装图 产品说明书 FM33LC0xx 版本 2.4 34 2 引脚和封装 FM33LC0x4NR 封装图(LQFP44) PB9/SEG8/SPI1_SCK/GPT0_ETR/ANATST PB8/SEG7/SPI1_SSN/ATIM_CH3N PB7/SEG6/ATIM_CH4 PB14/OPA2_INP1/SEG12/UART1_TX/LPUART1_TX PB13/OPA2_INN1/SEG11/UART1_RX/LPUART1_RX PB3/UART4_TX/ATIM_CH2N PB2(WKUP2)/UART4_RX/ATIM_CH1N PB1/ADC_EXSAMP PB5/SEG4/ATIM_CH2 PB4/SEG3/ATIM_CH1 PB0/ADC_EXSYNC 2.1.4 33 32 31 30 29 28 27 26 25 24 23 OPA1_INN1/GPT0_CH1/SPI1_MISO/SEG9/PB10 OPA1_OUT/UART5_RX/SEG13/PC4 OPA2_OUT/UART5_TX/SEG14/PC5 GPT1_ETR/ADC_IN11/SEG15/(WKUP4)PC6 ADC_IN8/SPI2_SSN/SEG16/PC7 ADC_IN9/SPI2_SCK/SEG17/PC8 ADC_IN0/SPI2_MISO/SEG18/PC9 ADC_IN1/SPI2_MOSI/SEG19/(WKUP5)PC10 ADC_IN3/UART5_RX/SEG22/PD0 ADC_IN4/UART5_TX/SEG23/PD1 ADC_IN5/SPI1_SSN/SEG24/PD2 34 35 36 37 38 39 40 41 42 43 44 FM33LC044NR LQFP44 22 21 20 19 18 17 16 15 14 13 12 PA10(WKUP1)/SEG2/LPT32_ETR/COMP1_INN1 PA9/SEG1/LPT32_CH2/COMP2_INP2 PA8/SEG0/LPT32_CH1/COMP2_INP1 PA7/COM7/SEG31/OPA1_INP2 PA6/COM6/SEG30/OPA1_INN2 PA5/COM5/SEG29/COMP2_INN2/GPT1_CH4 PA4/COM4/SEG28/COMP2_INN1/GPT1_CH3 PA3/COM3/UART0_TX/LPUART0_TX PA2/COM2/UART0_RX/LPUART0_RX PA1/COM1/UART4_TX PA0/COM0/UART4_RX GPT1_CH2/OPA2_INP2/PC1 SWCLK/PD7 SWIO/PD8 ADC_IN6/LPUART0_RX/UART0_RX/PA13 ADC_IN7/LPUART0_TX/UART0_TX/PA14 ADC_IN10/SVS/(WKUP0)PA15 UART1_RX/LPUART1_RX/XTHIN/PC2 UART1_TX/LPUART1_TX/XTHOUT/PC3 VDD15 VSS VDD 1 2 3 4 5 6 7 8 9 10 11 图 2-4FM33LC0x4NR LQFP44 封装图 产品说明书 FM33LC0xx 版本 2.4 35 2 引脚和封装 PC2/XTHIN/UART1_RX/LPUART1_RX PC4/SEG13/UART5_RX/OPA1_OUT PC3/XTHOUT/UART1_TX/LPUART1_TX PC5/SEG14/UART5_TX/OPA2_OUT PC8/SEG17/ADC_IN9/SPI2_SCK PC9/SEG18/ADC_IN0/SPI2_MISO PC10(WKUP5)/SEG19/ADC_IN1/SPI2_MOSI FM33LC0x3N 封装图(QFN32) XT32KO/PD9 2.1.5 24 23 22 21 20 19 18 17 PD10/XT32KI 25 16 PB14/OPA2_INP1/SEG12/UART1_TX/LPUART1_TX VDD15 26 15 PB13/OPA2_INN1/SEG11/UART1_RX/LPUART1_RX VSS 27 14 PB11/SEG10/SPI1_MOSI/GPT0_CH2/OPA1_INP1 VDD 28 13 PB10/SEG9/SPI1_MISO/GPT0_CH1/OPA1_INN1 ATIM_BRK1/ADC_IN2/FOUT0/(WKUP6)PD11 29 12 PB9/SEG8/SPI1_SCK/GPT0_ETR/ANATST ADC_IN3/UART5_RX/SEG22/PD0 30 11 PB8/SEG7/SPI1_SSN/ATIM_CH3N ADC_IN4/UART5_TX/SEG23/PD1 31 10 PB3/UART4_TX/ATIM_CH2N SWCLK/PD7 32 9 PB2(WKUP2)/UART4_RX/ATIM_CH1N 2 3 4 5 6 7 8 ADC_IN6/LPUART0_RX/UART0_RX/PA13 ADC_IN7/LPUART0_TX/UART0_TX/PA14 ADC_IN10/SVS/(WKUP0)PA15 COMP2_INP1/LPT32_CH1/SEG0/PA8 COMP2_INP2/LPT32_CH2/SEG1/PA9 COMP1_INN1/LPT32_ETR/SEG2/(WKUP1)PA10 SWIO/PD8 ●1 NRST FM33LC0x3N 图 2-5FM33LC0x3NQFN32 封装图 产品说明书 FM33LC0xx 版本 2.4 36 2 引脚和封装 PC2/XTHIN/UART1_RX/LPUART1_RX PC3/XTHOUT/UART1_TX/LPUART1_TX PC4/SEG13/UART5_RX/OPA1_OUT PC5/SEG14/UART5_TX/OPA2_OUT PC8/SEG17/ADC_IN9/SPI2_SCK PC9/SEG18/ADC_IN0/SPI2_MISO PC10(WKUP5)/SEG19/ADC_IN1/SPI2_MOSI FM33LC0x3U 封装图(QFN32) XT32KO/PD9 2.1.6 24 23 22 21 20 19 18 17 PD10/XT32KI 25 16 VDD15 26 15 DP VSS 27 14 PB11/SEG10/SPI1_MOSI/GPT0_CH2/OPA1_INP1 13 PB10/SEG9/SPI1_MISO/GPT0_CH1/OPA1_INN1 12 PB9/SEG8/SPI1_SCK/GPT0_ETR/ANATST DM VDD 28 ATIM_BRK1/ADC_IN2/FOUT0/(WKUP6)PD11 29 ADC_IN3/UART5_RX/SEG22/PD0 30 11 PB8/SEG7/SPI1_SSN/ATIM_CH3N ADC_IN4/UART5_TX/SEG23/PD1 31 10 PB3/UART4_TX/ATIM_CH2N SWCLK/PD7 32 9 PB2(WKUP2)/UART4_RX/ATIM_CH1N 2 3 4 5 6 7 8 ADC_IN6/LPUART0_RX/UART0_RX/PA13 ADC_IN7/LPUART0_TX/UART0_TX/PA14 ADC_IN10/SVS/(WKUP0)PA15 COMP2_INP1/LPT32_CH1/SEG0/PA8 SCL/PA11 SDA/PA12 SWIO/PD8 ●1 NRST FM33LC0x3U 图 2-6FM33LC0x3U QFN32 封装图 2.1.7 FM33LC0x2N 封装图(TSSOP20) ADC_IN10/SVS/(WKUP0)PA15 1 20 PA13/UART0_RX/LPUART0_RX/ADC_IN6 ATIM_CH1/PB4 NRST ATIM_CH3N/SPI1_SSN/PB8 FM33LC0x2N TSSOP20 ANATST/GPT0_ETR/SPI1_SCK/PB9 OPA1_INN1/GPT0_CH1/SPI1_MISO/PB10 OPA1_INP1/GPT0_CH2/SPI1_MOSI/PB11 ATIM_ETR/FOUT1/(WKUP3)PB12 PD8/SWIO PD7/SWCLK PD1/ADC_IN4/UART5_TX PD0/ADC_IN3/UART5_RX VDD ADC_IN11/GPT1_ETR/SEG15/(WKUP4)PC6 VSS VDD15 XT32KI/PD10 PA14/UART0_TX/LPUART0_TX/ADC_IN7 10 11 PD9/XT32KO 图 2-7FM33LC0x3NTSSOP20 封装图 产品说明书 FM33LC0xx 版本 2.4 37 2 引脚和封装 2.1.8 引脚功能定义(FM33LC0xxU) LQFP64 1 Pin Number LQFP48 QFN32 2 2 3 3 4 4 5 5 6 7 8 9 10 11 12 Pin Function Descriptions NRST 全局复位引脚 PA13 UART0_RX LPUART0_RX ADC_IN6 PA14 UART0_TX LPUART0_TX ADC_IN7 PA15 WKUP0 SVS ADC_IN10 PA0 COM0 UART4_RX PA1 COM1 UART4_TX PA2 COM2 UART0_RX LPUART0_RX PA3 COM3 UART0_TX LPUART0_TX PA4 COM4/SEG28 GPT1_CH3 COMP2_INN1 PA5 COM5/SEG29 GPT1_CH4 COMP2_INN2 PA6 COM6/SEG30 OPA1_INN2 PA7 COM7/SEG31 OPA1_INP2 GPIO UART 接收 低功耗 UART 接收 ADC 输入通道 GPIO UART 发送 低功耗 UART 发送 ADC 输入通道 GPIO 外部唤醒引脚 外部电源检测 ADC 输入通道 GPIO LCD 驱动 COM 端 UART 接收 GPIO LCD 驱动 COM 端 UART 发送 GPIO LCD 驱动 COM 端 UART 接收 低功耗 UART 接收 GPIO LCD 驱动 COM 端 UART 发送 低功耗 UART 发送 GPIO LCD 驱动 COM/SEG 端 通用定时器外部通道 比较器输入 GPIO LCD 驱动 COM/SEG 端 通用定时器外部通道 比较器输入 GPIO LCD 驱动 COM/SEG 端 OPA 输入通道 GPIO LCD 驱动 COM/SEG 端 OPA 输入通道 产品说明书 FM33LC0xx 版本 2.4 38 2 引脚和封装 LQFP64 13 Pin Number LQFP48 QFN32 6 14 15 16 7 17 8 18 9 19 10 20 21 22 23 24 11 25 12 Pin Function PA8 SEG0 LPT32_CH1 COMP2_INP1 PA9 SEG1 LPT32_CH2 COMP2_INP2 PA10 WKUP1 SEG2 LPT32_ETR COMP1_INN1 PA11 SCL PA12 SDA ADC_EXSAMP PB2 WKUP2 UART4_RX ATIM_CH1N PB3 UART4_TX ATIM_CH2N PB4 SEG3 ATIM_CH1 PB5 SEG4 ATIM_CH2 PB6 SEG5 ATIM_CH3 PB7 SEG6 ATIM_CH4 PB8 SEG7 SPI1_SSN ATIM_CH3N PB9 SEG8 ANATST SPI1_SCK GPT0_ETR Descriptions GPIO LCD 驱动 SEG 端 低功耗定时器外部通道 比较器输入 GPIO LCD 驱动 SEG 端 低功耗定时器外部通道 比较器输入 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 低功耗定时器外部触发输入 比较器输入 GPIO I2C 时钟 GPIO I2C 数据 ADC 外部采样控制 GPIO 外部唤醒引脚 UART 接收 高级定时器外部通道 GPIO UART 发送 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 SPI 片选 高级定时器外部通道 GPIO LCD 驱动 SEG 端 模拟测试通道 SPI 时钟 通用定时器外部触发输入 产品说明书 FM33LC0xx 版本 2.4 39 2 引脚和封装 LQFP64 Pin Number LQFP48 QFN32 26 13 27 14 28 29 30 31 32 33 34 15 16 35 36 37 17 38 18 39 19 Pin Function PB10 SEG9 OPA1_INN1 SPI1_MISO GPT0_CH1 PB11 SEG10 OPA1_INP1 SPI1_MOSI GPT0_CH2 PB12 WKUP3 FOUT1 ATIM_ETR PB13 SEG11 OPA2_INN1 UART1_RX LPUART1_RX PB14 SEG12 OPA2_INP1 UART1_TX LPUART1_TX DP DM VSS VDD PC0 OPA2_INN2 GPT1_CH1 PC1 OPA2_INP2 GPT1_CH2 PC2 XTHIN UART1_RX LPUART1_RX PC3 XTHOUT UART1_TX LPUART1_TX PC4 SEG13 OPA1_OUT UART5_RX Descriptions GPIO LCD 驱动 SEG 端 OPA 输入 SPI 数据线 通用定时器外部通道 GPIO LCD 驱动 SEG 端 OPA 输入 SPI 数据线 通用定时器外部通道 GPIO 外部唤醒引脚 时钟频率输出 高级定时器外部触发输入 GPIO LCD 驱动 SEG 端 OPA 输入 UART 接收 LPUART 接收 GPIO LCD 驱动 SEG 端 OPA 输入 UART 发送 LPUART 发送 USB 数据线 USB 数据线 地 电源 GPIO OPA 输入 通用定时器外部通道 GPIO OPA 输入 通用定时器外部通道 GPIO 高频晶振输入 UART 接收 低功耗 UART 接收 GPIO 高频晶振输出 UART 发送 低功耗 UART 发送 GPIO LCD 驱动 SEG 端 OPA 输出 UART 接收 产品说明书 FM33LC0xx 版本 2.4 40 2 引脚和封装 LQFP64 40 Pin Number LQFP48 QFN32 20 41 42 43 21 44 22 45 23 46 47 48 24 49 25 50 51 52 53 54 26 27 28 55 29 Pin Function PC5 SEG14 OPA2_OUT UART5_TX PC6 WKUP4 SEG15 GPT1_ETR ADC_IN11 PC7 SEG16 SPI2_SSN ADC_IN8 PC8 SEG17 SPI2_SCK ADC_IN9 PC9 SEG18 SPI2_MISO ADC_IN0 PC10 WKUP5 SEG19 SPI2_MOSI ADC_IN1 PC11 SEG20 U7816CLK GPT0_CH3 PC12 SEG21 U7816IO GPT0_CH4 PD9 XT32KO PD10 XT32KI VDD15 VSS VDD VSSA VDDA PD11 WKUP6 FOUT0 Descriptions GPIO LCD 驱动 SEG 端 OPA 输出 UART 发送 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 通用定时器外部触发输入 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 片选 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 时钟 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 数据线 ADC 输入通道 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 SPI 数据线 ADC 输入通道 GPIO LCD 驱动 SEG 端 7816 接口时钟 通用定时器外部通道 GPIO LCD 驱动 SEG 端 7816 接口数据 通用定时器外部通道 GPIO 32768Hz 晶振输出脚 GPIO 32768Hz 晶振输入脚 LDO 输出,外接 100nF 电容到地 地 电源 模拟地 模拟电源 GPIO 外部唤醒引脚 时钟频率输出 产品说明书 FM33LC0xx 版本 2.4 41 2 引脚和封装 LQFP64 Pin Number LQFP48 QFN32 56 30 57 31 58 59 60 61 62 63 32 64 1 Pin Function ATIM_BRK1 ADC_IN2 PD0 SEG22 UART5_RX ADC_IN3 PD1 SEG23 UART5_TX ADC_IN4 PD2 SEG24 SPI1_SSN ADC_IN5 PD3 SEG25 SPI1_SCK PD4 SEG26 SPI1_MISO COMP1_INP1 PD5 SEG27 SPI1_MOSI COMP1_INP2 PD6 WKUP7 ANATST ATIM_BRK2 PD7 SWCLK PD8 SWIO Descriptions 高级定时器刹车输入 ADC 输入通道 GPIO LCD 驱动 SEG 端 UART 接收 ADC 输入通道 GPIO LCD 驱动 SEG 端 UART 发送 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 片选 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 时钟 GPIO LCD 驱动 SEG 端 SPI 数据 比较器输入 GPIO LCD 驱动 SEG 端 SPI 数据 比较器输入 GPIO 外部唤醒引脚 模拟测试通道 高级定时器刹车输入 GPIO SWD 接口时钟 GPIO SWD 接口数据 表 2-1 FM33LC0xxU 引脚列表 产品说明书 FM33LC0xx 版本 2.4 42 2 引脚和封装 2.1.9 引脚功能定义(FM33LC0xxN) Pin Number LQFP64 LQFP48 QFN32 TSSOP20 1 18 47 2 2 48 3 19 3 1 4 20 4 2 5 1 5 3 6 4 7 5 8 6 9 7 10 8 11 9 12 10 Pin Function Descriptions NRST 全局复位引脚 PA13 UART0_RX LPUART0_RX ADC_IN6 PA14 UART0_TX LPUART0_TX ADC_IN7 PA15 WKUP0 SVS ADC_IN10 PA0 COM0 UART4_RX PA1 COM1 UART4_TX PA2 COM2 UART0_RX LPUART0_RX PA3 COM3 UART0_TX LPUART0_TX PA4 COM4/SEG28 GPT1_CH3 COMP2_INN1 PA5 COM5/SEG29 GPT1_CH4 COMP2_INN2 PA6 COM6/SEG30 OPA1_INN2 PA7 COM7/SEG31 OPA1_INP2 GPIO UART 接收 低功耗 UART 接收 ADC 输入通道 GPIO UART 发送 低功耗 UART 发送 ADC 输入通道 GPIO 外部唤醒引脚 外部电源检测 ADC 输入通道 GPIO LCD 驱动 COM 端 UART 接收 GPIO LCD 驱动 COM 端 UART 发送 GPIO LCD 驱动 COM 端 UART 接收 低功耗 UART 接收 GPIO LCD 驱动 COM 端 UART 发送 低功耗 UART 发送 GPIO LCD 驱动 COM/SEG 端 通用定时器外部通道 比较器输入 GPIO LCD 驱动 COM/SEG 端 通用定时器外部通道 比较器输入 GPIO LCD 驱动 COM/SEG 端 OPA 输入通道 GPIO LCD 驱动 COM/SEG 端 OPA 输入通道 产品说明书 FM33LC0xx 版本 2.4 43 2 引脚和封装 Pin Number LQFP64 LQFP48 QFN32 13 11 6 14 12 7 15 13 8 20 14 9 21 15 10 22 16 23 17 TSSOP20 PA8 SEG0 LPT32_CH1 COMP2_INP1 PA9 SEG1 LPT32_CH2 COMP2_INP2 PA10 WKUP1 SEG2 LPT32_ETR COMP1_INN1 PA11 SCL PA12 SDA PB0 ADC_EXSYNC PB1 ADC_EXSAMP PB2 WKUP2 UART4_RX ATIM_CH1N PB3 UART4_TX ATIM_CH2N PB4 SEG3 ATIM_CH1 PB5 SEG4 ATIM_CH2 PB6 SEG5 ATIM_CH3 PB7 SEG6 ATIM_CH4 PB8 SEG7 SPI1_SSN ATIM_CH3N PB9 SEG8 16 17 18 19 2 24 25 26 18 11 3 27 19 12 4 Pin Function Descriptions GPIO LCD 驱动 SEG 端 低功耗定时器外部通道 比较器输入 GPIO LCD 驱动 SEG 端 低功耗定时器外部通道 比较器输入 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 低功耗定时器外部触发输入 比较器输入 GPIO I2C 时钟 GPIO I2C 数据 GPIO ADC 外部使能 GPIO ADC 外部采样控制 GPIO 外部唤醒引脚 UART 接收 高级定时器外部通道 GPIO UART 发送 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 SPI 片选 高级定时器外部通道 GPIO LCD 驱动 SEG 端 产品说明书 FM33LC0xx 版本 2.4 44 2 引脚和封装 Pin Number LQFP64 LQFP48 QFN32 TSSOP20 28 20 13 5 29 21 14 6 30 22 31 23 15 32 24 16 ANATST SPI1_SCK GPT0_ETR PB10 SEG9 OPA1_INN1 SPI1_MISO GPT0_CH1 PB11 SEG10 OPA1_INP1 SPI1_MOSI GPT0_CH2 PB12 WKUP3 FOUT1 ATIM_ETR PB13 SEG11 OPA2_INN1 UART1_RX LPUART1_RX PB14 SEG12 OPA2_INP1 UART1_TX LPUART1_TX VSS VDD PC0 OPA2_INN2 GPT1_CH1 PC1 OPA2_INP2 GPT1_CH2 PC2 XTHIN UART1_RX LPUART1_RX PC3 XTHOUT UART1_TX LPUART1_TX PC4 SEG13 OPA1_OUT 7 33 34 35 25 36 26 37 27 17 38 28 18 39 29 19 Pin Function Descriptions 模拟测试通道 SPI 时钟 通用定时器外部触发输入 GPIO LCD 驱动 SEG 端 OPA 输入 SPI 数据线 通用定时器外部通道 GPIO LCD 驱动 SEG 端 OPA 输入 SPI 数据线 通用定时器外部通道 GPIO 外部唤醒引脚 时钟频率输出 高级定时器外部触发输入 GPIO LCD 驱动 SEG 端 OPA 输入 UART 接收 LPUART 接收 GPIO LCD 驱动 SEG 端 OPA 输入 UART 发送 LPUART 发送 地 电源 GPIO OPA 输入 通用定时器外部通道 GPIO OPA 输入 通用定时器外部通道 GPIO 高频晶振输入 UART 接收 低功耗 UART 接收 GPIO 高频晶振输出 UART 发送 低功耗 UART 发送 GPIO LCD 驱动 SEG 端 OPA 输出 产品说明书 FM33LC0xx 版本 2.4 45 2 引脚和封装 Pin Number LQFP64 LQFP48 QFN32 TSSOP20 40 30 20 41 31 42 32 43 33 21 44 34 22 45 35 23 48 36 24 11 49 37 25 10 50 51 52 53 54 38 39 40 26 27 28 9 12 13 55 41 29 8 46 47 Pin Function UART5_RX PC5 SEG14 OPA2_OUT UART5_TX PC6 WKUP4 SEG15 GPT1_ETR ADC_IN11 PC7 SEG16 SPI2_SSN ADC_IN8 PC8 SEG17 SPI2_SCK ADC_IN9 PC9 SEG18 SPI2_MISO ADC_IN0 PC10 WKUP5 SEG19 SPI2_MOSI ADC_IN1 PC11 SEG20 U7816CLK GPT0_CH3 PC12 SEG21 U7816IO GPT0_CH4 PD9 XT32KO PD10 XT32KI VDD15 VSS VDD VSSA VDDA PD11 WKUP6 Descriptions UART 接收 GPIO LCD 驱动 SEG 端 OPA 输出 UART 发送 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 通用定时器外部触发输入 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 片选 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 时钟 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 数据线 ADC 输入通道 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 SPI 数据线 ADC 输入通道 GPIO LCD 驱动 SEG 端 7816 接口时钟 通用定时器外部通道 GPIO LCD 驱动 SEG 端 7816 接口数据 通用定时器外部通道 GPIO 32768Hz 晶振输出脚 GPIO 32768Hz 晶振输入脚 LDO 输出,外接 100nF 电容到地 地 电源 模拟地 模拟电源 GPIO 外部唤醒引脚 产品说明书 FM33LC0xx 版本 2.4 46 2 引脚和封装 Pin Number LQFP64 LQFP48 QFN32 TSSOP20 56 42 30 14 57 43 31 15 58 59 60 61 62 44 16 63 45 32 64 46 1 17 Pin Function FOUT0 ATIM_BRK1 ADC_IN2 PD0 SEG22 UART5_RX ADC_IN3 PD1 SEG23 UART5_TX ADC_IN4 PD2 SEG24 SPI1_SSN ADC_IN5 PD3 SEG25 SPI1_SCK PD4 SEG26 SPI1_MISO COMP1_INP1 PD5 SEG27 SPI1_MOSI COMP1_INP2 PD6 WKUP7 ANATST ATIM_BRK2 PD7 SWCLK PD8 SWIO Descriptions 时钟频率输出 高级定时器刹车输入 ADC 输入通道 GPIO LCD 驱动 SEG 端 UART 接收 ADC 输入通道 GPIO LCD 驱动 SEG 端 UART 发送 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 片选 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 时钟 GPIO LCD 驱动 SEG 端 SPI 数据 比较器输入 GPIO LCD 驱动 SEG 端 SPI 数据 比较器输入 GPIO 外部唤醒引脚 模拟测试通道 高级定时器刹车输入 GPIO SWD 接口时钟 GPIO SWD 接口数据 表 2-2 FM33LC0xxN 引脚列表 产品说明书 FM33LC0xx 版本 2.4 47 2 引脚和封装 2.1.10 引脚功能定义(FM33LC0x4NR) Pin Number LQFP44 4 5 6 12 13 14 15 16 17 18 19 20 Pin Function PA13 UART0_RX LPUART0_RX ADC_IN6 PA14 UART0_TX LPUART0_TX ADC_IN7 PA15 WKUP0 SVS ADC_IN10 PA0 COM0 UART4_RX PA1 COM1 UART4_TX PA2 COM2 UART0_RX LPUART0_RX PA3 COM3 UART0_TX LPUART0_TX PA4 COM4/SEG28 GPT1_CH3 COMP2_INN1 PA5 COM5/SEG29 GPT1_CH4 COMP2_INN2 PA6 COM6/SEG30 OPA1_INN2 PA7 COM7/SEG31 OPA1_INP2 PA8 SEG0 LPT32_CH1 Descriptions GPIO UART 接收 低功耗 UART 接收 ADC 输入通道 GPIO UART 发送 低功耗 UART 发送 ADC 输入通道 GPIO 外部唤醒引脚 外部电源检测 ADC 输入通道 GPIO LCD 驱动 COM 端 UART 接收 GPIO LCD 驱动 COM 端 UART 发送 GPIO LCD 驱动 COM 端 UART 接收 低功耗 UART 接收 GPIO LCD 驱动 COM 端 UART 发送 低功耗 UART 发送 GPIO LCD 驱动 COM/SEG 端 通用定时器外部通道 比较器输入 GPIO LCD 驱动 COM/SEG 端 通用定时器外部通道 比较器输入 GPIO LCD 驱动 COM/SEG 端 OPA 输入通道 GPIO LCD 驱动 COM/SEG 端 OPA 输入通道 GPIO LCD 驱动 SEG 端 低功耗定时器外部通道 产品说明书 FM33LC0xx 版本 2.4 48 2 引脚和封装 Pin Number LQFP44 21 22 23 26 27 28 24 25 31 32 33 34 29 Pin Function COMP2_INP1 PA9 SEG1 LPT32_CH2 COMP2_INP2 PA10 WKUP1 SEG2 LPT32_ETR COMP1_INN1 SDA PB0 ADC_EXSYNC PB1 ADC_EXSAMP PB2 WKUP2 UART4_RX ATIM_CH1N PB3 UART4_TX ATIM_CH2N PB4 SEG3 ATIM_CH1 PB5 SEG4 ATIM_CH2 PB7 SEG6 ATIM_CH4 PB8 SEG7 SPI1_SSN ATIM_CH3N PB9 SEG8 ANATST SPI1_SCK GPT0_ETR PB10 SEG9 OPA1_INN1 SPI1_MISO GPT0_CH1 PB13 Descriptions 比较器输入 GPIO LCD 驱动 SEG 端 低功耗定时器外部通道 比较器输入 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 低功耗定时器外部触发输入 比较器输入 I2C 数据 GPIO ADC 外部使能 GPIO ADC 外部采样控制 GPIO 外部唤醒引脚 UART 接收 高级定时器外部通道 GPIO UART 发送 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 高级定时器外部通道 GPIO LCD 驱动 SEG 端 SPI 片选 高级定时器外部通道 GPIO LCD 驱动 SEG 端 模拟测试通道 SPI 时钟 通用定时器外部触发输入 GPIO LCD 驱动 SEG 端 OPA 输入 SPI 数据线 通用定时器外部通道 GPIO 产品说明书 FM33LC0xx 版本 2.4 49 2 引脚和封装 Pin Number LQFP44 30 1 7 8 35 36 37 38 39 40 41 Pin Function SEG11 OPA2_INN1 UART1_RX LPUART1_RX PB14 SEG12 OPA2_INP1 UART1_TX LPUART1_TX PC1 OPA2_INP2 GPT1_CH2 PC2 XTHIN UART1_RX LPUART1_RX PC3 XTHOUT UART1_TX LPUART1_TX PC4 SEG13 OPA1_OUT UART5_RX PC5 SEG14 OPA2_OUT UART5_TX PC6 WKUP4 SEG15 GPT1_ETR ADC_IN11 PC7 SEG16 SPI2_SSN ADC_IN8 PC8 SEG17 SPI2_SCK ADC_IN9 PC9 SEG18 SPI2_MISO ADC_IN0 PC10 Descriptions LCD 驱动 SEG 端 OPA 输入 UART 接收 LPUART 接收 GPIO LCD 驱动 SEG 端 OPA 输入 UART 发送 LPUART 发送 GPIO OPA 输入 通用定时器外部通道 GPIO 高频晶振输入 UART 接收 低功耗 UART 接收 GPIO 高频晶振输出 UART 发送 低功耗 UART 发送 GPIO LCD 驱动 SEG 端 OPA 输出 UART 接收 GPIO LCD 驱动 SEG 端 OPA 输出 UART 发送 GPIO 外部唤醒引脚 LCD 驱动 SEG 端 通用定时器外部触发输入 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 片选 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 时钟 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 数据线 ADC 输入通道 GPIO 产品说明书 FM33LC0xx 版本 2.4 50 2 引脚和封装 Pin Number LQFP44 9 10 11 42 43 44 2 3 Pin Function Descriptions 外部唤醒引脚 LCD 驱动 SEG 端 SPI 数据线 ADC 输入通道 LDO 输出,外接 100nF 电容到地 地 电源 GPIO LCD 驱动 SEG 端 UART 接收 ADC 输入通道 GPIO LCD 驱动 SEG 端 UART 发送 ADC 输入通道 GPIO LCD 驱动 SEG 端 SPI 片选 ADC 输入通道 GPIO SWD 接口时钟 GPIO SWD 接口数据 WKUP5 SEG19 SPI2_MOSI ADC_IN1 VDD15 VSS VDD PD0 SEG22 UART5_RX ADC_IN3 PD1 SEG23 UART5_TX ADC_IN4 PD2 SEG24 SPI1_SSN ADC_IN5 PD7 SWCLK PD8 SWIO 表 2-3 FM33LC0x4NR 引脚列表 产品说明书 FM33LC0xx 版本 2.4 51 2 引脚和封装 2.1.11 2.1.11.1 封装尺寸图 LQFP64 图 2-8 LQFP64 封装尺寸图 Symbol MIN NOM MAX A A1 A2 A3 b b1 c c1 – 0.05 1.35 0.59 0.18 0.17 0.13 0.12 – – 1.40 0.64 – 0.20 – 0.127 1.60 0.15 1.45 0.69 0.27 0.23 0.18 0.134 产品说明书 FM33LC0xx 版本 2.4 52 2 引脚和封装 Symbol MIN NOM MAX D D1 E E1 e L L1 L2 R1 R2 S θ θ1 θ2 θ3 11.80 9.90 11.80 9.90 12.00 10.00 12.00 10.00 0.50BSC 0.60 1.00REF 0.25BSC – – – 3.5° – 12° 12° 12.20 10.10 12.20 10.10 0.45 0.08 0.08 0.20 0° 0° 11° 11° 0.75 – 0.20 – 7° – 13° 13° NOTE: ALL DIMENSIONS REFER TO JEDEC STANDARD MO-220WMMD-4. 2.1.11.2 LQFP48 产品说明书 FM33LC0xx 版本 2.4 53 2 引脚和封装 图 2-9LQFP48 封装尺寸图 Symbol MIN NOM MAX A A1 A2 A3 b b1 c c1 D D1 E E1 e L L1 L2 R1 R2 S θ θ1 θ2 θ3 – 0.05 1.35 0.59 0.18 0.17 0.13 0.12 8.80 6.90 8.80 6.90 – – 1.40 0.64 – 0.20 – 0.127 9.00 7.00 9.00 7.00 0.50BSC 0.60 1.00REF 0.25BSC – – – 3.5° – 12° 12° 1.60 0.15 1.45 0.69 0.27 0.23 0.18 0.134 9.20 7.10 9.20 7.10 0.45 0.08 0.08 0.20 0° 0° 11° 11° 0.75 – 0.20 – 7° – 13° 13° NOTE: ALL DIMENSIONS REFER TO JEDEC STANDARD MS-026BDD. 产品说明书 FM33LC0xx 版本 2.4 54 2 引脚和封装 2.1.11.3 LQFP44 图 2-10LQFP44 封装尺寸图 产品说明书 FM33LC0xx 版本 2.4 55 2 引脚和封装 产品说明书 FM33LC0xx 版本 2.4 56 2 引脚和封装 2.1.11.4 QFN32 图 2-11QFN32 封装尺寸图 NOTE:ALL DIMENSIONS REFER TO JEDEC STANDARD MO-220WMMD-4. 产品说明书 FM33LC0xx 版本 2.4 57 2 引脚和封装 2.1.11.5 TSSOP20 图 2-12TSSOP20 封装尺寸图 产品说明书 FM33LC0xx 版本 2.4 58 2 引脚和封装 产品说明书 FM33LC0xx 版本 2.4 59 3 电参数 3 电参数 3.1 参数说明 电参数章节中所罗列的典型值是大量样本数据分布的中心值,常温下的最大值是由芯片量产测试所 保证的。高低温下的电参数通常基于特征参数提取,由大量样本数据分布的平均值加减 3sigma 得 到。 3.2 3.2.1 参数测试条件 供电方案 芯片测试时采用下图所示的电源供电方案。 产品说明书 FM33LC0xx 版本 2.4 60 3 电参数 GPIOs VDD15 CPU Memories Peripherals 3.3V VDD 100nF regulator 1uF +100nF VSS 3.3V VDDA VREF+ 1uF +100nF ADC VREF- VSSA Bandgap OPA VDD USB VSS 图 3-1FM33LC0x6U 供电方案 产品说明书 FM33LC0xx 版本 2.4 61 3 电参数 GPIOs VDD15 CPU Memories Peripherals 3.3V VDD 100nF regulator 1uF +100nF VSS 3.3V VDDA VREF+ 1uF +100nF ADC VREF- VSSA Bandgap OPA 图 3-2FM33LC0x6N 供电方案 产品说明书 FM33LC0xx 版本 2.4 62 3 电参数 3.3 极限参数 对芯片施加的电压、电流等超过极限参数表定义的最大范围时,可能导致芯片不可恢复的损坏;短 时间超过极限参数范围则可能影响芯片的可靠性和工作寿命。 Symbol VDD-VSS VPIN |△VDD| |△VSS| TA TSTG HBM CDM LU ∑IVDD ∑IVSS ∑IIO Parameter 电源电压 (包含 VDD、VDDA) 管脚电压 VDD 和 VDDA 之间的压差(1) 所有地引脚之间的压差 工作温度 存储温度 ESD HBM 模式 除 PA11, PA12, PB12 TA=25℃ 以外的引脚 测试标准符合 PA11, PA12, PB12 JEDEC JS-001 ESD CDM 模式 TA=25℃ 测试标准符合 JEDEC JS-002 IO Latchup -(0.5VDD) < VI Itrigger < (1.5VDD) TA=25℃ Vsupply 测试标准符合 JESD78E 向芯片 VDD 流入的最大电流(source) 从芯片 VSS 流出的最大电流(sink) 所有 IO sink 的最大总和电流 所有 IO source 的最大总和电流 min max unit -0.3 6.5 V VSS-0.3 -40 -55 6.5 50 50 85 150 V mV mV - +/-8000 - +/-5000 - +/-1000 V - +/-125 mA - 8.25 V - 90 70 90 70 mA mA mA mA V 表 3-1FM33LC0XX 极限参数 注: 1. 推荐使用相同的电压源对 VDD 和 VDDA 供电。 产品说明书 FM33LC0xx 版本 2.4 ℃ ℃ 63 3 电参数 3.4 3.4.1 性能参数 典型工作条件 Symbol fHCLK fPCLK VDD VDDA TJ Parameter Conditions min max AHB 时钟频率 APB 时钟频率 典型工作电压范围[1] (使用 USB 功能) BOR 使能 BOR 关闭 BOR 使能 BOR 关闭 必须满足 VDDA=VDD 必须满足 VDDA=VDD TA=-40~+85C 0 0 1.8 1.35 1.8 1.35 64 64 3.6 3.6 5.5 5.5 1.8 3.6 V 1.8 5.5 V -40 105 °C 典型工作电压范围[1] (不使用 USB 功能) 模拟电路工作电压范围 (使用 USB 功能) 模拟电路工作电压范围 (不使用 USB 功能) 结温 unit Mhz V V 表 3-2FM33LC0XX 典型工作条件 注: [1] 低温(-40C)上电时,上电复位电压阈值会升高,为了保证可靠复位,电源必须上升到 2.0V 以 上才能开始工作。一旦上电过程完成,芯片的最低工作电压由 BOR 下电阈值或 PDR 下电阈值决定。 [2] USB 限制芯片必须工作在不超过 3.6V 电源下。如果不使用 USB,则电源范围最高支持到 5.5V。 产品说明书 FM33LC0xx 版本 2.4 64 3 电参数 3.4.2 功耗参数 芯片出厂时的功耗参数在环境温度下测试,高低温电流参数来自于特征参数提取。 测量功耗参数时,MCU 被配置为如下条件: 3.4.2.1 ⚫ 所有功能引脚被配置为 GPIO 模式,并且关闭输入和输出使能,避免引脚浮空漏电 ⚫ 除了特别声明的以外,所有外设被关闭,并停止工作时钟 ⚫ 常温下的最大功耗数据代表出厂时的测试上限标准 ⚫ 常温下的典型功耗数据代表大量样本分布的中心值 ⚫ 除非特别声明,所有功耗数据在 VDD=VDDA=3.3V 的条件下测试获得 Active 模式功耗 符号 IDDRUN 参数说明 最小值 参数值 典型值 最大值 TA=25℃ - 2.5 - TA=85℃ - 2.5 - TA=25℃ - 3.6 - TA=85℃ - 3.5 - TA=25℃ - 5.7 - TA=85℃ - 5.65 - TA=25℃ - 6 - TA=85℃ - 5.95 - TA=25℃ - 0.6 - TA=85℃ - 0.6 - 测试条件 fAHB=16MHz (RCHF) PLL off Flash 0 wait fAHB=24MHz (RCHF) PLL off 运行模式下的 Flash 0 wait f =48MHz 功耗,CPU 从 AHB PLL on Flash 取 指 , Flash 1 wait Dhrystone fAHB=64MHz PLL on Flash 2 wait fAHB=4MHz (RCMF) PLL off Flash 0 wait 表 3-3ACTIVE 电流参数 注:上表参数基于特征参数提取,不包含在量产测试中 典型功耗-温度曲线(基于特征参数提取,仅供设计参考) 产品说明书 FM33LC0xx 版本 2.4 65 单位 mA mA mA mA mA 3 电参数 RCHF8M Dhrystone (mA) -60 -40 -20 5 4.5 电流 4 3.5 3 2.5 2 1.5 1 0.5 0 0 20 40 60 80 100 温度 80 100 80 100 温度 RCHF16M Dhrystone (mA) 5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 -60 -40 -20 电流 0 20 40 60 温度 RCHF24M Dhrystone (mA) 5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 -60 -40 -20 电流 0 20 40 60 产品说明书 FM33LC0xx 版本 2.4 66 3 电参数 RCMF 4M Dhrystone (mA) 2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 -60 -40 -20 电流 0 20 40 60 80 温度 100 80 100 80 100 PLL48M Dhrystone (mA) 10 9 8 7 6 5 4 3 2 1 0 -60 -40 -20 0 20 40 60 PLL64M Dhrystone (mA) 10 9 8 7 6 5 4 3 2 1 0 -60 -40 -20 0 20 40 60 产品说明书 FM33LC0xx 版本 2.4 67 3 电参数 3.4.2.2 LP Active 模式功耗 符号 IDDRUN 参数说明 测试条件 LP Active 模式 下 的 功 耗 , fAHB=4MHz (RCMF) CPU 从 Flash PLL, RCHF off 取 指 , Flash 0 wait Dhrystone TA=25℃ 最小值 参数值 典型值 最大值 - 0.5 - 单位 mA TA=85℃ - 0.5 - 表 3-4LP ACTIVE 电流参数 典型功耗-温度曲线(基于特征参数提取,仅供设计参考) LPActive@RCMF (mA) 1 电流 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 -60 3.4.2.3 -40 -20 0 20 40 60 80 温度 100 LP RUN 模式功耗 符号 IDDLPR UN 参数说明 测试条件 最小值 LP RUN 模式 TA=25℃ 下 的 功 耗 , fAHB=32768Hz (XTLF) CPU 从 Flash PLL, RCHF, RCMF off TA=85℃ 取 指 , Flash 0 wait Coremark 参数值 典型值 最大值 单位 28 uA 30 表 3-5LP RUN 电流参数 3.4.2.4 SLEEP 模式功耗 符号 参数说明 测试条件 最小值 参数值 典型值 最大值 产品说明书 FM33LC0xx 版本 2.4 68 单位 3 电参数 符号 Isleep1 参数说明 测试条件 BOR、SVD 关闭 TA=25℃ RTC 使用 XTLF 走时 Sleep 模式电 CPU、RAM、外设数据 流 TA=85℃[1] 保持 LCD 显示关闭 最小值 参数值 典型值 最大值 - 5.1 10 uA - 10 - uA 单位 表 3-6SLEEP 电流参数 [注 1]:此项指标基于特征参数提取,不包含在量产测试中 典型功耗-温度曲线(基于特征参数提取,仅供设计参考) ISLEEP (uA) 电流 14 12 10 8 6 4 2 0 -60 -40 -20 0 20 40 60 80 100 温度 3.4.2.5 DEEPSLEEP 模式功耗 符号 Idpsleep 参数说明 测试条件 BOR、SVD 关闭 TA=25℃ RTC 使用 XTLF 走时, DeepSleep 模 XTLF 偏置电流 200nA 式电流 CPU、RAM、外设数据 TA=85℃[1] 保持 LCD 显示关闭 最小值 参数值 典型值 最大值 - 1 2 uA - 5 - uA 表 3-7DEEPSLEEP 电流参数 [注 1]:此项指标基于特征参数提取,不包含在量产测试中 典型功耗-温度曲线(基于特征参数提取,仅供设计参考) 产品说明书 FM33LC0xx 版本 2.4 69 单位 3 电参数 IDEEPSLEEP (uA) 10 9 8 7 6 5 4 3 2 1 0 -60 -40 -20 电流 0 20 40 60 80 100 温度 产品说明书 FM33LC0xx 版本 2.4 70 3 电参数 3.4.3 复位和电源监控 芯片的复位和电源监控参数如下表。 符号 参数说明 测试条件 最小值 电源上升速度 tVDD Treset_del 上电复位延迟时间 ay Tpdr_filter 下电复位滤波时间 VPOR 上电复位电压 VBOR 下电复位电压 BORCFG==2’b01 VPDR 低功耗下电复位电压 IBOR IPDR BOR 功耗 PDR 功耗 PDRCFG==2’b11 SVD[3:0]=0000 SVD[3:0]=0001 SVD[3:0]=0010 SVD[3:0]=0011 SVD[3:0]=0100 SVD[3:0]=0101 SVD[3:0]=0110 SVD[3:0]=0111 VSVD 电压监测阈值电平 SVD[3:0]=1000 SVD[3:0]=1001 SVD[3:0]=1010 SVD[3:0]=1011 SVD[3:0]=1100 SVD[3:0]=1101 SVD[3:0]=1110 SVD[3:0]=1111 Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise Fall Rise 1.58 1.34 (TA=85 C) ms 4 1.8 1.61 us V V 1.52 2.0 1.65 1.72 (TA=-4 0C) 1.2 55 1.800 1.900 2.014 2.114 2.229 2.329 2.443 2.543 2.657 2.757 2.871 2.971 3.086 3.186 3.300 3.400 3.514 3.614 3.729 3.829 3.943 4.043 4.157 4.257 4.371 4.471 4.586 4.686 4.800 4.900 TBD TBD V uA nA V V V V V V V V V V V V V V V V 产品说明书 版本 2.4 us/V us/V us/V 0.5 表 3-8 复位和电源监控参数 FM33LC0xx 单位 最大值 ∞ ∞ ∞ 2 200 600 PDR BOR 电源下降速度 参数值 典型值 71 3 电参数 上电复位释放阈值-温度曲线(基于特征参数提取,仅供设计参考) POR (V) 电压 2.4 2.2 2 1.8 1.6 1.4 1.2 1 -60 -40 -20 0 20 40 60 80 100 温度 80 100 温度 BOR下电阈值 (BORCFG=01) 2 电压 1.9 1.8 1.7 1.6 1.5 1.4 1.3 1.2 -60 -40 -20 0 20 40 60 产品说明书 FM33LC0xx 版本 2.4 72 3 电参数 PDR下电阈值 (PDRCFG=11) 2 电压 1.9 1.8 1.7 1.6 1.5 1.4 1.3 1.2 -60 3.4.4 -40 -20 0 20 40 60 80 100 温度 高精度基准源 芯片内建高精度基准电压源,为 ADC 和 OPA 提供高精度、高稳定性的参考电压。 芯片出厂时,复旦微电子会在特定的电源电压和温度下,使用片内 ADC 采样基准源输出,并将转换 结果保存在芯片的 NVR 中,用户应用中可以将这个转换值作为参考基准使用。 符号 REF_CAL REF_RAW 参数说明 总线地址 ADC 对 VREF 输出的转换值 测试条件: TA=30±1℃ VDDA=3V±10mV VREF 输出的电压值 测试条件: TA=30±1℃ VDDA=3V±10mV 0x1FFF_FB08 低半字保存 ADC 对 VREF 的转换值,高 半字为低半字的反码校验 0x1FFF_FB0C 低半字保存 VREF1p2 的实际电压值,高 半字为低半字的反码校验 REF_RAW=VREF1p2 * 10000 高精度基准源主要参数: 符号 参数说明 测试条件 最小值 参数值 典型值 最大值 VREF 基准源输出电压[1] -40℃≤TA≤85℃ 1.19 1.202 1.213 V Tsetup 内部基准源建立时间 - - 1 1.4 ms 2.99 3 3.01 V 25 85 ppm /℃ VVREF_M 出厂时测量转换 VREF 的 VDDA 电压 EAS -40℃≤TA≤85℃ Tcoeff 内部基准源温度系数 VDDA=3.3V ADC 测量 VREF 时的 TS_VREF 预先使能 VREF Buffer 采样时间 TADC_BU VREF buffer 使能后输 VDDA=3.3V ADC 采样值稳定到 1LSB 出完全建立的延迟[1] F [2] 基准源工作电流 TA = 25℃ IREF PTAT_EN=0 10 us 100 1.8 版本 2.4 us uA 产品说明书 FM33LC0xx 单位 73 3 电参数 符号 参数说明 测试条件 VDDA=3.3V PTAT_EN=1 最小值 参数值 典型值 最大值 2.6 表 3-9 高精度基准源参数 注: [1] 基于特征参数提取,不包含在量产测试中 [2] 基于电路仿真 产品说明书 FM33LC0xx 版本 2.4 74 单位 3 电参数 3.4.5 低功耗模式唤醒时间 符号 TWKU1 TWKU2 参数说明 测试条件 最小值 使用 WKUP 引脚唤醒, PRIMASK=1 禁止中断;CPU Sleep/DeepSleep 唤 唤醒后执行程序翻转某个 IO 醒时间[1] 输出,测量 WKUP 信号边沿 到 IO 输出翻转之间的时间 FSYSCLK=8Mhz LPRUN 模式唤醒时间 - 参数值 典型值 最大值 5.5 - us 0 - us 单位 表 3-10 唤醒时间参数 [1] 基于特征参数提取 典型唤醒事件波形图,仅供设计参考 TOSC_START TWKU1 WKUP RCHF IOx 上图中 TOSC_START 表示唤醒事件到来后 RCHF 环振起振时间,典型值小于 3us TWKU1 为唤醒事件到来,到程序运行后翻转 IO 的时间,典型值 5.5us。 如果没有通过 PRIMASK 屏蔽中断,则唤醒事件将使 CPU 进入中断服务程序。CPU 进入中断服务 程序的过程将额外引入延迟时间。 注意:以上时间评估使用 RCHF 8Mhz 为唤醒后的工作时钟,如果唤醒后选择 16Mhz 或 24Mhz 频 率,则唤醒时间相应缩短。 产品说明书 FM33LC0xx 版本 2.4 75 3 电参数 3.4.6 外部时钟源特性 符号 参数说明 fXTLF XTLF 振荡频率 Tstart XTLF 起振时间 测试条件 最小值 外接 32768Hz 晶体 外接 32768Hz 晶体 Cload=12pF XTLFIPW==3’b000 参数值 典型值 单位 最大值 32768 Hz 1 3 s 最小值 参数值 典型值 最大值 4 2.0 200 - 24 - 2.1 - - 2.4 2.85 1.6 - - 1.85 - - 2.7 2.65 - 145 800 1350 - - 4.5 - ms - 0.8 - ms - 1.2 - ms 5 - 25 pF 表 3-11 低频晶体振荡器参数 符号 参数说明 FXTHF Rfb XTHF 振荡频率 反馈电阻 VDDrise VDDfall IDD Tstart1 Tstart2 CL 测试条件 VDD=3.3V 8MHz, XTHFCFG=000 12MHz, XTHF 最 低 工 作 电 压 XTHFCFG=000 (上电) 24MHz, XTHFCFG=111 32MHz, XTHFCFG=111 8MHz, XTHFCFG=000 12MHz, XTHF 最 低 工 作 电 压 XTHFCFG=000 (下电) 24MHz, XTHFCFG=111 32MHz, XTHFCFG=111 8MHz, XTHFCFG=000 XTHF 工作电流 24MHz, XTHFCFG=111 32MHz, XTHFCFG=111 VDD=3.3V XTHFCFG=000 XTHF 8M 起振时间 VDD=3.3V, XTHFCFG=111 VDD=3.3V, XTHF 24M 起振时间 XTHFCFG=111 负载电容 - V uA 产品说明书 版本 2.4 MHz KΩ V 表 3-12 高频晶体振荡器参数 FM33LC0xx 单位 76 3 电参数 3.4.7 内部时钟源特性 内部高频 RC 振荡器 符号 参数说明 测试条件 fRCHF[1] RCHF 振荡 VDD=1.8~5. 5V 频率 ACCRCHF[2] 全 温 区 VDD=1.8~5. RCHF 变化 5V 范围 FSEL==2’b00 FSEL==2’b01 FSEL==2’b10 FSEL==2’b11 FSEL==2’b00 T=-40~+85℃ FSEL==2’b01 T=-40~+85℃ FSEL==2’b10 T=-40~+85℃ 参数值 最小值 典型值 7.92 8 15.84 16 23.76 24 RFU 单位 最大值 8.08 16.16 MHz 24.24 -1 - 1 % -2 - 2 % -3 - 3 % 表 3-13 内部高频 RC 振荡器参数 [注1]:此项指标由量产测试保证 [注2]:此项指标基于特征参数提取 典型 RCHF 各档位频率-温度变化曲线(基于特征参数提取,仅供设计参考) RCHF 8Mhz 频率-温度曲线 4.00% 3.00% 2.00% 1.00% -60 -40 0.00% -20 0 -1.00% 温度 20 40 60 80 100 -2.00% -3.00% 产品说明书 FM33LC0xx 版本 2.4 77 3 电参数 RCHF 16Mhz 频率-温度曲线 4.00% 3.00% 2.00% 1.00% 温度 0.00% -60 -40 -20 -1.00% 0 20 40 60 80 100 -2.00% -3.00% -4.00% RCHF 24Mhz 频率-温度曲线 5.00% 4.00% 3.00% 2.00% 1.00% 温度 0.00% -60 -40 -20 0 20 40 60 80 100 -1.00% -2.00% -3.00% -4.00% 注:通过结合温度传感器,在不同温度范围内做一个简单的软件修调,通常情况下可以使 RCHF 16Mhz 实现全温区+/-1%的精度要求,以及 RCHF 24Khz 实现全温区+/-1.5%的精度要求。关于参 考例程和使用方法,请咨询复旦微电子公司。 内部中频 RC 振荡器 符号 fRCMF 参数说明 测试条件 RCMF 低功 VDD=1.8~5.5V 耗振荡频率 T=25℃ 最小值 参数值 典型值 最大值 3.6 4 4.4 产品说明书 FM33LC0xx 版本 2.4 78 单位 MHz 3 电参数 符号 参数说明 IDD_RCMF RCMF 功耗 tSTART ACCRCMF[2] 测试条件 最小值 VDD=1.8~5.5V TA=25℃ 参数值 典型值 单位 最大值 20 RCMF 启动 时间 全 温 区 VDD=1.8~5.5V RCMF 变化 TA=-40~+85℃ 范围 -3 uA - 10 us 3 % 表 3-14 内部 RC 振荡器参数 [注2]:此项指标基于特征参数提取 典型 RCMF 频率-温度变化曲线(基于特征参数提取,仅供设计参考) RCMF 4Mhz 频率-温度曲线 5.00% 4.00% 3.00% 2.00% 1.00% 温度 0.00% -60 -40 -20 -1.00% 0 20 40 60 80 100 -2.00% -3.00% -4.00% -5.00% 内部低频 RC 振荡器 符号 FLPOSC IDD_LPOSC tSTART ACCRCMF[2] 参数说明 测试条件 LPOSC 低 功耗振荡频 率 LPOSC 功 耗 LPOSC 启 动时间 全 温 区 LPOSC 变 化范围 最小值 参数值 典型值 最大值 VDD=1.8~5.5V T=25℃ 32 KHz VDD=1.8~5.5V T=25℃ 450 nA VDD=1.8~5.5V TA=-40~+85℃ -6 50 100 us - 4 % 表 3-15 内部低频 RC 振荡器参数 产品说明书 FM33LC0xx 单位 版本 2.4 79 3 电参数 典型 LPOSC 频率-温度变化曲线(基于特征参数提取,仅供设计参考) LPOSC 频率-温度曲线 10.0000% 8.0000% 6.0000% 4.0000% 2.0000% -60 -40 0.0000% -20 0 -2.0000% 20 40 60 80 100 -4.0000% -6.0000% -8.0000% -10.0000% 3.4.8 PLL 特性 符号 FPLL IDD_PLL tLOCK 参数说明 测试条件 最小值 PLL 输出频 VDD=1.8~5.5V 32 T=25℃ 率 输 入 频 率 1Mhz , 输 出 频 率 32Mhz PLL 功耗 输 入 频 率 1Mhz , 输 出 频 率 64Mhz PLL 锁定时 间 参数值 典型值 最大值 64 uA 450 65 us 产品说明书 版本 2.4 MHz 330 表 3-16PLL 参数 FM33LC0xx 单位 80 3 电参数 3.4.9 ADC 特性 3.4.9.1 性能指标 符号 VDDA VREF+ VREFTJ VAIN Cs FCLK 参数说明 工作电压范围 正参考电压 负参考电压 工作结温范围 输入电压范围 采样保持电容 ADC 工作时钟频率 FS ADC 采样频率 TSAMP TCONV 采样保持时间 转换时间 IVDDA ENOB 测试条件 单端模式 最小值 参数值 典型值 1.8 1.5 0 -40 VREF- 最大值 5.5 VDDA 0.5 125 VREF+ 12.8 16 VDDA=2.5~5.5V 1 VDDA=1.8~2.5V 0.5 384 4 版本 2.4 FADCCLK FADCCLK 2 1.8 mA 2.7 2.4 10.9 bits 9 bits 11.1 bits 10.9 bits 10.7 bits 10.5 bits 10.8 bits 10.5 bits 12.6 bits 产品说明书 FM33LC0xx V V V °C V pF MHz Msps 12 Fs=1Ms ps VDDA=3.3V Fs=250 ADC 使能时 VDDA 功 Ksps Fs=1Ms 耗 ps VDDA=5V Fs=250 Ksps ADC 动态性能 有 效 位 数 与 输 入 信 号 单端模式 FAIN=29KHz 频率的关系 VDDA=3.3V VREF+=VDDA 单端模式 FS=1Msps FAIN=199KHz TA=25℃ VDDA=5.0V FS=1Msps 有 效 位 数 与 工 作 电 压 VDDA=3.3V FS=1Msps 的关系 VDDA=2.7V VREF+=VDDA FS=1Msps FAIN=29KHz VDDA=2.5V TA=25℃ FS=1Msps VDDA=1.8V FS=0.5Msps 低电源电压下采样低 频信号输入 VDDA=1.8V VREF+=VDDA FS=1Msps FAIN=3KHz TA=25℃ 256 倍硬件过采样平均 VDDA=3.3V 单端模式 VREF+=VDDA FAIN=29KHz FS=1Msps TA=25℃ 单位 81 3 电参数 符号 SNDR 参数说明 信噪失真比 测试条件 最小值 VDDA=3.3V VREF+=VDDA FS=1Msps FAIN=29KHz TA=25℃ 256 倍硬件过采样平均 VDDA=3.3V VREF+=VDDA FS=1Msps FAIN=29KHz TA=25℃ ED EI 无杂散动态范围 差分非线性 积分非线性 EO 失调误差 EG 增益误差 256 倍硬件过采样平均 VDDA=3.3V VREF+=VDDA FS=1Msps FAIN=29KHz TA=25℃ ADC 静态性能 VDDA=3.3V VREF+=VDDA FS=1Msps TA=25℃ VDDA=1.8V VREF+=VDDA FS=0.5Msps TA=25℃ VDDA=3.3V VREF+=VDDA FS=1Msps TA=25℃ VDDA=1.8V VREF+=VDDA FS=0.5Msps TA=25℃ VDDA=3.3V VREF+=VDDA FS=1Msps TA=25℃ 最大值 dB 77 73 dB 85.3 -1 - 2 LSB -1 - 3 -2 - 2 LSB -3 - 3 -5 - 5 LSB - 4 10 LSB 表 3-17ADC 参数 ADC 静态性能指标示意图: 产品说明书 FM33LC0xx 版本 2.4 单位 66.5 VDDA=3.3V VREF+=VDDA FS=1Msps FAIN=29KHz TA=25℃ SFDR 参数值 典型值 82 3 电参数 3.4.9.2 输入通道阻抗 下图表示了 ADC 输入通道的阻抗分布。 ⚫ ADC_Inx 表示快速外部通道 0~7 ⚫ ADC_Iny 表示慢速外部通道 8~11 ⚫ RIO 表示引脚输入开关阻抗,RADC1 和 RADC2 表示 ADC 输入快速通道阻抗和慢速通道阻抗 ⚫ CS 表示 ADC 内部采样电容,典型值 12.8pF ⚫ 阻抗参数参见后续表格 SAR-ADC RIO RADC1 RIO RADC2 ADC_INx CS ADC_INy 图 3-3ADC 通道输入阻抗 3.4.9.3 采样时间 ADC 输入信号采样时间最小值由被采样的模拟信号源内阻、信号输入通道阻抗、引脚寄生电容、采 样电容共同决定。 ADC 采样外部输入信号的最小采样时间要求根据下式计算: 产品说明书 FM33LC0xx 版本 2.4 83 3 电参数  2n  Tsamp = ln    ( RAIN + RADC + RIO )  C ADC  SA  其中 n=12,SA=0.25LSB(指采样电容上的电压建立到被采样信号电平的 0.25LSB 误差以内), RAIN 表示被采样信号源内阻,RIO 表示输入 IO 阻抗,RADC 表示 ADC 输入通道阻抗,CADC 表示 ADC 采样电容。其中 RIO 为 100Ω。 RADC 受电源电压、温度和输入信号幅度影响,在输入信号为 VDDA/2 时开关阻抗最大。以下表格提 供了在不同电源、温度条件下,输入信号为 VDDA/2 时的 RADC 参数,用户可以根据这些参数以及信 号源特性,计算所需的最小采样时间。 符号 温度 VDDA 快速通道,ADC_IN0~7,输入信号电平 VDDA/2 25C 5V 85C -40C 25C RADC 3.3V 85C -40C 25C 1.8V 85C -40C 快速通道,ADC_IN8~11,输入信号电平 VDDA/2 25C 5V 85C -40C 25C RADC 3.3V 85C -40C 25C 1.8V 85C -40C 最小值 参数值 典型值 最大值 - 448 493 406 545 605 485 1210 1241 1187 573 633 515 720 802 638 1935 1931 2036 Ω - 531 587 477 673 747 597 1657 1663 1665 678 753 604 893 992 790 2708 2632 2925 Ω 单位 表 3-18ADC 输入阻抗 采样时间计算示例: 1) 假设采用快速通道采样一个信号源,信号源内阻为 1KΩ,工作电源 VDDA=3.3V,工作温度 25C, 则根据 Tsamp 公式,建议的最小采样时间为 226ns。如果 ADC 工作时钟是 16Mhz,相当于采 样时间配置应大于 4 个 ADC 时钟。 2) 假设采用慢速通道采样一个信号源,信号源内阻为 100KΩ,工作电源 VDDA=3.3V,工作温度 85C,则根据 Tsamp 公式,建议的最小采样时间为 12.56us。如果 ADC 工作时钟是 8Mhz,相 当于采样时间配置应大于 128 个 ADC 时钟。 产品说明书 FM33LC0xx 版本 2.4 84 3 电参数 3.4.10 温度传感器 芯片出厂时经过温度定标,定标条件是 VDDA=3.0V,TA=30+/-1°C。在此条件下,使用 ADC 采样 并转换温度传感器输出电压,将转换结果保存在 Flash 指定地址。 符号 参数说明 TS_CAL1 测试条件 温度传感器标定值 1 数据保存地址 0x1FFF_FA92 VDDA=3.0V ± 10mV , 高半字保存 ADC 数据 低半字为定标温度,0x1E00 表 TA=30+/-1°C 示 30°C 注:根据 TS_CAL1 的数值,可以计算温度定标时温度传感器在 30°C 下的输出电压绝对值。 符号 参数说明 测试条件 VDDA=VREF+=5V VDDA=VREF+=3V TA=-40~+85°C Slope 输出斜率[1] VDDA=1.8~5.5V TA=30°C 温 度 传 感 器 输 出 电 压 VDDA=1. VPTAT TA=85°C 8~5.5V 绝对值 TA=-40°C Linerity 全温区线性度[1] 温度传感器功耗(不含 IDDA VDDA=3.3V ADC)[2] VREF1p2 已经使能,置 温度传感器启动时间, 位 PTAT_EN 寄存器、 tSTART 包含输出 buffer 建立时 VPTATBUFFER_OUTE N、VPTATBUFFER_EN 间[2] VREF1p2 未使能 ADC 采样温度传感器 tSAMPLE 输 出 时 要 求 的 采 样 时 间[2] Reso 最小值 分辨率[1] 900 1075 675 - 参数值 典型值 最大值 2.4 3.7 LSB/°C 3.06 mV/°C 930 1105 705 +/-1 960 1135 730 +/-2 0.8 10 - °C 50 us 1.4 ms - us [1]基于特征参数提取 [2] 基于电路设计仿真 温度传感器输出曲线示意图如下。 产品说明书 版本 2.4 mV uA 表 3-19 温度传感器参数 FM33LC0xx 单位 85 3 电参数 VPTAT 1200mV Chip by chip variation TS_CAL1 700mV Temperature -45C 30C 120C 温度传感器输出电压只和芯片基底温度有关,而与芯片当前工作电源电压无关。 产品说明书 FM33LC0xx 版本 2.4 86 3 电参数 3.4.11 运算放大器特性 放大器模式(TA=25°C) 符号 参数说明 测试条件 最小值 参数值 典型值 VDDA 工作电压范围 2 - CMIR 共模输入范围 0.1 - VIoffset 输入 offset 电压 IB IOS TRIMS TEP_P TRIMS TEP_N ILOAD CLOAD CMRR PSRR GBW SR AO VOHSAT VOLSAT Phi GM tSTART PGA gain VDDA=3.3V 0.3V
FM33LC025N 价格&库存

很抱歉,暂时无法提供与“FM33LC025N”相匹配的价格&库存,您可以联系我们找货

免费人工找货