Target Category: Delfino, F280x, Piccolo
Target Sub-Category: Capture
Description: The eCap PWM block takes the ecapture unit and configures it as a PWM.
Additional information: Texas Instruments SPRU791A document.
Capture Unit: Specifies the unit to be configured.
Change Phase Dynamically: Changes the phase dynamically.
CTRPHS (phase): The phase register is loaded into the counter register when a synchronization pulse is received from the prior unit. The phase register can be continuously updated if desired.
Note: Some F280x and MSP430 devices have different functions for the same physical pin on the chip. This is referred to as multiplexing, or muxing, for short, and is done because pins are expensive. Because multiple functions compete for a given pin, you must choose what function a pin has. For flexibility, in some cases Texas Instruments provides multiple possible pins for a given function. For instance, the CANTXB function can be on pin 8, 12, or 16. Pin 8 is shared with ePWM5A and ADCSOCA0; pin 12 is shared with TZ1 and SPISIMOB; and pin16 is shared with SPISIMOA and TZ5. If you want ePWM5A on a pin, you cannot use pin 8 for CANTXB, but rather pin 12 or 16.
Mux Pin: Selects which pin a certain function is on.
Period: Specifies the number of cycles (counter increments) of the board’s system clock to reach the end of its period. The carrier frequency of the PWM signal is determined as follows:
(System-Clock-Frequency)/(Timer-Frequency) = Carrier-Frequency
For example, 150MHz/150 = 1MHz.
Polarity: Controls the active high and active low.