没有合适的资源?快使用搜索试试~ 我知道了~
首页I2C_Timing_Configuration_V1.0.0 说明书
I2C_Timing_Configuration_V1.0.0 说明书
需积分: 50 14 下载量 153 浏览量
更新于2023-03-16
评论
收藏 392KB PDF 举报
I2C_Timing_Configuration_V1.0.0 配套说明书,用来配置stm32F0 F3系列I2C timing,按照说明书配置,很简单
资源详情
资源评论
资源推荐
January 2013 Doc ID 024161 Rev 1 1/18
AN4235
Application note
I2C timing configuration tool
for STM32F3xxxx and STM32F0xxxx microcontrollers
Introduction
This application note presents the I2C timing configuration tool for the STM32F3xxxx and
STM32F0xxxx microcontroller families.
The STM32F0xxxx and STM32F3xxxx devices embed a high-speed Inter Circuit
Communication peripheral (I2C) supporting standard mode (100
KHz), fast mode (400 KHz)
and fast mode plus (1
MHz). The I2C implements a new clock scheme allowing the
peripheral to be used as a wake-up source from low-power mode on address match.
The purpose of this tool is to help the user configure the I2C timings, taking into
consideration the I2C bus specification.
The configuration tool is implemented in the Microsoft Excel
“I2C_Timing_Config_Tool_Vx.y.z.xls” file which can be downloaded from
www.st.com.
For Vx.y.z, please refer to the tool version, for example: V1.0.0.
Before using the clock tool, it is essential to read the STM32 microcontroller reference
manuals (RM0313 for STM32F37xxx products, RM0316 for STM32F30xxx products and
RM0091 for STM32F0xxxx products). This application note is not a substitute for the
reference manuals.
This document applies to the products listed in the following table. They will be referred to as
“STM32” throughout the document.
Table 1. Applicable products
Type Part numbers
Microcontrollers
STM32F051xx
STM32F050xx
STM32F302xx
STM32F303xx
STM32F313xx
STM32F372xx
STM32F373xx
STM32F383xx
www.st.com
Contents AN4235
2/18 Doc ID 024161 Rev 1
Contents
1 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.2 I2C timing specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.3 I2C clock scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.4 I2C timing register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Tutorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
AN4235 List of tables
Doc ID 024161 Rev 1 3/18
List of tables
Table 1. Applicable products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Table 2. Definition of terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 3. I2C timings specification (see I2C specification, rev.03, June 2007) . . . . . . . . . . . . . . . . . . 8
Table 4. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
List of figures AN4235
4/18 Doc ID 024161 Rev 1
List of figures
Figure 1. I2C bus timing (see I2C specification, rev.03, June 2007) . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 2. I2C clock scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 3. Timing register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. Data setup time generation from SCLDEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. Data hold time generation from SDADEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. High and low period generation from SCLH and SCLL . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 7. I2C timing configuration tool user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 8. Calculation is completed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. Error message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
剩余17页未读,继续阅读
Brick_XU
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0