SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755R10
This channel action continuously captures the period and pulse width of the channel's input signal relative to the signal edge given by CnCFG.EDGE. The channel requests to set the enabled events when CnCC.VALUE contains the signal period and PCnCC.VALUE contains the signal pulse width. The channel function synchronizes the timer counter to the selected signal edge of the incoming signal. Thus:
Example: Two channels in Timer Period and Pulse Width Capture
The timer measures the signal period and pulse width of two different signals A (from IO Controller or Event Fabric) and B (from IO Controller or Event Fabric). See Chapter 22 and Section 4.4 for more information on configuring the I/O Controller and Event Fabric.
In this example, both signals have periods less than the counter range. Hence, time-out detection as described in the register documentation is not required. Configure as follows:
Figure 12-5 shows how the timer counter first synchronizes to signal A. Channel 0 then captures the high phase of signal A into PC0CC at time t0.The period of signal A is captured in C0CC at time t1. At the same time, Channel 0 sets the event output 0 high, and the timer counter starts to synchronize to signal B. Channel 1 then captures the low phase of signal B into PC1CC at time t2. Finally, the period of signal B is captured in C1CC at time t3. At the same time, channel 1 sets the event output 1 high, and the timer counter starts to synchronize to signal A. The sequence then repeats itself until stopped by the user.