<?xml version="1.0" encoding="gb2312"?><rss version="2.0"><channel><title>STM32的博客</title><link></link><description></description><language>zh-cn</language><generator>Goodspeed Rss</generator><ttl>20</ttl><pubDate>Mon, 13 Oct 2008 13:47:59 GMT</pubDate><category></category><copyright></copyright><docs></docs><item><title>STM32技术参考手册第18章(FSMC)参考译文</title><pubDate>Wed, 08 Oct 2008 15:03:47 GMT</pubDate><link>http://blog.ednchina.com/STM32/165521/message.aspx</link><description>FSMC是STM32的静态存储控制器，用于在芯片外部扩展各种存储器和其它设备。很多朋友在阅读手册中关于FSMC的内容时碰到一些困难，为了帮助大家更好地理解FSMC的使用，我已经把这部分内容翻译成中文，供大家参考，有问题也欢迎大家在此讨论。http://space.ednchina.com/uploa</description><comments></comments><guid>http://blog.ednchina.com/STM32/165521/message.aspx</guid><category></category><author>STM32</author></item><item><title>在STM32中如何配置片内外设使用的IO端口</title><pubDate>Fri, 29 Aug 2008 16:14:12 GMT</pubDate><link>http://blog.ednchina.com/STM32/153432/message.aspx</link><description>首先，一个外设经过配置输入的时钟和初始化后即被激活(开启)。如果需要使用该外设的输入输出管脚，则需要配置相应的GPIO端口；否则该外设对应的输入输出管脚可以做普通GPIO管脚使用。 STM32的输入输出管脚有下面8种可能的配置： 1. 浮空输入 2. 带上拉输入 3. 带下拉输入 4. 模拟输入 5</description><comments></comments><guid>http://blog.ednchina.com/STM32/153432/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32 GPIO端口的输入电平说明</title><pubDate>Fri, 29 Aug 2008 15:34:49 GMT</pubDate><link>http://blog.ednchina.com/STM32/153407/message.aspx</link><description>STM32的I/O管脚有两种：TTL和CMOS，所有管脚都兼容TTL和CMOS电平。也就是说，从输入识别电压上看，所有管脚(不管是TTL管脚还是CMOS管脚)都可以识别TTL或CMOS电平。下面是摘自STM32数据手册的有关数据： Symbol Parameter Conditions Min Ty</description><comments></comments><guid>http://blog.ednchina.com/STM32/153407/message.aspx</guid><category></category><author>STM32</author></item><item><title>如何使用STM32的USB非控制端点发送多个数据包</title><pubDate>Fri, 29 Aug 2008 11:06:38 GMT</pubDate><link>http://blog.ednchina.com/STM32/153304/message.aspx</link><description>以下是网友提出的问题和我对这个问题的说明。SMT32F103，根据例程Custom_HID修改，利用EP1 以EP_INTERRUPT 的方式 发送包，原来的例程每次发送2个字节，现在修改后包的长度不超过64字节时发送是正常的，但当一个包长超过64字节时就发送失败，没有数据出来（程序没有死机），该改</description><comments></comments><guid>http://blog.ednchina.com/STM32/153304/message.aspx</guid><category></category><author>STM32</author></item><item><title>【分析】STM32的代码，跑在RAM里快？还是跑在Flash里快？</title><pubDate>Thu, 28 Aug 2008 14:12:28 GMT</pubDate><link>http://blog.ednchina.com/STM32/153046/message.aspx</link><description>这肯定是很多人关心的问题，下面通过一个例子看看会有什么样的结论：测试手段如下：主循环一直在做一个变量的自加(sum1++)，当然前提保证不会溢出。用Cortex-M3内部的Systick计数，以一秒钟为限，这个sum1的数值大小，可以判断哪种方式比较快。为了严密，我们观察第一秒到第二秒之间的计数效果</description><comments></comments><guid>http://blog.ednchina.com/STM32/153046/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32中如何使用PC14和PC15</title><pubDate>Wed, 27 Aug 2008 12:03:01 GMT</pubDate><link>http://blog.ednchina.com/STM32/152492/message.aspx</link><description>在STM32的数据手册的管脚分配图中可以看到：PC14与OSC32_IN公用一个引脚，PC15与OSC32_OUT公用一个引脚，它们的使用方法如下：当LSE（低速外部时钟信号）开启时，这两个公用管脚的功能是OSC32_IN和OSC32_OUT。 当LSE（低速外部时钟信号）关闭时这两个公用管脚的功能</description><comments></comments><guid>http://blog.ednchina.com/STM32/152492/message.aspx</guid><category></category><author>STM32</author></item><item><title>如何使用STM32的USB库支持控制端点0</title><pubDate>Mon, 25 Aug 2008 15:07:49 GMT</pubDate><link>http://blog.ednchina.com/STM32/149689/message.aspx</link><description>首先我们先回顾一下控制端点的传输方式： 控制端点的传输有三个阶段，SETUP阶段、数据阶段和状态阶段；数据阶段又分为数据入(DATA IN)和数据出(DATA OUT)，控制端点传输可以没有数据阶段；状态阶段有状态入(STATUS IN)和状态出(STATUS OUT)。 总结起来，控制端点有如下三</description><comments></comments><guid>http://blog.ednchina.com/STM32/149689/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32(Cortex-M3)中的优先级概念</title><pubDate>Wed, 06 Aug 2008 11:35:17 GMT</pubDate><link>http://blog.ednchina.com/STM32/143803/message.aspx</link><description>STM32(Cortex-M3)中有两个优先级的概念——抢占式优先级和响应优先级，有人把响应优先级称作&amp;apos;亚优先级&amp;apos;或&amp;apos;副优先级&amp;apos;，每个中断源都需要被指定这两种优先级。 具有高抢占式优先级的中断可以在具有低抢占式优先级的中断处理过程中被响应，即中断嵌套，或者说高抢占式优先级的中断可以嵌套低抢占式优先级</description><comments></comments><guid>http://blog.ednchina.com/STM32/143803/message.aspx</guid><category></category><author>STM32</author></item><item><title>什么是IAP？如何实现IAP？</title><pubDate>Wed, 30 Jul 2008 10:30:22 GMT</pubDate><link>http://blog.ednchina.com/STM32/141390/message.aspx</link><description>IAP是In Application Programming的首字母缩写，IAP是用户自己的程序在运行过程中对User Flash的部分区域进行烧写，目的是为了在产品发布后可以方便地通过预留的通信口对产品中的固件程序进行更新升级。通常在用户需要实现IAP功能时，即用户程序运行中作自身的更新操作，需要</description><comments></comments><guid>http://blog.ednchina.com/STM32/141390/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32中用到的Cortex-M3寄存器说明</title><pubDate>Mon, 28 Jul 2008 12:23:34 GMT</pubDate><link>http://blog.ednchina.com/STM32/140214/message.aspx</link><description>在STM32中用到了Cortex-M3定义的三组寄存器，有关这三组寄存器的说明不在STM32的技术手册中，需要参考ARM公司发布的Cortex-M3 Technical Reference Manual (r2p0)。在STM32的固件库中定义了三个结构体与这三个寄存器组相对应，这三个结构体与ARM</description><comments></comments><guid>http://blog.ednchina.com/STM32/140214/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32质量报告和可靠性报告</title><pubDate>Wed, 16 Jul 2008 21:33:31 GMT</pubDate><link>http://blog.ednchina.com/STM32/135109/message.aspx</link><description>在ST网站可以下载这些报告：http://www.st.com/mcu/familiesdocs-110.html#Quality%20-%20Product%20Documentation 在STM32数据手册中有有关电磁兼容性和ESD的参数。</description><comments></comments><guid>http://blog.ednchina.com/STM32/135109/message.aspx</guid><category></category><author>STM32</author></item><item><title>关于使用STM32的USART模块实现Modbus协议的讨论</title><pubDate>Wed, 16 Jul 2008 21:28:12 GMT</pubDate><link>http://blog.ednchina.com/STM32/135108/message.aspx</link><description> 香水城 发表于 2008-6-12 10:49 ST MCU ←返回版面  楼主： 请教Modbus高手makesoft：实现Modbus协议一定需要超时检测吗？ 首先声明，我对Modbus不熟悉，尤其是如何实现它，最近才从网上下载了协议研究了一下，特此向高手请教。搞清楚这些问题，才能有效地在芯片</description><comments></comments><guid>http://blog.ednchina.com/STM32/135108/message.aspx</guid><category></category><author>STM32</author></item><item><title>使用STM32的单个普通定时器产生4路不同频率的方波</title><pubDate>Wed, 16 Jul 2008 21:23:46 GMT</pubDate><link>http://blog.ednchina.com/STM32/135107/message.aspx</link><description>STM32的普通定时器有四路输出：TIMx_CH1、TIMx_CH2、TIMx_CH3和TIMx_CH4，可以使用输出比较的方法产生不同频率的方波输出，简单的方法是： 1）设置计数器为向上计数模式，将自动重装载寄存器设置为0xFFFF；这样计数器会循环计数。 2）每个定时器通道设置为输出比较模式，并</description><comments></comments><guid>http://blog.ednchina.com/STM32/135107/message.aspx</guid><category></category><author>STM32</author></item><item><title>关于IO用作复用功能时的时钟设置注意要点</title><pubDate>Wed, 16 Jul 2008 21:20:46 GMT</pubDate><link>http://blog.ednchina.com/STM32/135106/message.aspx</link><description>近来碰到很多客户在使用STM32的外设时，由于IO口被用作复用功能，但是外设的初始化正确，GPIO口初始化正确，外设的时钟也已开启，但是外设无法正常运行。其中最关键的一项，大多数使用者多没有设置，就是某个IO口被用作外设的接口时，需要开启IO口的复用功能的时钟，即进行外设、IO的时钟使能时，需要如下</description><comments></comments><guid>http://blog.ednchina.com/STM32/135106/message.aspx</guid><category></category><author>STM32</author></item><item><title>如何使用STM32的PVD对电源的电压进行监控</title><pubDate>Wed, 16 Jul 2008 21:14:21 GMT</pubDate><link>http://blog.ednchina.com/STM32/135105/message.aspx</link><description>用户在使用STM32时，可以利用其内部的PVD对VDD的电压进行监控，通过电源控制寄存器(PWR_CR)中的PLS[2:0]位来设定监控的电压值。PLS[2:0]位用于选择PVD监控电源的电压阀值： 000：2.2V 001：2.3V 010：2.4V 011：2.5V 100：2.6V 101：2</description><comments></comments><guid>http://blog.ednchina.com/STM32/135105/message.aspx</guid><category></category><author>STM32</author></item><item><title>如何使用STM32的窗口看门狗</title><pubDate>Wed, 16 Jul 2008 21:09:31 GMT</pubDate><link>http://blog.ednchina.com/STM32/135104/message.aspx</link><description>STM32F的窗口看门狗中有一个7位的递减计数器，它会在出现下述2种情况之一时产生看门狗复位： 1）当计数器的数值从0x40减到0x3F时 2）当刷新看门狗时计数器的数值大于某一设定数值时，此设定数值在WWDG_CFR寄存器定义 对于一般的看门狗，程序可以在它产生复位前的任意时刻刷新看门狗，但这有一</description><comments></comments><guid>http://blog.ednchina.com/STM32/135104/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32的UART支持格式解读</title><pubDate>Sat, 21 Jun 2008 12:47:32 GMT</pubDate><link>http://blog.ednchina.com/STM32/126813/message.aspx</link><description>STM32的UART是8或9位，支持以下格式：  数据位数  奇偶检验 停止位7奇或偶0.5、1、1.5、28无检验0.5、1、1.5、28奇或偶19无检验1 UART4、UART5不支持0.5和1.5位的停止位。</description><comments></comments><guid>http://blog.ednchina.com/STM32/126813/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32的ADC精度说明</title><pubDate>Sat, 21 Jun 2008 12:08:17 GMT</pubDate><link>http://blog.ednchina.com/STM32/126804/message.aspx</link><description>以下所有的说明来源于《STM32F103xx数据手册》(2008年5月 第7版)。这里没有新的信息，只是把数据手册中的相应部分翻译了一下。在阅读这个数据手册中各个参数时，首先必须搞清楚这些参数是如何得到的。根据手册中5.1.1节和5.1.2节的说明，有些参数是在一定条件下在生产线上测试得到，有些则是</description><comments></comments><guid>http://blog.ednchina.com/STM32/126804/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32F103——充满想象力的芯片</title><pubDate>Fri, 06 Jun 2008 22:29:44 GMT</pubDate><link>http://blog.ednchina.com/STM32/123392/message.aspx</link><description>本文链接：http://user.qzone.qq.com/53023365/blog/1206706967STM32F103——充满想象力的芯片 1、ARM最新的Cortex-M3内核。优先级抢占的中断控制器，支持中断自动嵌套，硬件完成现场保护与恢复，中断嵌套时，只需保护和恢复一次现场，即使在恢复</description><comments></comments><guid>http://blog.ednchina.com/STM32/123392/message.aspx</guid><category></category><author>STM32</author></item><item><title>STM32温度传感器的使用和计算</title><pubDate>Tue, 13 May 2008 18:53:48 GMT</pubDate><link>http://blog.ednchina.com/STM32/115176/message.aspx</link><description>STM32内置一个温度传感器，通过ADC_IN16这个通道可以读出温度传感器的电压。在STM32的技术参考手册中给出了一个计算公式：Temperature (in ℃) = {(V25 - VSENSE) / Avg_Slope} + 25公式中的Vsense就是在ADC_IN16读到的数值。Avg</description><comments></comments><guid>http://blog.ednchina.com/STM32/115176/message.aspx</guid><category></category><author>STM32</author></item></channel></rss>