数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

EM357-RTR 数据表(PDF) 140 Page - List of Unclassifed Manufacturers

部件名 EM357-RTR
功能描述  High-Performance, Integrated ZigBee/802.15.4 System-on-Chip
PDF  240 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ETC2 [List of Unclassifed Manufacturers]
网页  
标志 ETC2 - List of Unclassifed Manufacturers

EM357-RTR 数据表(HTML) 140 Page - List of Unclassifed Manufacturers

Back Button EM357-RTR Datasheet HTML 136Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 137Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 138Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 139Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 140Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 141Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 142Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 143Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 144Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 140 / 240 page
background image
EM351 / EM357
Figure 9-24 illustrates this example.
Figure 9-24. Example of One Pulse Mode
9.3.10.1
A Special Case: OCy Fast Enable
In one-pulse mode, the edge detection on the TIy input sets the TIM_CEN bit, which enables the counter. Then
the comparison between the counter and the compare value toggles the output. However, several clock cycles
are needed for this operation, and it limits the minimum delay (tDELAY min) achievable.
To output a waveform with the minimum delay, set the TIM_OCyFE bit in the TIMx_CCMR1 register. Then
OCyREF and OCy are forced in response to the stimulus, without taking the comparison into account. Its new
level is the same as if a compare match had occurred. TIM_OCyFE acts only if the channel is configured in
PWM mode 1 or 2.
9.3.11 Encoder Interface Mode
To select encoder interface mode, write TIM_SMS = 001 in the TIMx_SMCR register to count only TI2 edges,
TIM_SMS = 010 to count only TI1 edges, and TIM_SMS = 011 to count both TI1 and TI2 edges.
Select the TI1 and TI2 polarity by programming the TIM_CC1P and TIM_CC2P bits in the TIMx_CCER register. If
needed, program the input filter as well.
The two inputs TI1 and TI2 are used to interface to an incremental encoder (see Table 9-3). Assuming that it is
enabled (the TIM_CEN bit in the TIMx_CR1 register = 1), the counter is clocked by each valid transition on
TI1FP1 or TI2FP2 (TI1 and TI2 after input filter and polarity selection, TI1FP1 = TI1 if not filtered and not
inverted, TI2FP2 = TI2 if not filtered and not inverted.) The timer input logic evaluates the sequence of the
two inputs’ values, and from this generates both count pulses and 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
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 9-3 summarizes the possible combinations, assuming
TI1 and TI2 do not switch at the same time.
9-20
120-035X-000D
Preliminary



Html Pages

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  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com