Capture Sequence For Delta Mode Time-Stamp With Rising And Falling Edge Detect - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

Application of the ECAP Module
8.7.4 Example 4 - Time Difference (Delta) Operation Rising and Falling Edge Trigger
In
Figure 8-26
the eCAP operating mode is almost the same as in previous section except Capture events
are qualified as either Rising or Falling edge, this now gives both Period and Duty cycle information, i.e:
Period1 = T
+T
, Period2 = T
1
2
(off-time %) = T
/ Period1 x 100%, etc
2
Figure 8-26. Capture Sequence for Delta Mode Time-stamp With Rising and Falling Edge Detect
CEVT1
CAPx pin
FFFFFFFF
CTR[0−31]
00000000
MOD4
0
CTR
CAP1
XX
CAP2
CAP3
CAP4
During initialization, you must write to the active registers for both period and compare. This will then
automatically copy the init values into the shadow values. For subsequent compare updates, during run-
time, only the shadow registers must be used.
816
C28 Enhanced Capture (eCAP) Module
+T
, ...etc Duty Cycle1 (on-time %) = T
3
4
CEVT2
CEVT4
CEVT3
T
1
T
1
2
CTR value at CEVT1
XX
XX
XX
Polarity selection
Capture registers [1−4]
Copyright © 2012–2019, Texas Instruments Incorporated
1
CEVT2
CEVT1
T
3
2
T
4
3
0
1
t
1
t
2
t
3
SPRUH22I – April 2012 – Revised November 2019
/ Period1 x 100%, etc Duty Cycle1
CEVT4
CEVT3
CEVT5
T
T
5
T
6
T
7
2
3
0
t
4
t
5
t
6
t
7
Submit Documentation Feedback
www.ti.com
8
t

Advertisement

Table of Contents
loading

Table of Contents