博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
STM32F4 Timer simplified block diagram
阅读量:6156 次
发布时间:2019-06-21

本文共 1875 字,大约阅读时间需要 6 分钟。

 

Timers TIM1 and TIM8 use 16-bit counters and are the most complex timers of all timers included in the microcontroller.

Timers TIM2 and TIM5 are 32-bit versions of TIM1/TIM8, but have less hardware included and therefore less options.

Timers TIM3 and TIM4 are 16-bit versions of TIM2/TIM5.

Timers TIM9, TIM10 and on are stripped-down versions of timer TIM4, and so on.

 

A simplified block diagram for timer TIM2 is given in Fig. 9.2 (reference manual RM0090, Figure 134, page 577).

The content of the counter CNT (yellow) is available in register TIM2_CNT.

 

The counter advances on transitions of the clock signal CK_PSC.

This clock signal comes through a set of modules (light blue boxes and light green multiplexors) at the top of Fig. 9.2.

Several signals are offered to become the source of the clock signal, and multiplexors select one of them as the ‘CK_PSC’.

The user can configure multiplexors to pass signals connected to pins marked TIMx_CH1 to TIMx_CH4 or TIMx_ETR.

Alternatively, multiplexors can be configured to pass internally generated signals ITR0 to ITR3

or even internal clock signal CK_INT as a clock CK_PSC.

The counter can also be fed by some internally derived signals like TI1FP1, TI2FP2, and then some.

Details are given in reference manual RM0090, chapter 18.

Due to the availability of pins at the STM32F4-Discovery board and the limitations imposed by the BaseBoard

we will use pin 15, port A, and designate it as a source of signal TIM2_ETR,

which will in turn be routed through multiplexors to become the clock signal CK_PSC.

This pin is available at the connector K406 at the edge of the BaseBoard.

The timer block houses additional sub-blocks, which will not be used in this experiment on counting.

These blocks include prescaler modules, capture and compare modules, output modules and reload logic;

this will be used in subsequent experiments.

 

转载地址:http://zpifa.baihongyu.com/

你可能感兴趣的文章
PowerDesigner中CDM和PDM如何定义外键关系
查看>>
跨域-学习笔记
查看>>
the assignment of reading paper
查看>>
android apk 逆向中常用工具一览
查看>>
MyEclipse 报错 Errors running builder 'JavaScript Validator' on project......
查看>>
Skip List——跳表,一个高效的索引技术
查看>>
Yii2单元测试初探
查看>>
五、字典
查看>>
前端js之JavaScript
查看>>
Log4J日志配置详解
查看>>
实验7 BindService模拟通信
查看>>
scanf
查看>>
Socket编程注意接收缓冲区大小
查看>>
SpringMVC初写(五)拦截器
查看>>
检测oracle数据库坏块的方法
查看>>
SQL server 安装教程
查看>>
Linux下ftp和ssh详解
查看>>
跨站脚本功攻击,xss,一个简单的例子让你知道什么是xss攻击
查看>>
js时间和时间戳之间如何转换(汇总)
查看>>
js插件---图片懒加载echo.js结合 Amaze UI ScrollSpy 使用
查看>>