PLECS 3.7 Online Help

TI C2000 eCAP Type 0 APWM GUI

Purpose

High fidelity model of TI's C2000 eCAP module operated in APWM mode with Graphical User Interface configuration.

Library

Processor in the Loop / Peripherals / TI C2000 / eCAP

Description

pict

This block efficiently models the behavior of a single TI Type 0 eCAP module operated in APWM mode. With the Graphical User Interface, the block can simply be configured using combo boxes in the component mask.

For a detailed description of the supported features and the usage of the block please refer to the detailed documentation Enhance Capture (eCAP) Module Type 0.

Parameters

System Clock [Hz]
The system clock of the processor defined in Hz.
Counter Sampling Frequency [Hz]
Frequency at which the counter value is updated.
ECCTL2.APWMPOL
Select output of APWM module to be active high or low.
ECEINT.CTR=CMP
Enable interrupt generation at compare event.
ECEINT.CTR=PRD
Enable generation of interrupt at period event.
ECEINT.CTROVF
Enable generation of interrupt at counter overflow event.

Probe Signals

CAPx register
Capture x register.
eCAP Counter
Counter value sampled at user specified frequency