银洋电子 发表于 2012-7-10 12:00:45

stm32f10x常见应用解析

  1.系统时钟的监控和切换
时钟安全系统被激活后,时钟监控器将实时监控外部高速振荡器;如果hse时钟发生故障,外部振荡器自动被关闭,产生时钟安全中断,此中断被连接到cortex-m3的nmi的中断;与此同时css将内部rc
振荡器切换为stm32的系统时钟源。
2.实现软件的短时间延迟
在stm32的应用中,使用cortex-m3
内核的systick作为定时时钟,设定每一毫秒产生一次中断,在中断处理函数里对n减一,在delay(n)函数中循环检测n
是否为0,不为0则进行循环等待;若为0则关闭systick时钟,退出函数。延迟时间将不随系统时钟频率改变。
3.输出芯片内部时钟
stm32的pa.8引脚具有复用功能——时钟输出(mco),该功能能将stm32内部的时钟通过pa.8输出,这解决客
户的问题,同时降低了硬件成本。
4.pvd的使用
stm32内部自带一个可编程电压监测器(pvd)
,用于对vdd的电压进行监控。对应的电源控制寄存器中的pls位可用来设定监控电压的阀值,通过对外部电压进行比较来监控电源。
5.dma传输模块
如何重新启动dma传输;dma的概念;dma触发源解读;
6.stm32的内部温度传感器
7.rtc系统框图

使用rtc制作万年历;校准实时时钟rtc;软件校准rtc的原理;
8.使用timer进行周期定时
9.使用定时器产生pwm输出

定时器输出比较模式产生pwm输出;
10.使用spi外设时如何设定nss为通用io口
11.使用usart操作spi设备
12.spi单线传输方式
13.stm32nvic的优先级概念
如何配置stm32
中断的优先级;
14.stm32的总中断控制
15.i/o口常见工作模式
16.使用i/o口需要考虑的主要问题
17.stm32如何连接5v器件
18.gpio重映射
19.jtag管脚作为gpio端口
20.adc精度参数解读
21.adc注入模式的用法与常见应用场合
22.窗口型看门狗
23.调试状态下的操作模式
24.调试时经常碰到的问题
25.程序从flash启动改到从sram启动
26.uniquedeviceid介绍
27.bit-band介绍
28.stm32进入isr的cpu周期
29.stm32的三种低功耗模式
30.如何在一个定时器上同时使用输入/输出
31.timerx
32.如何使用timer连接正交编码器
St意法半导体http://www.y-ec.com
STM32F100系列http://www.y-ec.com/cpcp/class/
STM32F101系列http://www.y-ec.com/cpcp/class/?31.html
STM32F102系列http://www.y-ec.com/cpcp/class/?46.html
STM32F103系列http://www.y-ec.com/cpcp/class/?32.html
STM32F105系列http://www.y-ec.com/cpcp/class/?33.html
STM32F107系列http://www.y-ec.com/cpcp/class/?34.html
STM32F2系列http://www.y-ec.com/cpcp/class/?35.html
STM32F4系列http://www.y-ec.com/cpcp/class/?36.html

银洋电子 发表于 2012-7-16 15:30:43

RE:stm32f10x常见应用解析

St意法半导体http://www.y-ec.com
STM32F100系列http://www.y-ec.com/cpcp/class/
STM32F101系列http://www.y-ec.com/cpcp/class/?31.html
STM32F102系列http://www.y-ec.com/cpcp/class/?46.html
STM32F103系列http://www.y-ec.com/cpcp/class/?32.html
STM32F105系列http://www.y-ec.com/cpcp/class/?33.html
STM32F107系列http://www.y-ec.com/cpcp/class/?34.html
STM32F2系列http://www.y-ec.com/cpcp/class/?35.html
STM32F4系列http://www.y-ec.com/cpcp/class/?36.html

银洋电子 发表于 2012-7-18 12:13:08

RE:stm32f10x常见应用解析

St意法半导体http://www.y-ec.com
STM32F100系列http://www.y-ec.com/cpcp/class/
STM32F101系列http://www.y-ec.com/cpcp/class/?31.html
STM32F102系列http://www.y-ec.com/cpcp/class/?46.html
页: [1]
查看完整版本: stm32f10x常见应用解析