Details Of The Continuous/One-Shot Block - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

Capture Mode Description
The continuous/one-shot block controls the start/stop and reset (zero) functions of the Mod4 counter via a
mono-shot type of action that can be triggered by the stop-value comparator and re-armed via software
control.
Once armed, the eCAP module waits for 1-4 (defined by stop-value) capture events before freezing both
the Mod4 counter and contents of CAP1-4 registers (time-stamps).
Re-arming prepares the eCAP module for another capture sequence. Also re-arming clears (to zero) the
Mod4 counter and permits loading of CAP1-4 registers again, providing the CAPLDEN bit is set.
In continuous mode, the Mod4 counter continues to run (0->1->2->3->0, the one-shot action is ignored,
and capture values continue to be written to CAP1-4 in a circular buffer sequence.
ECCTL2[STOP_WRAP]
8.4.4 32-Bit Counter and Phase Control
This counter provides the time-base for event captures, and is clocked via the system clock.
A phase register is provided to achieve synchronization with other counters, via a hardware and software
forced sync. This is useful in APWM mode when a phase offset between modules is needed.
On any of the four event loads, an option to reset the 32-bit counter is given. This is useful for time
difference capture. The 32-bit counter value is captured first, then it is reset to 0 by any of the LD1-LD4
signals.
796
C28 Enhanced Capture (eCAP) Module
Figure 8-6. Details of the Continuous/One-shot Block
0 1
2
3
2:4 MUX
2
CLK
Modulo 4
Stop
counter
RST
Mod_eq
Stop value (2b)
Copyright © 2012–2019, Texas Instruments Incorporated
One−shot
control logic
ECCTL2[RE−ARM]
ECCTL2[CONT/ONESHT]
SPRUH22I – April 2012 – Revised November 2019
www.ti.com
CEVT1
CEVT2
CEVT3
CEVT4
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents