微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > CC2541定时器3,4 128分频 基频是32Mhz吗?

CC2541定时器3,4 128分频 基频是32Mhz吗?

时间:10-02 整理:3721RD 点击:

CC2541定时器3,4  128分频 基频是32Mhz吗?

估计是的吧?用来实现啥功能?

定时器3/4分频取决于寄存器(2-128分频)

T3CTL和T4CTL寄存器

as follows: 000: Tick frequency / 1 001: Tick frequency / 2 010: Tick frequency / 4 011: Tick frequency / 8 100: Tick frequency 1 6 101: Tick frequency / 32 110: Tick frequency / 64 111: Tick frequency / 128

基频也是可以设置的,取决于寄存器CLKCONCMD.TICKSPD[2:0]

Timer ticks output setting. Cannot be higher than system clock setting given by OSC bit setting. 000: 32 MHz 001: 16 MHz 010: 8 MHz 011: 4 MHz 100: 2 MHz 101: 1 MHz 110: 500 kHz 111: 250 kHz Note that CLKCONCMD.TICKSPD can be set to any value, but the effect is limited by the CLKCONCMD.OSC setting; that is, if CLKCONCMD.OSC = 1 and CLKCONCMD.TICKSPD = 000, CLKCONSTA.TICKSPD reads 001, and the real TICKSPD is 16 MHz

可以在datasheet查找到寄存器内容,link:

http://www.ti.com/lit/ug/swru191f/swru191f.pdf

谢谢

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top