Capture Sequence For Absolute 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.2 Example 2 - Absolute Time-Stamp Operation Rising and Falling Edge Trigger
In
Figure 8-24
the eCAP operating mode is almost the same as in the 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
3
Cycle1 (off-time %) = (t
Figure 8-24. Capture Sequence for Absolute Time-stamp With Rising and Falling Edge Detect
CEVT1
CAPx pin
FFFFFFFF
CTR[0−31]
t
1
00000000
MOD4
0
CTR
CAP1
XX
CAP2
XX
CAP3
CAP4
Polarity selection
812
C28 Enhanced Capture (eCAP) Module
, Period2 = t
– t
, ...etc. Duty Cycle1 (on-time %) = (t
1
5
3
– t
) / Period1 x 100%, etc.
3
2
CEVT2
CEVT3
t
3
t
2
1
2
t
1
XX
XX
Capture registers [1−4]
Copyright © 2012–2019, Texas Instruments Incorporated
CEVT4
CEVT2
CEVT1
t
6
t
5
t
4
3
0
1
t
2
t
3
t
4
SPRUH22I – April 2012 – Revised November 2019
www.ti.com
– t
) / Period1 x 100%, etc. Duty
2
1
CEVT4
CEVT3
CEVT1
t
9
t
8
t
7
2
3
0
t
5
t
6
t
7
t
8
Submit Documentation Feedback
t
t

Advertisement

Table of Contents
loading

Table of Contents