参数资料
型号: STM32W108CBU62
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: SPECIALTY MICROPROCESSOR CIRCUIT, QCC48
封装: 7 X 7 MM, ROHS COMPLIANT, VFQFPN-48
文件页数: 32/208页
文件大小: 2801K
代理商: STM32W108CBU62
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页当前第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页
STM32W108CB, STM32W108HB
General-purpose timers
Doc ID 16252 Rev 6
127/208
filtered and not inverted.) The sequence of transitions of the two inputs is evaluated, and
generates count pulses as well as the direction signal. Depending on the sequence, the
counter counts up or down, and hardware modifies the TIM_DIR bit in the TIMx_CR1
register accordingly. The TIM_DIR bit is calculated at each transition on any input (TI1 or
TI2), whether the counter is counting on TI1 only, TI2 only, or both TI1 and TI2.
Encoder interface mode acts simply as an external clock with direction selection. This
means that the counter just counts continuously between 0 and the auto-reload value in the
TIMx_ARR register (0 to TIMx_ARR or TIMx_ARR down to 0 depending on the direction),
so TIMx_ARR must be configured before starting. In the same way, the capture, compare,
prescaler, and trigger output features continue to work as normal.
In this mode the counter is modified automatically following the speed and the direction of
the incremental encoder, and therefore its contents always represent the encoder's position.
The count direction corresponds to the rotation direction of the connected sensor. Table 25
summarizes the possible combinations, assuming TI1 and TI2 do not switch at the same
time.
An external incremental encoder can be connected directly to the MCU without external
interface logic. However, comparators are normally used to convert an encoder's differential
outputs to digital signals, and this greatly increases noise immunity. If a third encoder output
indicates the mechanical zero (or index) position, it may be connected to an external
interrupt input and can trigger a counter reset.
Figure 38 gives an example of counter operation, showing count signal generation and
direction control. It also shows how input jitter is compensated for when both inputs are used
for counting. This might occur if the sensor is positioned near one of the switching points.
This example assumes the following configuration:
TIM_CC1S = 01 (TIMx_CCMR1 register, IC1FP1 mapped on TI1).
TIM_CC2S = 01 (TIMx_CCMR2 register, IC2FP2 mapped on TI2).
TIM_CC1P = 0 (TIMx_CCER register, IC1FP1 non-inverted, IC1FP1 = TI1).
TIM_CC2P = 0 (TIMx_CCER register, IC2FP2 non-inverted, IC2FP2 = TI2).
TIM_SMS = 011 (TIMx_SMCR register, both inputs are active on both rising and falling
edges).
TIM_CEN = 1 (TIMx_CR1 register, counter is enabled).
Table 25.
Counting direction versus encoder signals
Active
edges
Level on opposite
signal (TI1FP1 for
TI2, TI2FP2 for
TI1)
TI1FP1 signal
TI2FP2 signal
Rising
Falling
Rising
Falling
Counting on
TI1 only
High
Down
Up
No Count
Low
Up
Down
No Count
Counting on
TI2 only
High
No Count
Up
Down
Low
No Count
Down
Up
Counting on
TI1 and TI2
High
Down
Up
Down
Low
Up
Down
Up
相关PDF资料
PDF描述
STM8L162R8T3 8-BIT, FLASH, 16 MHz, RISC MICROCONTROLLER, PQFP64
STM8L162R8T6 8-BIT, FLASH, 16 MHz, RISC MICROCONTROLLER, PQFP64
STMPE2401TBR 24 I/O, PIA-GENERAL PURPOSE, PBGA36
STMPE801MTR 8 I/O, PIA-GENERAL PURPOSE, PDSO16
STMPS2262MTR 4 I/O, PIA-GENERAL PURPOSE, PDSO8
相关代理商/技术参数
参数描述
STM32W108CBU63TR 功能描述:射频微控制器 - MCU 32BIT ARM Cortex M3 IEEE 802.15.4 64kB RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
STM32W108CBU64 制造商:STMicroelectronics 功能描述:STM32 WITH AN ON-CHIP 802.15.4 TRANSCEIVER - Bulk
STM32W108CBU64TR 功能描述:射频微控制器 - MCU 32BIT ARM Cortex M3 IEEE 802.15.4 64kB RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
STM32W108CCU73TR 功能描述:RF片上系统 - SoC Hi-prf IEEE 802.15.4 wireless SOC 256Kb RoHS:否 制造商:Texas Instruments 类型:Zigbee 处理器系列:CC253 核心:8051 最大数据速率:250 Kbps 输出功率:4.5 dBm 灵敏度:- 97 dBm 工作电源电压:2 V to 3.6 V 接收供电电流:24.3 mA 传输供电电流:33.5 mA 程序存储器大小:256 KB 工作温度范围:- 40 C to + 125 C 封装 / 箱体:QFN-40
STM32W108CCU74TR 功能描述:RF片上系统 - SoC Hi-prf IEEE 802.15.4 wireless SOC 256Kb RoHS:否 制造商:Texas Instruments 类型:Zigbee 处理器系列:CC253 核心:8051 最大数据速率:250 Kbps 输出功率:4.5 dBm 灵敏度:- 97 dBm 工作电源电压:2 V to 3.6 V 接收供电电流:24.3 mA 传输供电电流:33.5 mA 程序存储器大小:256 KB 工作温度范围:- 40 C to + 125 C 封装 / 箱体:QFN-40